fix: ignore status and location messages

This commit is contained in:
canove
2020-07-31 07:57:50 -03:00
parent 362c4c183c
commit 32ab7fe505

View File

@@ -138,6 +138,10 @@ const wbotMessageListener = () => {
wbot.on("message_create", async msg => {
// console.log(msg);
if (msg.from === "status@broadcast" || msg.type === "location") {
return;
}
try {
let msgContact;