Basic command response

This commit is contained in:
2019-08-06 12:44:30 +05:30
parent a619bb6f30
commit 31b6310d5f
3 changed files with 21 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ module.exports.call = async (base,updateObject)=>{
"body":responseObject
},(err,res,body)=>{
if(err) console.log(err)
if(body.ok) console.log(`Successfully sent: ${body.result[0].message.text}`)
if(body.ok) console.log(`Successfully sent: ${body}`)
})
}
}