Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/breqdev/flask-discord-interactions

A Flask extension to enable declarative definitions for Discord slash commands.
https://github.com/breqdev/flask-discord-interactions

asyncio discord discord-bot discord-interactions discord-python discord-slash-commands flask flask-discord-interactions flask-extension http http-server python3 quart server-side

Last synced: about 2 months ago
JSON representation

A Flask extension to enable declarative definitions for Discord slash commands.

Lists

README

        

# 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](https://flask-discord-interactions.readthedocs.io/).