module.exports = { name: 'stop', description: 'Stop command.', alias: 'none', usage: '', onlyDev: false, permission: 'MANAGE_CHANNELS', category: 'music', execute(msg, args, client, Discord, prefix, command) { const queue = client.queue.get(msg.guild.id); if (client.funcs.check(client, msg, command)) { queue.songs = []; queue.looping = false; queue.endReason = "stop"; queue.connection.dispatcher.end(); msg.channel.send(client.messages.stop) } } };