You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ((m.fromMe) || m.fromMe || !m.isGroup) return true
let chat = global.db.data.chats[m.chat]
if (chat.antiTagSw && m.mtype === 'groupStatusMentionMessage') {
await conn.sendMessage(m.chat, { text: `*「 ANTI TAG SW 」*\n\nDetected *${await conn.getName(m.sender)}* you have sent a status mention in the group!\n\nSorry AntiTagSw Is Active In This Group` })
if (isAdmin) return conn.sendMessage(m.chat, { text: '*Eh sorry you admins, you are allowed to tag SW. hehe..*' })
if (!isBotAdmin) return conn.sendMessage(m.chat, { text: '*Bots are not admins, how can they delete messages?*' })