mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-09 23:00:18 +00:00
17 lines
442 B
JavaScript
17 lines
442 B
JavaScript
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 radio = client.radio.get(msg.guild.id);
|
|
if (client.funcs.check(client, msg, command)) {
|
|
radio.connection.dispatcher.end('Stopped');
|
|
msg.channel.send('<:stop:674685626108477519> Stopped the music!')
|
|
}
|
|
}
|
|
};
|