feat: Send and receive location

This commit is contained in:
Pedro Lopez 2020-02-08 00:46:08 -04:00
commit 7b229a39a4

View file

@ -123,6 +123,8 @@ client.on('message', async msg => {
client.sendMessage(msg.from, attachmentData, {caption: 'Here\'s your requested media.'});
}
} else if(msg.location) {
msg.reply(msg.location);
}
});