Update minor description

This commit is contained in:
thec0sm0s
2020-07-15 12:06:39 +05:30
parent cd1b501315
commit f9f77d9aa4
2 changed files with 6 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ 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.
app.config["DISCORD_REDIRECT_URI"] = "" # URL to your callback endpoint.
app.config["DISCORD_BOT_TOKEN"] = "" # Required to access BOT resources.
discord = DiscordOAuth2Session(app)
@@ -63,6 +63,8 @@ if __name__ == "__main__":
app.run()
```
For an example to the working application, check [`test_app.py`](tests/test_app.py)
### Requirements
* Flask