Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 400 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 400 Bytes

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.