This commit is contained in:
Dragon Fire
2021-04-18 12:08:00 -04:00
parent e76b27850f
commit 4a83f006eb
+1 -1
View File
@@ -77,7 +77,7 @@ module.exports = class TwitchCommand extends Command {
grant_type: 'client_credentials'
});
this.token = body.access_token;
setTimeout(() => { this.token = null; }, body.expires_in * 1000);
setTimeout(() => { this.token = null; }, body.expires_in);
return body;
}
};