Update chatbot_ai.py

This commit is contained in:
Yasir Aris M 2024-08-09 10:31:20 +07:00 committed by GitHub
parent 973db569fe
commit dee7fe75b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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