From c948a011ee8f5a3c4e3fbbeb71c1fc1bba147440 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Fri, 9 Aug 2024 23:36:24 +0200 Subject: [PATCH] Fix --- src/services/discord.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/discord.py b/src/services/discord.py index d61a5f1..083186f 100644 --- a/src/services/discord.py +++ b/src/services/discord.py @@ -33,7 +33,7 @@ class DiscordClient(discord.Client): client = DiscordClient() -@client.tree.command(guild=Object(id=config.DISCORD_GUILD_ID)) +@client.tree.command() @app_commands.describe( category="Раздел", customer="Кто заказал", @@ -84,7 +84,7 @@ async def game_list_autocomplete( return game_list.get_choices(current) -@client.tree.command(guild=Object(id=config.DISCORD_GUILD_ID)) +@client.tree.command() @app_commands.describe(game="Игра") @app_commands.autocomplete(game=game_list_autocomplete) async def delete(interaction: discord.Interaction, game: str):