mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Minor Fix
This commit is contained in:
parent
e074578f06
commit
59efec9548
1 changed files with 2 additions and 2 deletions
|
|
@ -143,9 +143,9 @@ async def shell(_, m):
|
|||
@app.on_edited_message((filters.command(["ev", "run"]) | filters.regex(r"app.run\(\)$")) & filters.user(SUDO))
|
||||
@user.on_message(filters.command(["ev", "run"], ".") & filters.me)
|
||||
async def evaluation_cmd_t(_, m):
|
||||
if (m.command and len(m.command) == 1) or m.text == "\napp.run()":
|
||||
if (m.command and len(m.command) == 1) or m.text == "app.run()":
|
||||
return await edit_or_reply(m, text="__No evaluate message!__")
|
||||
cmd = m.text.split(" ", 1)[1] if m.command else m.text.split("app.run()")[0]
|
||||
cmd = m.text.split(" ", 1)[1] if m.command else m.text.split("\napp.run()")[0]
|
||||
status_message = await editPesan(m, "<i>Processing eval pyrogram..</i>") if m.from_user.is_self else await kirimPesan(m, "<i>Processing eval pyrogram..</i>", quote=True)
|
||||
|
||||
old_stderr = sys.stderr
|
||||
|
|
|
|||
Loading…
Reference in a new issue