From c424c93330f059255692f091b6475895b478a2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 9 Feb 2024 07:25:29 +0200 Subject: [PATCH] Replace forgotten older prefix --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 1fef82be..30eb1fd4 100644 --- a/index.js +++ b/index.js @@ -182,7 +182,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")} return msg.channel.send(':x: There is nothing playing.'); } if (msg.content === `${PREFIX}`) return; - msg.channel.send(':x: Unknown command! Type -help for the list of commands!') + msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`) return; } if (msg.content === `${PREFIX}`) return; @@ -195,7 +195,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")} } } } - msg.channel.send(':x: Unknown command! Type -help for the list of commands!') + msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`) return; } else { const args = msg.content.split(' '); @@ -312,7 +312,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")} if (msg.content === `${PREFIX}`) { return; } - msg.channel.send(':x: Unknown command! Type -help for the list of commands!') + msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`) return; } });