This commit is contained in:
MatteZ02 committed 2020-02-05 22:02:53 +02:00
commit d343af3b14
49 files changed
+1248

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
module.exports = {
name: 'stop',
description: 'Stop command.',
alias: 'none',
onlyDev: false,
permission: 'MANAGE_CHANNELS',
category: 'music',
execute(msg, args, client, Discord, prefix, command) {
const serverQueue = client.queue.get(msg.guild.id);
if (client.funcs.check(client, msg, command)) {
serverQueue.songs = [];
serverQueue.looping = false;
serverQueue.connection.dispatcher.end('Stopped');
msg.channel.send('<:stop:674685626108477519> Stopped the music!')
}
}
};