mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 12:24: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))
|
await msg.edit_msg(str(e))
|
||||||
|
|
||||||
|
|
||||||
@app.on_message(filters.command("ask", COMMAND_HANDLER))
|
@app.on_cmd("ask")
|
||||||
@ratelimiter
|
@ratelimiter
|
||||||
@use_chat_lang()
|
@use_chat_lang()
|
||||||
async def openai_chatbot(self: Client, ctx: Message, strings):
|
async def openai_chatbot(self: Client, ctx: Message, strings):
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ def rand_key():
|
||||||
return str(uuid4())[:8]
|
return str(uuid4())[:8]
|
||||||
|
|
||||||
|
|
||||||
@app.on_message(filters.command(["ytsearch"], COMMAND_HANDLER) & ~filters.channel)
|
@app.on_cmd("ytsearch", ~filters.channel)
|
||||||
@capture_err
|
@capture_err
|
||||||
@ratelimiter
|
@ratelimiter
|
||||||
@use_chat_lang()
|
@use_chat_lang()
|
||||||
|
|
@ -110,7 +110,7 @@ async def ytdownv2(self: Client, ctx: Message, strings):
|
||||||
await ctx.reply_msg(f"Opps, ERROR: {str(err)}")
|
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
|
@ratelimiter
|
||||||
@use_chat_lang()
|
@use_chat_lang()
|
||||||
async def ytdl_listall_callback(self: Client, cq: CallbackQuery, strings):
|
async def ytdl_listall_callback(self: Client, cq: CallbackQuery, strings):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue