forgot if statement
This commit is contained in:
parent
79fbf9a181
commit
1290d759ff
@ -336,7 +336,7 @@ class PermissionsCommand extends SlashCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await guild.updatePermissions();
|
if(update) await guild.updatePermissions();
|
||||||
|
|
||||||
if(!fields.length) return { index: 'COMMAND_PERMISSIONS_NO_PERMS' };
|
if(!fields.length) return { index: 'COMMAND_PERMISSIONS_NO_PERMS' };
|
||||||
const embed = {
|
const embed = {
|
||||||
|
Loading…
Reference in New Issue
Block a user