A Flask extension for Discord slash commands.
Project description
Flask-Discord-Interactions
This is a Flask extension that lets you write Discord Application Commands using a decorator syntax similar to Flask's @app.route()
or Discord.py's @bot.command()
.
@discord.command()
def ping(ctx):
"Respond with a friendly 'pong'!"
return "Pong!"
Full documentation is available on readthedocs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Flask-Discord-Interactions-2.1.2.tar.gz
.
File metadata
- Download URL: Flask-Discord-Interactions-2.1.2.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de337445c02b0113759edea96533d04bb660945504d7b652a4b72c397e3d80b3 |
|
MD5 | fa3c0c317fe0762de7f67c0b1763f324 |
|
BLAKE2b-256 | 7b590a52bd103c2e76ce4f7f70f9d35c9acc8581b17781004d926a92bdf61052 |
File details
Details for the file Flask_Discord_Interactions-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: Flask_Discord_Interactions-2.1.2-py3-none-any.whl
- Upload date:
- Size: 47.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720c5fa09b0d32df779c5bf37344971708920beabca0250408981c28da5dfc29 |
|
MD5 | 6f12516aeecd3d73c33f1cd564ae040a |
|
BLAKE2b-256 | 460eca8525768b1e36764fcb8e220c200b0857280417ba01b70da952958f3783 |