diff --git a/commands/Administration/automod.js b/commands/Administration/automod.js index 1ebe7b88..b8fa37ca 100644 --- a/commands/Administration/automod.js +++ b/commands/Administration/automod.js @@ -16,7 +16,7 @@ class Automod extends BaseCommand { "ru": client.translate("administration/automod:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addBooleanOption(option => option.setName("state") .setDescription(client.translate("common:STATE")) .setDescriptionLocalizations({ diff --git a/commands/Administration/autorole.js b/commands/Administration/autorole.js index e2025744..44a62b0b 100644 --- a/commands/Administration/autorole.js +++ b/commands/Administration/autorole.js @@ -16,7 +16,7 @@ class Autorole extends BaseCommand { "ru": client.translate("administration/autorole:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addBooleanOption(option => option.setName("state") .setDescription(client.translate("common:STATE")) .setDescriptionLocalizations({ diff --git a/commands/Administration/config.js b/commands/Administration/config.js index 85243a8b..8179275b 100644 --- a/commands/Administration/config.js +++ b/commands/Administration/config.js @@ -16,7 +16,7 @@ class Config extends BaseCommand { "ru": client.translate("administration/config:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addSubcommand(subcommand => subcommand.setName("list") .setDescription(client.translate("administration/config:LIST")) .setDescriptionLocalizations({ diff --git a/commands/Administration/goodbye.js b/commands/Administration/goodbye.js index 27aed65e..5f33db22 100644 --- a/commands/Administration/goodbye.js +++ b/commands/Administration/goodbye.js @@ -16,7 +16,7 @@ class Goodbye extends BaseCommand { "ru": client.translate("administration/goodbye:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addSubcommand(subcommand => subcommand.setName("test") .setDescription(client.translate("administration/goodbye:TEST")) .setDescriptionLocalizations({ diff --git a/commands/Administration/selectroles.js b/commands/Administration/selectroles.js index f6f80b4a..a7a7c0a3 100644 --- a/commands/Administration/selectroles.js +++ b/commands/Administration/selectroles.js @@ -16,7 +16,7 @@ class Selectroles extends BaseCommand { "ru": client.translate("administration/selectroles:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addSubcommand(subcommand => subcommand.setName("message") .setDescription(client.translate("administration/selectroles:MESSAGE")) .setDescriptionLocalizations({ diff --git a/commands/Administration/set.js b/commands/Administration/set.js index 906510b0..aaca9346 100644 --- a/commands/Administration/set.js +++ b/commands/Administration/set.js @@ -16,7 +16,7 @@ class Set extends BaseCommand { "ru": client.translate("administration/set:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addStringOption(option => option.setName("type") .setDescription(client.translate("owner/debug:TYPE")) .setDescriptionLocalizations({ diff --git a/commands/Administration/setlang.js b/commands/Administration/setlang.js index c8eb17a0..2c237ccc 100644 --- a/commands/Administration/setlang.js +++ b/commands/Administration/setlang.js @@ -16,7 +16,7 @@ class Setlang extends BaseCommand { "ru": client.translate("administration/setlang:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addStringOption(option => option.setName("language") .setDescription(client.translate("common:LANGUAGE")) .setDescriptionLocalizations({ diff --git a/commands/Administration/stealemoji.js b/commands/Administration/stealemoji.js index 80b53504..6df513d3 100644 --- a/commands/Administration/stealemoji.js +++ b/commands/Administration/stealemoji.js @@ -16,7 +16,7 @@ class Stealemoji extends BaseCommand { "ru": client.translate("administration/stealemoji:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addStringOption(option => option.setName("emoji") .setDescription(client.translate("common:EMOJI")) .setDescriptionLocalizations({ diff --git a/commands/Administration/welcome.js b/commands/Administration/welcome.js index e63d3f1a..c1104baf 100644 --- a/commands/Administration/welcome.js +++ b/commands/Administration/welcome.js @@ -16,7 +16,7 @@ class Welcome extends BaseCommand { "ru": client.translate("administration/welcome:DESCRIPTION", null, "ru-RU"), }) .setDMPermission(false) - .setDefaultMemberPermissions(PermissionFlagsBits.Administrator) + .setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild) .addSubcommand(subcommand => subcommand.setName("test") .setDescription(client.translate("administration/goodbye:TEST")) .setDescriptionLocalizations({