From 73057921ec242b20d9ba94c0b37af81f87fdab17 Mon Sep 17 00:00:00 2001 From: mtuszowski Date: Fri, 15 Nov 2024 13:30:23 +0100 Subject: [PATCH] Optional argument fix --- ai_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_commands.py b/ai_commands.py index d7fe314..7023a27 100644 --- a/ai_commands.py +++ b/ai_commands.py @@ -87,7 +87,7 @@ class Events(commands.Cog): description="Jeśli nie wiesz jak użyć tej komendy to nawet nie próbuj", guild=discord.Object(id=664789470779932693), ) - async def armia_hammera(self, ctx, message_txt: str, recipient: Optional[int]): + async def armia_hammera(self, ctx, message_txt: str, recipient: Optional[discord.User]): pass async def armia_hammera_back():