mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 04:20:49 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
@ -3,10 +3,9 @@ module.exports = {
|
||||
alias: ["st"],
|
||||
usage: "<point in queue>",
|
||||
description: "Skip to a point in the queue",
|
||||
onlyDev: false,
|
||||
permission: "MANAGE_MESSAGES",
|
||||
category: "music control",
|
||||
async execute(msg, args, client, Discord, command) {
|
||||
async execute(msg, args, client, command) {
|
||||
const queue = client.queue.get(msg.guild.id);
|
||||
if (client.funcs.check(client, msg, command)) {
|
||||
if (!args[1])
|
||||
@ -28,4 +27,4 @@ module.exports = {
|
||||
queue.connection.dispatcher.end();
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user