mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2025-07-01 08:23:37 +00:00
Some changes
This commit is contained in:
@ -3,13 +3,11 @@ module.exports = {
|
||||
description: 'Stop command.',
|
||||
alias: 'none',
|
||||
usage: '',
|
||||
permission: 'MANAGE_CHANNELS',
|
||||
permission: 'none',
|
||||
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();
|
||||
msg.channel.send('<:stop:674685626108477519> Stopped the music!')
|
||||
}
|
||||
radio.connection.dispatcher.end();
|
||||
msg.channel.send('<:stop:674685626108477519> Stopped the music!');
|
||||
}
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user