1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 10:40:49 +00:00

Update 3.3

This commit is contained in:
MatteZ02
2020-04-29 14:41:16 +03:00
parent 07fd7df141
commit 1158d32910
10 changed files with 54 additions and 11 deletions

16
src/commands/replay.js Normal file
View File

@ -0,0 +1,16 @@
module.exports = {
name: 'replay',
alias: 'none',
usage: '',
description: 'Replay the currently playing song.',
onlyDev: false,
permission: 'MANAGE_MESSAGES',
category: 'music',
async execute(msg, args, client, Discord, command) {
const queue = client.queue.get(msg.guild.id);
if (client.funcs.check(client, msg, command)) {
queue.endReason = "replay";
queue.connection.dispatcher.end()
}
}
};