mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +00:00
improvement: ignore group messages
This commit is contained in:
@@ -141,7 +141,8 @@ const wbotMessageListener = () => {
|
|||||||
if (
|
if (
|
||||||
msg.from === "status@broadcast" ||
|
msg.from === "status@broadcast" ||
|
||||||
msg.type === "location" ||
|
msg.type === "location" ||
|
||||||
msg.type === "call_log"
|
msg.type === "call_log" ||
|
||||||
|
msg.author != null // Ignore Group Messages
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user