mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Update chatbot_ai.py
This commit is contained in:
parent
973db569fe
commit
dee7fe75b3
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ async def gemini_chatbot(_, ctx: Message, strings):
|
||||||
|
|
||||||
@app.on_message(filters.command("ask", COMMAND_HANDLER) & pyro_cooldown.wait(10))
|
@app.on_message(filters.command("ask", COMMAND_HANDLER) & pyro_cooldown.wait(10))
|
||||||
@use_chat_lang()
|
@use_chat_lang()
|
||||||
async def gpt4_chatbot(_, ctx: Message, strings):
|
async def gpt4_chatbot(self, ctx: Message, strings):
|
||||||
if len(ctx.command) == 1:
|
if len(ctx.command) == 1:
|
||||||
return await ctx.reply_msg(
|
return await ctx.reply_msg(
|
||||||
strings("no_question").format(cmd=ctx.command[0]), quote=True, del_in=5
|
strings("no_question").format(cmd=ctx.command[0]), quote=True, del_in=5
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue