A web framework for Discord interactions specialized for usage in https://deta.sh
Project description
Deta-Discord-Interactions
This is a small web framework that lets you write Discord Application Commands using a decorator syntax similar to Flask's @app.route()
or Discord.py's @bot.command()
, specialized for usage in https://deta.sh
It is a fork of flask-discord-interactions, but without requiring Flask and with some added features to make the usage of the library simpler.
@app.command()
def ping(ctx):
"Respond with a friendly 'pong'!"
return "Pong!"
The documentation of the original library is available on readthedocs. The documentation of the Fork is still Work in Progress.
Project details
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 deta-discord-interactions-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325f8c80af437f0b3a86043b7f789ce0ac48017183794b3af6872bb5526d7af0 |
|
MD5 | 6c1df5617a96d783509c85686fd9c9b5 |
|
BLAKE2b-256 | 3477b19d59f68558ce605b44aa87f2e1905bccc721112fe1fd5277285dc1e53a |
Close
Hashes for deta_discord_interactions-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013d49effafcf1c4e45d5b58f596b1fc2a617edf0e77bc7f64e2776626812a3d |
|
MD5 | d33a0702c4c02fcba77a56fce0979a26 |
|
BLAKE2b-256 | e68ecc5fd9dcd783a3d7e2054ecafe4f00bada444aaea4286e088132514a98d5 |