Bug fixes & update (v3.0.0)

This commit is contained in:
Zerio
2020-12-12 00:34:12 +01:00
parent 76ef847189
commit df45502d7b
48 changed files with 438 additions and 342 deletions

17
commands/music/stop.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = {
name: 'stop',
aliases: [],
category: 'Music',
utilisation: '{prefix}stop',
execute(client, message) {
if (!message.member.voice.channel) return message.channel.send(`${client.emotes.error} - You're not in a voice channel !`);
if (!client.player.getQueue(message)) return message.channel.send(`${client.emotes.error} - No music currently playing !`);
client.player.setRepeatMode(message, false);
client.player.stop(message);
message.channel.send(`${client.emotes.success} - Music **stopped** into this server !`);
},
};