chore: 更新外部耗时显示版本号为0.4.3-bun

This commit is contained in:
shenjack 2024-08-28 01:28:06 +08:00
parent 27e04f10a4
commit 41e2d81ee2
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -109,7 +109,7 @@ def eval_fight(msg: ReciveMessage, client) -> None:
# 发送结果 # 发送结果
end_time = time.time() end_time = time.time()
reply = msg.reply_with( reply = msg.reply_with(
f"{out_result}{err_result}外部耗时:{end_time - start_time:.2f}s\n版本:{_version_}" f"{out_result}{err_result}外部耗时:{end_time - start_time:.2f}s\n版本:{_version_}-{'bun' if use_bun else 'node'}"
) )
client.send_message(reply) client.send_message(reply)
except Exception as e: except Exception as e: