Wrapper for Revolt API
Project description
Defectio
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
Example Usage
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")
Contribute
Join our server here
License
Licensed under an MIT license
Based on discord.py by Rapptz here
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Joshua Nixon 💻 |
Adam 💻 |
jotte 💻 |
Paul Makles 🐛 |
Cearaj 💻 |
jafreli 💻 |
Dark42ed 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
defectio-0.2.3a0.tar.gz
(106.0 kB
view hashes)
Built Distribution
defectio-0.2.3a0-py3-none-any.whl
(127.9 kB
view hashes)
Close
Hashes for defectio-0.2.3a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44dd2c9bbf17f71936fd5a586a54842c8d751356711fcb434b9939ca69c7379 |
|
MD5 | 7930b033bbe85dfd4521093a50d42ad2 |
|
BLAKE2b-256 | 37b509b11cd040f97948d6ac27bd5637dce1c23e14838152b46fadaea3c547e1 |