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]: