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

@@ -6,7 +6,7 @@ module.exports = async (messageObject)=>{
console.log(makeResponse.getCommand(messageObject.text))
return {
"chat_id": messageObject.from.id,
"text": await makeResponse.magnet( makeResponse.getPredicate(messageObject.text)),
"text": await makeResponse.makeResponse( messageObject.text ),
"parse_mode": "Markdown",
"reply_to_message_id": messageObject.message_id
}