From efcf081e80fbae5c9f3818d2e293df52ff4023b4 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 7 Mar 2024 11:47:57 +0100 Subject: [PATCH] Replace with prefix in fmhelp --- commands/misc/fm.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/misc/fm.js b/commands/misc/fm.js index 847d506..83e0720 100644 --- a/commands/misc/fm.js +++ b/commands/misc/fm.js @@ -5,11 +5,11 @@ module.exports = { name: 'fm', description: 'Last fm commands. See `help fm` for more info.', moreHelp: ["Set username: `fm set `",], - async execute({ message, args }) { + async execute({ message, args, prefix }) { let sendText = "Something went wrong."; switch (args[0]) { case "help": - sendText = this.moreHelp.join("\n"); + sendText = this.moreHelp.join("\n").replace("", prefix); break; case "set": sendText = await fmlogin(message.author.id, args[1]);