An async Discord HTTP Interactions wrapper for discord.py built with aiohttp.
⚠️ Warning: This library is no longer compatible with discord.py>2.4 due to changes in how interactions are parsed
Documentation
Installing
aiointeractions requires Python 3.8 or newer.
pip install aiointeractions
Example
import asyncio
import discord
import aiointeractions
intents = discord.Intents.none()
# intents are not required because there is no gateway connection
client = discord.Client(intents=intents)
tree = discord.app_commands.CommandTree(client)
app = aiointeractions.InteractionsApp(client)
discord.utils.setup_logging(root=True)
@tree.command()
async def ping(interaction: discord.Interaction) -> None:
await interaction.response.send_message('Pong!')
app.run('bot token')
Fork Support
While some forks may be compatible, discord.py forks will not be supported.
Metadata
Release files for aiointeractions 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiointeractions-2.0.2.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiointeractions-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / aiointeractions-2.0.2.tar.gz
| Download URL | aiointeractions-2.0.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42e762f579899e7f8d91664309dbac14f913f65081ad420b6d62028d74f2b23e
|
|
BLAKE2b-256 checksum How to use checksums |
0dae7f777b5f310a0562403a67d8a1a14ff956598494ce1f5c4d2767b4286c4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / aiointeractions-2.0.2-py3-none-any.whl
| Download URL | aiointeractions-2.0.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
458f31867e580f27471e24df5f80702e6b39bca510eb1b6152b58e0d8c03a2d8
|
|
BLAKE2b-256 checksum How to use checksums |
a6166aad3dc3bdbfebd3d2a75ea55f3887a2823363fa7010c716e12eae123e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|