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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffbd052611de7cf66ebbc99945d6ed2d871ee0cf7581e47d0e18b7443a48dc2e |
|
MD5 | fbfa3d4c58ebef66b9590b8eb491a00f |
|
BLAKE2b-256 | 762a889912f457ebb8251014d9e05717d390c6886fd4211fb8a0dd949242f2f4 |
Close
Hashes for Flask_Discord_Interactions-1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6445bd16cd90ed5824d43b05dbd6e7e9505367350491c571c781af6d41839512 |
|
MD5 | b6f7ca3c14ce5a4ec301161721cb5265 |
|
BLAKE2b-256 | 97585ec7bc38fb4bd26d8196c5eeee69c8c9dd492e881281d21af63fc7a2b92b |