diff --git a/misskaty/plugins/dev.py b/misskaty/plugins/dev.py index e64c8cb7..5cd17ce3 100644 --- a/misskaty/plugins/dev.py +++ b/misskaty/plugins/dev.py @@ -143,7 +143,7 @@ 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 == "app.run()": + if (m.command and len(m.command) == 1) or m.text == "\napp.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] status_message = await editPesan(m, "Processing eval pyrogram..") if m.from_user.is_self else await kirimPesan(m, "Processing eval pyrogram..", quote=True)