mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-17 19:37:02 +00:00
improvement: ignore group messages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user