Listener Add +1
这个提交包含在:
5
Debug.js
5
Debug.js
@ -165,17 +165,18 @@ exports.add={
|
||||
command = command.replace("]","]");
|
||||
command = command.replace("&","&");
|
||||
var time = process.uptime();
|
||||
var Ret = "";
|
||||
|
||||
new Promise(()=>{
|
||||
try{
|
||||
eval(command);
|
||||
Ret = eval(command);
|
||||
}catch(error){
|
||||
Core.frame.SendMsg(connect,info,error);
|
||||
console.log(error);
|
||||
}
|
||||
var te2 = process.uptime() - time;
|
||||
Debug.SaveVar();
|
||||
Core.frame.SendMsg(connect,info,`指令执行完毕,共耗时${te2}秒`);
|
||||
Core.frame.SendMsg(connect,info,`指令执行完毕,共耗时${te2}秒。返回结果${Ret}`);
|
||||
return void 0;
|
||||
}).catch((reason)=>{
|
||||
Core.frame.SendMsg(connect,info,reason);
|
||||
|
||||
在新工单中引用
屏蔽一个用户