aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/game.py
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-05 22:08:09 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 13:20:47 +0100
commit12be2fdf771a1a25c2c135516746002154135dbf (patch)
tree108cbc37c7a2f89ae7cffeca4165ebc444b75317 /bot/exts/fun/game.py
parentupdate env variables in "Attempt bot setup" stage (diff)
use `SecretStr` for all secrets
Diffstat (limited to 'bot/exts/fun/game.py')
-rw-r--r--bot/exts/fun/game.py4
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