mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2025-12-09 20:09:30 +02:00
Add discord bot token in configs
This commit is contained in:
@@ -23,6 +23,7 @@ app.secret_key = b"random bytes representing flask secret key"
|
||||
app.config["DISCORD_CLIENT_ID"] = 490732332240863233 # Discord client ID.
|
||||
app.config["DISCORD_CLIENT_SECRET"] = "" # Discord client secret.
|
||||
app.config["DISCORD_REDIRECT_URI"] = "" # Redirect URI.
|
||||
app.config["DISCORD_BOT_TOKEN"] = "" # Required when you want to use User.add_to_guild method.
|
||||
|
||||
discord = DiscordOAuth2Session(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user