1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-19 22:11:55 +00:00

Replace forgotten older prefix

This commit is contained in:
Christer Warén 2024-02-09 07:25:29 +02:00
parent a527f84c29
commit c424c93330

View File

@ -182,7 +182,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
return msg.channel.send(':x: There is nothing playing.'); return msg.channel.send(':x: There is nothing playing.');
} }
if (msg.content === `${PREFIX}`) return; 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; return;
} }
if (msg.content === `${PREFIX}`) 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; return;
} else { } else {
const args = msg.content.split(' '); const args = msg.content.split(' ');
@ -312,7 +312,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
if (msg.content === `${PREFIX}`) { if (msg.content === `${PREFIX}`) {
return; 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; return;
} }
}); });