执行代码的时间记录器,测试自动更新

这个提交包含在:
2020-02-20 15:08:55 +08:00
父节点 512a9ff6fd
当前提交 aa4ac61f37

查看文件

@ -124,13 +124,15 @@ exports.add={
command = command.replace("]","]");
command = command.replace("&","&");
try{
var time = process.uptime();
eval(command);
var te2 = process.uptime - time;
}catch(error){
Core.frame.SendMsg(connect,info,error);
console.log(error);
}
Debug.SaveVar();
Core.frame.SendMsg(connect,info,"指令执行完毕。");
Core.frame.SendMsg(connect,info,`指令执行完毕,共耗时${te2}秒`);
};
if(Temp1 == "说明书"||Temp1 == "用户手册"||Temp1 == "帮助"){