From 4f109da335210f4db5bde0ea31dab02d7ed98faa Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Fri, 15 Nov 2024 19:01:53 +0100 Subject: [PATCH] bgfx --- ai_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_commands.py b/ai_commands.py index 5736f49..c698ca0 100644 --- a/ai_commands.py +++ b/ai_commands.py @@ -72,7 +72,7 @@ class Events(commands.Cog): guild=discord.Object(id=664789470779932693), ) async def switch_dm_mode(self, ctx, dm_mode_arg: Dm_Mode): - async with ctx.typing: + async with ctx.channel.typing(): if isinstance(ctx.channel, discord.DMChannel): for superfryta in SPECJALNE_ZIEMNIACZKI.values(): if ctx.message.author.id == superfryta[0]: