Shift arguments so time option works
All checks were successful
CI / CI (push) Successful in 1m23s

This commit is contained in:
SileNce5k 2025-05-12 17:55:45 +02:00
parent 4f57499cca
commit 6592f25882
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -38,12 +38,14 @@ module.exports = {
case "topalbums": case "topalbums":
case "topalbum": case "topalbum":
case "abl": case "abl":
args.shift();
sendText = await getTopAlbums(message.author.id, args, message.guild) sendText = await getTopAlbums(message.author.id, args, message.guild)
break; break;
case "topartists": case "topartists":
case "topartist": case "topartist":
case "ta": case "ta":
case "as": case "as":
args.shift();
sendText = await getTopArtists(message.author.id, args, message.guild); sendText = await getTopArtists(message.author.id, args, message.guild);
break; break;
case "cover": case "cover":