Python wrapper for Revolt https://revolt.chat
This repository has been archived on 2023-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Leon Bowie 88f29e3a96
Merge pull request #182 from Darkflame72/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2.4.0 to 3
2022-03-02 11:25:40 +13:00
.github Bump actions/checkout from 2.4.0 to 3 2022-03-01 18:18:57 +00:00
defectio Fix mention user by ID 2022-02-28 22:42:56 -06:00
docs Bump furo from 2022.2.14.1 to 2022.2.23 in /docs 2022-02-24 19:50:18 +00:00
examples fix self-bot docs 2021-10-02 09:52:54 +13:00
tests release version 0.2.3a 2022-02-15 23:01:03 +13:00
.all-contributorsrc docs: update .all-contributorsrc [skip ci] 2022-03-01 08:27:53 +00:00
.darglint Initial commit 2021-08-29 10:49:10 +12:00
.editorconfig add editor config 2021-09-09 23:49:13 +12:00
.flake8 pre-commit cleanup 2021-08-30 23:40:45 +12:00
.gitignore Removed print debug statements + added .idea (pycharm) to .gitignore 2021-09-10 20:19:54 +01:00
.pre-commit-config.yaml Initial commit 2021-08-29 10:49:10 +12:00
.readthedocs.yml use testing build image to fix readthedocs 2021-09-06 14:57:52 +12:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2021-10-02 01:57:02 +13:00
CONTRIBUTING.md Create CONTRIBUTING.md 2021-10-02 01:53:58 +13:00
LICENSE Create LICENSE 2021-08-29 11:04:04 +12:00
README.md docs: update README.md [skip ci] 2022-03-01 08:27:52 +00:00
codecov.yml Initial commit 2021-08-29 10:49:10 +12:00
mypy.ini Initial commit 2021-08-29 10:49:10 +12:00
noxfile.py update docs file 2021-09-04 14:40:49 +12:00
poetry.lock Bump flake8-black from 0.2.4 to 0.3.2 2022-02-25 18:20:48 +00:00
pyproject.toml Bump flake8-black from 0.2.4 to 0.3.2 2022-02-25 18:20:48 +00:00

README.md

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!