diff --git a/userbot/plugins/evaluators.py b/userbot/plugins/evaluators.py index b5a008a301..6c8994efc2 100644 --- a/userbot/plugins/evaluators.py +++ b/userbot/plugins/evaluators.py @@ -34,14 +34,14 @@ async def _(event): curruser = catuser.username or "catuserbot" uid = os.geteuid() if uid == 0: - cresult = f"`{curruser}:~#` `{cmd}`\n`{result}`" + cresult = f"```{curruser}:~#``` ```{cmd}```\n```{result}```" else: - cresult = f"`{curruser}:~$` `{cmd}`\n`{result}`" + cresult = f"```{curruser}:~$``` ```{cmd}```\n```{result}```" await edit_or_reply( catevent, text=cresult, aslink=True, - linktext=f"**• Exec : **\n`{cmd}` \n\n**• Result : **\n", + linktext=f"**• Exec : **\n```{cmd}``` \n\n**• Result : **\n", ) if BOTLOG: await event.client.send_message( @@ -87,12 +87,12 @@ async def _(event): evaluation = stdout else: evaluation = "Success" - final_output = f"**• Eval : **\n`{cmd}` \n\n**• Result : **\n`{evaluation}` \n" + final_output = f"**• Eval : **\n```{cmd}``` \n\n**• Result : **\n```{evaluation}``` \n" await edit_or_reply( catevent, text=final_output, aslink=True, - linktext=f"**• Eval : **\n`{cmd}` \n\n**• Result : **\n", + linktext=f"**• Eval : **\n```{cmd}``` \n\n**• Result : **\n", ) if BOTLOG: await event.client.send_message(