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. It is currently in active development so not all features are yet implemented. 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("")
Contribute
Join our server here
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.1.8a0.tar.gz
(102.1 kB
view hashes)
Built Distribution
defectio-0.1.8a0-py3-none-any.whl
(118.9 kB
view hashes)
Close
Hashes for defectio-0.1.8a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7180f7d361bf5a77a0bfcfaa3421dd0089f909526036c214fd81276485fb92b8 |
|
MD5 | d3b6644288a109fe34bb8ee831b5f269 |
|
BLAKE2b-256 | 797b53c9ccae4536f76f57eccdf71fbaa68cecbbf255f09adaf79728d6c572b9 |