Skip to main content

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

Project description

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.

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

interactions_py-6.0.0rc1.tar.gz (811.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interactions_py-6.0.0rc1-py3-none-any.whl (880.0 kB view details)

Uploaded Python 3

File details

Details for the file interactions_py-6.0.0rc1.tar.gz.

File metadata

  • Download URL: interactions_py-6.0.0rc1.tar.gz
  • Upload date:
  • Size: 811.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for interactions_py-6.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 a8eebd96a763170cec249557fdad6f0de0a5030c4a366017c7a57c11e7890f5f
MD5 a899ee6c82c72353b152bddde9be42dd
BLAKE2b-256 8ec044de6d9a755ea5db349561101be9a9b64d680d7360e16d83accbd8eda689

See more details on using hashes here.

File details

Details for the file interactions_py-6.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for interactions_py-6.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 4819933b818ab95ffff957b3f8906a103b3590a770bebdda5ea17ec5faa5829e
MD5 eb1f53598ccb93a992c08b24012a28ee
BLAKE2b-256 b22d8cb2096c4d97d064d7636719a3bf6bb460595925af64fdc9006003c156fc

See more details on using hashes here.

Supported by

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