This commit is contained in:
2022-05-09 19:29:50 +02:00
parent d81722dec8
commit af29582c00
19 changed files with 209 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
module.exports = (client, message, query, tracks, content, collector) => {
if (content === 'cancel') {
collector.stop();
return message.channel.send(`${client.emotes.success} - The selection has been **cancelled** !`);
} else message.channel.send(`${client.emotes.error} - You must send a valid number between **1** and **${tracks.length}** !`);
};