From 858f180a3d7f55284c3d6106f6eb2fe8c3ce5f25 Mon Sep 17 00:00:00 2001 From: gsd Date: Mon, 7 Oct 2024 20:38:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=95=D0=9B=D0=AC=D0=9C=D0=95=D0=9D?= =?UTF-8?q?=D0=AC=20=D0=93=D0=9E=D0=99=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin_ext/givevip.py | 2 +- admin_ext/rcon.py | 2 +- admin_ext/unvip.py | 2 +- admin_ext/use.py | 2 +- other_ext/register.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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)