From 6592f258829d8bd5afd1afea174ad4578210fd42 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Mon, 12 May 2025 17:55:45 +0200 Subject: [PATCH] Shift arguments so time option works --- commands/misc/fm.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/misc/fm.js b/commands/misc/fm.js index cda2f45..3efd216 100644 --- a/commands/misc/fm.js +++ b/commands/misc/fm.js @@ -38,12 +38,14 @@ module.exports = { case "topalbums": case "topalbum": case "abl": + args.shift(); sendText = await getTopAlbums(message.author.id, args, message.guild) break; case "topartists": case "topartist": case "ta": case "as": + args.shift(); sendText = await getTopArtists(message.author.id, args, message.guild); break; case "cover":