ManageGuild

This commit is contained in:
Jonny_Bro (Nikita) 2023-07-03 21:04:21 +05:00
parent 9f0d8007e8
commit ac641f9c28
9 changed files with 9 additions and 9 deletions

View file

@ -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({

View file

@ -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({

View file

@ -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({

View file

@ -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({

View file

@ -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({

View file

@ -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({

View file

@ -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({

View file

@ -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({

View file

@ -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({