breqdev/flask-discord-interactions

usage in blueprint

Cyber-Dreamer opened this issue · 1 comments

Can you use those into blueprint? It's working in a single file, but not viable for large app.

You can't use multiple Flask blueprints with this library, since Discord sends all the commands to the same URL. However, this library does provide a DiscordInteractionsBlueprint class that functions similarly and should allow you to split your code into multiple files. You can see an example of this here.