🩹 Inactivity message

This commit is contained in:
Zerio
2021-10-02 11:03:35 +02:00
parent 7132bd75d0
commit 0412427b6f

View File

@@ -63,5 +63,9 @@ module.exports = {
if (!queue.playing) await queue.play(); 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 ? ❌`);
});
}, },
}; };