mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
ManageGuild
This commit is contained in:
parent
9f0d8007e8
commit
ac641f9c28
9 changed files with 9 additions and 9 deletions
|
@ -16,7 +16,7 @@ class Automod extends BaseCommand {
|
||||||
"ru": client.translate("administration/automod:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/automod:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addBooleanOption(option => option.setName("state")
|
.addBooleanOption(option => option.setName("state")
|
||||||
.setDescription(client.translate("common:STATE"))
|
.setDescription(client.translate("common:STATE"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Autorole extends BaseCommand {
|
||||||
"ru": client.translate("administration/autorole:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/autorole:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addBooleanOption(option => option.setName("state")
|
.addBooleanOption(option => option.setName("state")
|
||||||
.setDescription(client.translate("common:STATE"))
|
.setDescription(client.translate("common:STATE"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Config extends BaseCommand {
|
||||||
"ru": client.translate("administration/config:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/config:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addSubcommand(subcommand => subcommand.setName("list")
|
.addSubcommand(subcommand => subcommand.setName("list")
|
||||||
.setDescription(client.translate("administration/config:LIST"))
|
.setDescription(client.translate("administration/config:LIST"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Goodbye extends BaseCommand {
|
||||||
"ru": client.translate("administration/goodbye:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/goodbye:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addSubcommand(subcommand => subcommand.setName("test")
|
.addSubcommand(subcommand => subcommand.setName("test")
|
||||||
.setDescription(client.translate("administration/goodbye:TEST"))
|
.setDescription(client.translate("administration/goodbye:TEST"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Selectroles extends BaseCommand {
|
||||||
"ru": client.translate("administration/selectroles:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/selectroles:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addSubcommand(subcommand => subcommand.setName("message")
|
.addSubcommand(subcommand => subcommand.setName("message")
|
||||||
.setDescription(client.translate("administration/selectroles:MESSAGE"))
|
.setDescription(client.translate("administration/selectroles:MESSAGE"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Set extends BaseCommand {
|
||||||
"ru": client.translate("administration/set:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/set:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addStringOption(option => option.setName("type")
|
.addStringOption(option => option.setName("type")
|
||||||
.setDescription(client.translate("owner/debug:TYPE"))
|
.setDescription(client.translate("owner/debug:TYPE"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Setlang extends BaseCommand {
|
||||||
"ru": client.translate("administration/setlang:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/setlang:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addStringOption(option => option.setName("language")
|
.addStringOption(option => option.setName("language")
|
||||||
.setDescription(client.translate("common:LANGUAGE"))
|
.setDescription(client.translate("common:LANGUAGE"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Stealemoji extends BaseCommand {
|
||||||
"ru": client.translate("administration/stealemoji:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/stealemoji:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addStringOption(option => option.setName("emoji")
|
.addStringOption(option => option.setName("emoji")
|
||||||
.setDescription(client.translate("common:EMOJI"))
|
.setDescription(client.translate("common:EMOJI"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
|
@ -16,7 +16,7 @@ class Welcome extends BaseCommand {
|
||||||
"ru": client.translate("administration/welcome:DESCRIPTION", null, "ru-RU"),
|
"ru": client.translate("administration/welcome:DESCRIPTION", null, "ru-RU"),
|
||||||
})
|
})
|
||||||
.setDMPermission(false)
|
.setDMPermission(false)
|
||||||
.setDefaultMemberPermissions(PermissionFlagsBits.Administrator)
|
.setDefaultMemberPermissions(PermissionFlagsBits.ManageGuild)
|
||||||
.addSubcommand(subcommand => subcommand.setName("test")
|
.addSubcommand(subcommand => subcommand.setName("test")
|
||||||
.setDescription(client.translate("administration/goodbye:TEST"))
|
.setDescription(client.translate("administration/goodbye:TEST"))
|
||||||
.setDescriptionLocalizations({
|
.setDescriptionLocalizations({
|
||||||
|
|
Loading…
Reference in a new issue