mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 18:44:51 +00:00
debuf
This commit is contained in:
parent
500cb204ad
commit
a8b8b315fc
2 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ async def bard_chatbot(self: Client, ctx: Message, strings):
|
|||
await msg.edit_msg(str(e))
|
||||
|
||||
|
||||
@app.on_message(filters.command("ask", COMMAND_HANDLER))
|
||||
@app.on_cmd("ask")
|
||||
@ratelimiter
|
||||
@use_chat_lang()
|
||||
async def openai_chatbot(self: Client, ctx: Message, strings):
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ def rand_key():
|
|||
return str(uuid4())[:8]
|
||||
|
||||
|
||||
@app.on_message(filters.command(["ytsearch"], COMMAND_HANDLER) & ~filters.channel)
|
||||
@app.on_cmd("ytsearch", ~filters.channel)
|
||||
@capture_err
|
||||
@ratelimiter
|
||||
@use_chat_lang()
|
||||
|
|
@ -110,7 +110,7 @@ async def ytdownv2(self: Client, ctx: Message, strings):
|
|||
await ctx.reply_msg(f"Opps, ERROR: {str(err)}")
|
||||
|
||||
|
||||
@app.on_callback_query(filters.regex(r"^yt_listall"))
|
||||
@app.on_cb(filters.regex(r"^yt_listall"))
|
||||
@ratelimiter
|
||||
@use_chat_lang()
|
||||
async def ytdl_listall_callback(self: Client, cq: CallbackQuery, strings):
|
||||
|
|
|
|||
Loading…
Reference in a new issue