VincentRPS/discord.io

Discord's Bot Framework.

★ 19Forks 9PythonGitHub ↗Compare

Project website ↗

aiohttpapiasynciobotdiscorddiscord-apipythonpython3python310wrapper

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:

pip install discord.io

To install our speed requirements, just run the following command:

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:

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

Contributors

VincentRPSdependabot[bot]Hype3808yxshvsaumsyAmashiMTari-devBorderHopper21middledotooliver1sourcery-ai[bot]

Issues