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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ee8f6e3a07e3d154f2ed9c6c3f8c30bc09d45fd9472d8fdadb72061aedd82c3 |
|
MD5 | 181c0ed98681b23e98f533a211e134c6 |
|
BLAKE2b-256 | 71e3a6fa60934c19d32fdacb53714463b1812c0ccfad23dc09fa562df514ef96 |
Close
Hashes for Flask_Discord_Interactions-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbed55316b103dc0be5dd87bd53e904af573174bf57f33f15ab1bb8869864145 |
|
MD5 | cc743b9e4b40a5aaac868715ea5c0d04 |
|
BLAKE2b-256 | fb5f7e8a993f394f539b99c18e6413b061f38c9fa7920bb261885806577c57dd |