From abf7b6fb6d87a54a40b114e515d8a7c07b1c54fc Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Mon, 9 Sep 2024 15:18:00 +0100 Subject: [PATCH] trivia: maybe fix the session token issue? --- commands/games/trivia.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games/trivia.js b/commands/games/trivia.js index cde5180..ebd1522 100644 --- a/commands/games/trivia.js +++ b/commands/games/trivia.js @@ -108,7 +108,7 @@ const fetchTriviaQuestion = async (categoryId, categoryName) => { ); const apiQuestion = response.data.results[0]; - // Check if the token is exhausted (response code 4 indicates this) + // Check if the token is exhausted (response code 3 indicates this) if (response.data.response_code === 3) { // Token not found sessionToken = await getSessionToken(); // Create a new token