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 details)
Built Distribution
defectio-0.2.3a0-py3-none-any.whl
(127.9 kB
view details)
File details
Details for the file defectio-0.2.3a0.tar.gz
.
File metadata
- Download URL: defectio-0.2.3a0.tar.gz
- Upload date:
- Size: 106.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 729bd4a38c62e3a623af44487516a0ed351c870ad6e59677e4082ee223556a00 |
|
MD5 | 9d310f67c028e89eea4686acb3cc7da2 |
|
BLAKE2b-256 | 3d043b0191130cc7e2d7099ff70a420758b67166c35df12a0e46240b4aa1e4b2 |
File details
Details for the file defectio-0.2.3a0-py3-none-any.whl
.
File metadata
- Download URL: defectio-0.2.3a0-py3-none-any.whl
- Upload date:
- Size: 127.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44dd2c9bbf17f71936fd5a586a54842c8d751356711fcb434b9939ca69c7379 |
|
MD5 | 7930b033bbe85dfd4521093a50d42ad2 |
|
BLAKE2b-256 | 37b509b11cd040f97948d6ac27bd5637dce1c23e14838152b46fadaea3c547e1 |