Darkflame72 / defectio

Python wrapper for Revolt https://revolt.chat

Home Page:https://defectio.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

πŸ“–

FabrizioCoder

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Python wrapper for Revolt https://revolt.chat

https://defectio.readthedocs.io

License:MIT License


Languages

Language:Python 100.0%