Skip to main content

Wrapper for Revolt API

Project description

Defectio

revolt-api Documentation Status All Contributors

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


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)

Uploaded Source

Built Distribution

defectio-0.2.3a0-py3-none-any.whl (127.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page