This commit is contained in:
2024-07-24 13:13:26 +08:00
parent 45f62ebe81
commit 7a907c1f18
20 changed files with 475 additions and 71 deletions

View File

@ -38,7 +38,10 @@ async function sendMessageAndWaitForResponse(addres, message) {
}
async function runinws( message,addres){
let aa=await sendMessageAndWaitForResponse(addres,message)
if(typeof aa[0]!="array"||aa.length==0)
{
aa=[Buffer.from("error")]
}
return aa
// console.log(aa[1].toString())