diff --git a/admin_ext/givevip.py b/admin_ext/givevip.py index 3d05027..70feb4e 100644 --- a/admin_ext/givevip.py +++ b/admin_ext/givevip.py @@ -3,7 +3,7 @@ import discord class Extension: def __init__(self, core): @core.tree.command(name = "givevip", description = "Выдать игроку випку") - @discord.app_commands.checks.has_role("Администратор Фактов13") + @discord.app_commands.checks.has_role("Администратор") @discord.app_commands.describe(profile=core.ANY_INPUT, days="Дней", hours="Часов", minutes="Минут") async def givevip_command( interaction: discord.Interaction, diff --git a/admin_ext/rcon.py b/admin_ext/rcon.py index 6079aa7..c73a28a 100644 --- a/admin_ext/rcon.py +++ b/admin_ext/rcon.py @@ -5,7 +5,7 @@ class Extension: def __init__(self, core): @core.tree.command(name = "rcon", description = "Вызвать команду на сервере") @discord.app_commands.describe(servers="Нужным сервер", command="Команда исполнения") - @discord.app_commands.checks.has_role("Администратор Фактов13") + @discord.app_commands.checks.has_role("Администратор") @discord.app_commands.choices(servers = core.GetServersChoice()) async def rcon_command( interaction: discord.Interaction, diff --git a/admin_ext/unvip.py b/admin_ext/unvip.py index 4531ada..8687eeb 100644 --- a/admin_ext/unvip.py +++ b/admin_ext/unvip.py @@ -3,7 +3,7 @@ import discord class Extension: def __init__(self, core): @core.tree.command(name = "unvip", description = "Забрать випку у игрока") - @discord.app_commands.checks.has_role("Администратор Фактов13") + @discord.app_commands.checks.has_role("Администратор") @discord.app_commands.describe(profile=core.ANY_INPUT) async def unvip_command( interaction: discord.Interaction, diff --git a/admin_ext/use.py b/admin_ext/use.py index bb337a1..efbd377 100644 --- a/admin_ext/use.py +++ b/admin_ext/use.py @@ -3,7 +3,7 @@ import discord class Extension: def __init__(self, core): @core.tree.command(name = "use", description = "Использовать команду на игрока") - @discord.app_commands.checks.has_role("Администратор Фактов13") + @discord.app_commands.checks.has_role("Администратор") @discord.app_commands.describe(command="Команда исполнения", profile=core.ANY_INPUT, args="Аргумент если нужен") async def rcon_use_command( interaction: discord.Interaction, diff --git a/other_ext/register.py b/other_ext/register.py index edc3c7b..e5c4ebe 100644 --- a/other_ext/register.py +++ b/other_ext/register.py @@ -109,7 +109,7 @@ class Extension: @core.tree.command(name = "synclist", description = "Сихронизировать работяг") @discord.app_commands.describe() - @discord.app_commands.checks.has_role("Администратор Фактов13") + @discord.app_commands.checks.has_role("Администратор") async def sync_list_not_have_role(interaction: discord.Interaction): await interaction.response.defer(thinking=True)