mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fix
This commit is contained in:
parent
8119e7752e
commit
a500307820
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue