Python wrapper around revolt.chat
Project description
Revolt.py
An async library to interact with the https://revolt.chat api.
This library will be focused on making bots and i will not implement anything only for user accounts.
Support server: https://app.revolt.chat/invite/FDXER6hr
Documentation is here
Example
More examples in the examples folder
import revolt
import asyncio
import aiohttp
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 aiohttp.ClientSession() as session:
client = Client(session, "BOT TOKEN HERE")
await client.start()
asyncio.run(main())
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
revolt.py-0.1.1.tar.gz
(22.9 kB
view hashes)
Built Distribution
revolt.py-0.1.1-py3-none-any.whl
(32.7 kB
view hashes)
Close
Hashes for revolt.py-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae4e4607a17fbeef6ac1896fba6af7b7de4c939f2ff40cc3e4d6c2809cff0a85 |
|
MD5 | 51a3167fb8dfff00f9cbe10852c1799d |
|
BLAKE2b-256 | 8f45a516ddca4ab9cfe9ac67903afbffc52af6177bddfef5693eceaf74f7f7a4 |