Skip to main content

Easy, simple, scalable and modular: a Python API wrapper for interactions.

Project description

image image image Code style: black image


Interactions.py - 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")

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 Ext

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

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_start():
    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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord-py-interactions-5.0.0.tar.gz (293.8 kB view details)

Uploaded Source

Built Distribution

discord_py_interactions-5.0.0-py3-none-any.whl (361.3 kB view details)

Uploaded Python 3

File details

Details for the file discord-py-interactions-5.0.0.tar.gz.

File metadata

File hashes

Hashes for discord-py-interactions-5.0.0.tar.gz
Algorithm Hash digest
SHA256 0a584ca70782517c86c26a81cbeb0b028ea679cd26bdb2a32bdb867bbb0104d6
MD5 7fd06f5a406a9e4104357ad766ff8f60
BLAKE2b-256 d121b92acd10006b940c9fe90518f10aa6a623dd134ffac78e7ad50d2739f252

See more details on using hashes here.

File details

Details for the file discord_py_interactions-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for discord_py_interactions-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd05d97f9fd55f7837dc9c11941f412afb0c340de3c3ee73cf05faa3a3e2a045
MD5 d53e367618b8a4687729794ff7f16681
BLAKE2b-256 c8a0e9d2c38e285012bedd535403fe7d399959984a0f50733b56bc89f1a6ba16

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page