Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vincentrps/discord.io
Discord's Bot Framework.
https://github.com/vincentrps/discord.io
aiohttp api asyncio bot discord discord-api python python3 python310 wrapper
Last synced: about 3 hours ago
JSON representation
Discord's Bot Framework.
- Host: GitHub
- URL: https://github.com/vincentrps/discord.io
- Owner: VincentRPS
- License: mit
- Created: 2021-12-10T05:02:40.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T11:10:33.000Z (over 1 year ago)
- Last Synced: 2024-09-21T18:25:54.680Z (3 days ago)
- Topics: aiohttp, api, asyncio, bot, discord, discord-api, python, python3, python310, wrapper
- Language: Python
- Homepage: https://discord.rtfd.io/en/latest
- Size: 1.5 MB
- Stars: 19
- Watchers: 1
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Discord's Bot Framework## Features
**Discord.io is currently facing a rewrite, we'll make sure to beautify this when we have time and features are partially stable.**
## Installing
To Install discord.io, just run the following command:
```py
pip install discord.io
```To install our speed requirements, just run the following command:
```py
pip install discord.io[speed]
```## Basic Example
This is a basic example of a Discord bot which prints its `session_id` when it becomes ready:
```py
import discordapp = discord.GatewayApp(intents=0)
@app.subscribe()
async def on_ready(event: discord.Ready) -> None:
print(f'Ready on {event.user.name}!')app.run('token')
```## Useful Links
- [Discord server](https://discord.gg/cvCAwntVhm)
- [Documentation](https://discord.readthedocs.io/)