mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 10:40:49 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
@ -3,14 +3,13 @@ module.exports = {
|
||||
alias: ["rp"],
|
||||
usage: '',
|
||||
description: 'Replay the currently playing song.',
|
||||
onlyDev: false,
|
||||
permission: 'MANAGE_MESSAGES',
|
||||
category: 'play',
|
||||
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)) {
|
||||
queue.endReason = "replay";
|
||||
queue.connection.dispatcher.end()
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user