mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 01:20:48 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
@ -3,10 +3,9 @@ module.exports = {
|
||||
alias: ["s", "next"],
|
||||
usage: "",
|
||||
description: "Skip the currently playing song.",
|
||||
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);
|
||||
const permissions = msg.channel.permissionsFor(msg.author);
|
||||
if (!queue || !queue.playing)
|
||||
@ -61,4 +60,4 @@ function vote(queue, msg, client) {
|
||||
} else {
|
||||
return skipSong(queue, msg, client);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user