Skip to main content

Interactions.py


License

image

A Feature-rich Discord Bot Framework for Python

A highly extensible, easy to use, and feature complete framework for Discord.

interactions.py is the culmination of years of experience with Discord's APIs and bot development. This framework has been built from the ground up with community feedback and suggestions in mind. Our framework provides a modern and intuitive set of language bindings for easy interaction with Discord.

Key Features

interactions.py offers a wide range of features for building Python-powered Discord bots and web applications alike:

  • ✅ 100% coverage of the Discord API
  • ✅ Dynamic cache with TTL support
  • ✅ Modern and Pythonic API for easy interaction with Discord
  • ✅ Proper rate-limit handling
  • ✅ Feature parity with most other Discord API wrappers
  • ✅ Fully automated command synchronisation

In addition to core functionality, interactions.py provides a range of optional extensions, allowing you to further customize your bot and add new features with ease.

Extensibility

So the base library doesn't do what you want? No problem! With builtin extensions, you are able to extend the functionality of the library. And if none of those pique your interest, there are a myriad of other extension libraries available.

Just type bot.load_extension("extension")

Extensions

Prefixed Commands

Prefixed commands, message commands, or legacy commands. Whatever you want to call them, by default the interactions.py library will not handle these. But rest assured this extension will get you going

  • ✅ Automatic command registration
  • ✅ Annotation support

Debug Extension

A fully featured debug and utilities suite to help you get your bots made

Jurigged

A hot reloading extension allowing you to automagically update your bot without reboots

Sentry

Integrates Sentry.io error tracking into your bot with a single line

Console

Adds aiomonitor support with enables cli commands over a web interface

Paginators

Easily create multi-page embeds without having to implement the UX

Where do I start?

Getting started with interactions.py is easy! Simply install it via pip and start building your Discord application in Python:

pip install -U discord-py-interactions

import interactions

bot = interactions.Client()

@interactions.listen()
async def on_startup():
    print("Bot is ready!")

bot.start("token")

With interactions.py, you can quickly and easily build complex Discord applications with Python. Check out our guides for more information. Or join our discord.

Release files for discord-py-interactions 5.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discord-py-interactions 5.16.0
File Size Uploaded
discord_py_interactions-5.16.0.tar.gz 807.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for discord-py-interactions 5.16.0
File Interpreter ABI Platform
discord_py_interactions-5.16.0-py3-none-any.whl Python 3 none any Details

Total release size:1.7 MB

Release files / discord_py_interactions-5.16.0.tar.gz

Download URL discord_py_interactions-5.16.0.tar.gz
Size 807.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6368b685b8f2b6a8b8ed1d55b3876d168f1cce5a8255a6b9132fecfe0cb4626a
BLAKE2b-256 checksum
How to use checksums
277ad8b8f89b241bd2b5939e64e571ad5ab8ed78aa125e08e7d605cacec7a904
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / discord_py_interactions-5.16.0-py3-none-any.whl

Download URL discord_py_interactions-5.16.0-py3-none-any.whl
Size 877.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fa6b5e05f7357ff63796b4dcfaee09b68b4da9f31617cfa9d14a4cebbbbde9d
BLAKE2b-256 checksum
How to use checksums
d2a29fc6e3b6ee180a10e9f2e7ccfb8c811d9a789498a5946020f642a8f6e1fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

5.16.0 This release

2 release files

5.15.0

2 release files

5.14.0

2 release files

5.13.2

2 release files

5.13.1

2 release files

5.13.0

2 release files

5.12.0

2 release files

5.11.0

2 release files

5.10.0

2 release files

5.9.2

2 release files

5.9.1

2 release files

5.9.0

2 release files

5.8.0

2 release files

5.7.0

2 release files

5.6.0

2 release files

5.5.1

2 release files

5.5.0

2 release files

5.4.0

2 release files

5.3.1

2 release files

5.3.0

2 release files

5.2.0

2 release files

5.1.0

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.4.1

2 release files

4.4.0

2 release files

4.3.4

2 release files

4.3.3

2 release files

4.3.2

2 release files

4.3.1

2 release files

4.3.0

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page