Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        





discord.io





discord
pip version
pip downloads



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 discord

app = 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/)