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-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6e27c0bfa98f1ecc641071f6ce19627b62ed865830a51555b34f8a6eebd561 |
|
MD5 | 345f5b68469a138045bcd3c7d811c027 |
|
BLAKE2b-256 | a12a6fbd749cfae6be184d9648f85b9e1c0bcf29808a3e9f71d75c8b4d587a67 |
Close
Hashes for Flask_Discord_Interactions-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162e17152179a26e09743f3f425dfef519a919866f486c6c2dd3d5d7b257257e |
|
MD5 | 1893f4bb7450881a1a5946e7cc88a86d |
|
BLAKE2b-256 | 4e82b904ff9bb5f1dbd85b55178d68b6391e4ed2ae312cdd439deaaf3a935980 |