From dee7fe75b326c87662365caa78699bf6a27fe855 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Fri, 9 Aug 2024 10:31:20 +0700 Subject: [PATCH] Update chatbot_ai.py --- misskaty/plugins/chatbot_ai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/chatbot_ai.py b/misskaty/plugins/chatbot_ai.py index 46e1586c..ebab2a51 100644 --- a/misskaty/plugins/chatbot_ai.py +++ b/misskaty/plugins/chatbot_ai.py @@ -60,7 +60,7 @@ async def gemini_chatbot(_, ctx: Message, strings): @app.on_message(filters.command("ask", COMMAND_HANDLER) & pyro_cooldown.wait(10)) @use_chat_lang() -async def gpt4_chatbot(_, ctx: Message, strings): +async def gpt4_chatbot(self, ctx: Message, strings): if len(ctx.command) == 1: return await ctx.reply_msg( strings("no_question").format(cmd=ctx.command[0]), quote=True, del_in=5