mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-10 13:34:51 +00:00
fix
This commit is contained in:
parent
1da7115005
commit
b9aed07f83
1 changed files with 2 additions and 2 deletions
|
|
@ -140,12 +140,12 @@ async def evaluation_cmd_t(_, m):
|
||||||
else:
|
else:
|
||||||
evaluation = "Success"
|
evaluation = "Success"
|
||||||
|
|
||||||
final_output = f"**EVAL**:\n`{cmd}`\n\n**OUTPUT**:\n`{evaluation.strip()}`\n"
|
final_output = f"**EVAL**:\n`{cmd[1]}`\n\n**OUTPUT**:\n`{evaluation.strip()}`\n"
|
||||||
|
|
||||||
if len(final_output) > 4096:
|
if len(final_output) > 4096:
|
||||||
with open("MissKatyEval.txt", "w+", encoding="utf8") as out_file:
|
with open("MissKatyEval.txt", "w+", encoding="utf8") as out_file:
|
||||||
out_file.write(final_output)
|
out_file.write(final_output)
|
||||||
await status_message.reply_document(
|
await m.reply_document(
|
||||||
document="MissKatyEval.txt",
|
document="MissKatyEval.txt",
|
||||||
caption=f"<code>{cmd[: 4096 // 4 - 1]}</code>",
|
caption=f"<code>{cmd[: 4096 // 4 - 1]}</code>",
|
||||||
disable_notification=True,
|
disable_notification=True,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue