improvement: ignore group messages

This commit is contained in:
canove
2020-08-31 12:05:20 -03:00
parent daf4c1135b
commit e0b6e9ce3f

View File

@@ -141,7 +141,8 @@ const wbotMessageListener = () => {
if (
msg.from === "status@broadcast" ||
msg.type === "location" ||
msg.type === "call_log"
msg.type === "call_log" ||
msg.author != null // Ignore Group Messages
) {
return;
}