diff options
author | 2023-05-06 13:36:52 +0100 | |
---|---|---|
committer | 2023-05-06 13:36:52 +0100 | |
commit | e2d0c268732ab6998a90028be9ecd1f8efcce7d8 (patch) | |
tree | ea0fc0176f18331756c19d110ee6edf4e5100898 /bot/exts/fun/game.py | |
parent | Bump pre-commit from 3.3.0 to 3.3.1 (#1263) (diff) | |
parent | bump bot-core to 9.6.0 (diff) |
Merge pull request #1260 from shtlrs/pedantic-configuration
Use pydantic for configuration management
Diffstat (limited to 'bot/exts/fun/game.py')
-rw-r--r-- | bot/exts/fun/game.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/game.py b/bot/exts/fun/game.py index a8b0b3a0..c38dc063 100644 --- a/bot/exts/fun/game.py +++ b/bot/exts/fun/game.py @@ -20,8 +20,8 @@ from bot.utils.pagination import ImagePaginator, LinePaginator # Base URL of IGDB API BASE_URL = "https://api.igdb.com/v4" -CLIENT_ID = Tokens.igdb_client_id -CLIENT_SECRET = Tokens.igdb_client_secret +CLIENT_ID = Tokens.igdb_client_id.get_secret_value() +CLIENT_SECRET = Tokens.igdb_client_secret.get_secret_value() # The number of seconds before expiry that we attempt to re-fetch a new access token ACCESS_TOKEN_RENEWAL_WINDOW = 60*60*24*2 |