Metadata-Version: 2.1
Name: discord.io
Version: 0.8.2
Summary: Asynchronous Discord API Wrapper For Python
Home-page: https://github.com/VincentRPS/discord.io
Author: VincentRPS
License: MIT
Project-URL: Documentation, https://discordio.rtfd.io
Project-URL: Issue Tracker, https://github.com/VincentRPS/discord.io/issues
Project-URL: Pull Request Tracker, https://github.com/VincentRPS/discord.io/pulls
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Framework :: AsyncIO
Classifier: Framework :: aiohttp
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: speed
Provides-Extra: voice
License-File: LICENSE

<p align='center'>
  <img src='https://raw.githubusercontent.com/VincentRPS/discord.io/master/docs/assets/discord.io.png' />
</p>

<p align='center'>
Asynchronous Discord API Wrapper for Python
</p>

## Features

- Sane Handling of 429s
- User friendly interface

## 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]
```

For voice support run the following command:

```py
pip install discord.io[voice]
```

## Examples
This is a quick usecase example for the library!

```py
import discord

client = discord.Client()

@client.event
async def on_ready():
    print('ready!')

@client.slash_command()
async def ping(interaction):
    await interaction.respond('pong!')

client.run('my_bot_token')
```

This is another example but with a prefixed command

```py
import discord

client = discord.Client()

@client.event
async def on_ready():
    print('ready!')

@client.event
async def on_message(msg):
    if msg.author.bot:
        return
    
    if msg.content.startswith('!ping'):
        await msg.send('Pong!')

client.run('my_bot_token')
```

## Useful Links

The discord.io [discord server](https://discord.gg/cvCAwntVhm)


