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
Close
Hashes for Flask-Discord-Interactions-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 855c4d105be144e66fb32b12fa0ef03c8a788cb2a9966dcb701c1d06f6b3665e |
|
MD5 | 50b9b8bda47e5d02b5eb616e476445dc |
|
BLAKE2b-256 | b663cc1ac7112a67aafe3a00304b634ecb481633c692aadf39910c373150b847 |
Close
Hashes for Flask_Discord_Interactions-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54f4d1ef9d6cd8f4485315340756f37b089a93bbd72b41e551a9d668803afba3 |
|
MD5 | 830bda150da3961e61dffacd52044e60 |
|
BLAKE2b-256 | 9a664d56461b9b55ddc22f6fa49f6b0cb874ac78a601172df6e9c6692d59b5e3 |