Use configs from Flask app instance

This commit is contained in:
thecosmos
2019-05-26 10:52:24 +05:30
parent def30d1348
commit 1b2932f1b0
6 changed files with 30 additions and 31 deletions

View File

@@ -11,12 +11,8 @@ class DiscordOAuth2Session(_http.DiscordOAuth2HttpClient):
Parameters
----------
client_id : int
Client ID of your discord application.
client_secret : str
Client secret of your discord application.
redirect_uri : str
The default URL to be used to redirect user after the OAuth2 authorization.
app : Flask
An instance of your flask application.
"""