William M 7ae2a56610 Fix the 'user' and 'remove_all' parameters not working in Message#remove_reaction() (#63)
* Fix parameters not being passed in remove_reaction

* Update revolt/http.py

---------

Co-authored-by: Angelo Kontaxis <angelokontaxis@hotmail.com>
2023-07-20 00:30:07 +01:00
2023-05-20 13:07:21 +01:00
2023-04-11 22:23:12 +01:00
2023-05-11 07:02:39 +01:00
2022-01-21 22:04:30 +00:00
2023-03-26 18:08:06 +01:00
2023-05-20 03:04:52 +01:00
2021-10-17 02:47:07 +01:00
2023-06-13 03:34:42 +01:00

Revolt.py

An async library to interact with the https://revolt.chat API.

You can join the support server here and find the library's documentation here.

Installing

You can use pip to install revolt.py. It differs slightly depending on what OS/Distro you use.

On Windows

py -m pip install -U revolt.py # -U to update

On macOS and Linux

python3 -m pip install -U revolt.py

Example

More examples can be found in the examples folder.

import revolt
import asyncio

class Client(revolt.Client):
    async def on_message(self, message: revolt.Message):
        if message.content == "hello":
            await message.channel.send("hi how are you")

async def main():
    async with revolt.utils.client_session() as session:
        client = Client(session, "BOT TOKEN HERE")
        await client.start()

asyncio.run(main())
S
Latest
2024-02-20 12:15:01 -05:00
Languages
Python 99.9%
Just 0.1%