mirror of
https://github.com/MrUnknownDE/UnknownAI.git
synced 2026-04-19 06:23:45 +02:00
huch?
This commit is contained in:
6
player/searchInvalidResponse.js
Normal file
6
player/searchInvalidResponse.js
Normal 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}** !`);
|
||||
};
|
||||
Reference in New Issue
Block a user