Fix code to work on this decade 1/x

This commit is contained in:
Christer Warén committed 2024-02-10 09:33:59 +02:00
1 parent 99ecd9787d
commit 86b4676159
61 files changed
+3842 -471

No files matched your search

+2 -3
View File
@@ -3,10 +3,9 @@ module.exports = {
alias: ["none"],
usage: '',
description: 'Pause the currently playing music.',
onlyDev: false,
permission: 'MANAGE_MESSAGES',
category: 'music control',
execute(msg, args, client, Discord, command) {
execute(msg, args, client, command) {
const queue = client.queue.get(msg.guild.id);
if (client.funcs.check(client, msg, command)) {
if (queue.paused) return msg.channel.send(client.messages.alreadyPaused);
@@ -15,4 +14,4 @@ module.exports = {
return msg.channel.send(client.messages.paused);
}
}
};
};