This project is work in progress not for production use. NeoCord
An asynchronous API wrapper around Discord API written in Python.
Features
- Modern API interface using async/await syntax.
- Consistent, Object Oriented Design — No dirty payloads.
- Fully optimized and performant.
- Properly typehinted interface
Usage
This is currently a concept.
import neocord
client = neocord.Client()
@client.on('ready')
async def on_ready():
print(f'{client.user} is ready.')
@client.on('message')
async def on_message(message):
if message.author.bot:
return
if message.content == '!ping':
await message.channel.send('PONG!')
client.run('bot-token')