diff --git a/commands/music/search.js b/commands/music/search.js index 18109da..d51bbc2 100644 --- a/commands/music/search.js +++ b/commands/music/search.js @@ -63,5 +63,9 @@ module.exports = { if (!queue.playing) await queue.play(); }); + + collector.on('end', (msg, reason) => { + if (reason === 'time') return message.channel.send(`Search timed out ${message.author}... try again ? ❌`); + }); }, }; \ No newline at end of file