From a500307820d6bced46eb5fd53749c1f977a53148 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 19 Dec 2021 16:47:15 +0500 Subject: [PATCH] fix --- commands/Music/back.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Music/back.js b/commands/Music/back.js index 75d87b82..e42911c6 100644 --- a/commands/Music/back.js +++ b/commands/Music/back.js @@ -36,7 +36,7 @@ class Back extends Command { const m = await message.channel.send(embed); if (args[0] && (args[0] === "force" || args[0] === "f")) { - if (message.author.hasPermission("ADMINISTRATOR") || message.author.hasPermission("MANAGE_MESSAGES")) { + if (message.member.hasPermission("ADMINISTRATOR") || message.member.hasPermission("MANAGE_MESSAGES")) { this.client.player.back(message); embed.setDescription(message.translate("music/back:SUCCESS")); m.edit(embed);