From 4462d80df2fbb9848232391e1c46ae1f6a66f1e2 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 9 Mar 2021 20:00:46 -0500 Subject: [PATCH] Fix delay time --- commands/games-sp/guess-song.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/guess-song.js b/commands/games-sp/guess-song.js index 3605788d..577e9f52 100644 --- a/commands/games-sp/guess-song.js +++ b/commands/games-sp/guess-song.js @@ -122,7 +122,7 @@ module.exports = class GuessSongCommand extends Command { }) .send('grant_type=client_credentials'); this.token = body.access_token; - setTimeout(() => { this.token = null; }, body.expires_in); + setTimeout(() => { this.token = null; }, body.expires_in * 1000); return body; } };