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.0.tar.gz
(22.9 kB
view hashes)
Built Distribution
revolt.py-0.1.0-py3-none-any.whl
(32.8 kB
view hashes)
Close
Hashes for revolt.py-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd6a4681d639700f74af78917d7475d7ea71f577d1201873d29ccf9727fd23e4 |
|
MD5 | 3ae87863c84e4561a88fddb35c7951ae |
|
BLAKE2b-256 | b6cb7774695fca1971a68816b4d7657067f0306ae40d1ad47bf41e6818a5c627 |