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.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5814489d50cfab8415207eb7d3b4998cfe7ca098989409171548eec9cbb8f8d3 |
|
MD5 | ce66385490e05f186849ad299b40af9b |
|
BLAKE2b-256 | d1a26745260970ee44aa50e30d88eb487fdf5a50945ca222df5146ded34a7d85 |
Close
Hashes for Flask_Discord_Interactions-2.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a2c630fd700e13967a61851b1c464a8732e054cd814fca21b0b652a3d2b42b |
|
MD5 | e1ff642780a15c4d161c33bd29bcf8b8 |
|
BLAKE2b-256 | 7d1efd6b4ab199aad51b3600a8e6c834095e3c6b896fe34637d844685ebc6bb5 |