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.2a0.tar.gz
(104.7 kB
view hashes)
Built Distribution
defectio-0.2.2a0-py3-none-any.whl
(126.0 kB
view hashes)
Close
Hashes for defectio-0.2.2a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d8534d0ea611b11b02fe7628c1000cec25daa7dbfa750000be817526ca3ef8 |
|
MD5 | 5376490a87d0d31d089bff5b7b09906c |
|
BLAKE2b-256 | 6b2d676924f7cbd15a4a7de27c42916e1145b3ac6a5ecca1a91c5cfe5d69170d |