Fix all eslint warnings
All checks were successful
CI / CI (push) Successful in 18s
Lint Codebase / eslint (push) Successful in 12s

This commit is contained in:
SileNce5k 2024-11-05 06:32:40 +01:00
parent ad5c15ee40
commit ac9b59281e
Signed by: SileNce
GPG key ID: B0A142BB4291B204
11 changed files with 20 additions and 26 deletions

View file

@ -25,6 +25,7 @@ module.exports = async function(userID, guild) {
try {
track = data.recenttracks.track[0];
} catch (error) {
console.error(error);
scrobble.error = true;
switch(data.error){
case 6:

View file

@ -39,6 +39,7 @@ module.exports = async function (userID, guild) {
}
resolve(tracks);
} catch (error) {
console.error(error)
let scrobble = {};
scrobble.error = true;
if (data.error === 6) {