defectio is a direct implementation of the entire Revolt API and provides a way to authenticate and start communicating with Revolt servers. Similar interface to discord.py
import defectio
client = defectio.Client()
@client.event
async def on_ready():
print("We have logged in.")
@client.event
async def on_message(message: defectio.Message):
if message.author == client.user:
return
if message.content.startswith("$hello"):
await message.channel.send("Hello!")
client.run("your token here")
Join our server here
Licensed under an MIT license
Based on discord.py by Rapptz here
Thanks goes to these wonderful people (emoji key):
Joshua Nixon ๐ป |
Adam ๐ป |
jotte ๐ป |
Paul Makles ๐ |
Cearaj ๐ป |
jafreli ๐ป |
Dark42ed ๐ |
FabrizioCoder ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!