/* $$$$$$\ $$\ $$ __$$\ $$ | $$ / \__|$$\ $$\ $$$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \$$$$$$\ $$ | $$ |$$ __$$\ \____$$ |$$ __$$\ $$ __$$\ $$ __$$\ \____$$\ $$ | $$ |$$ | $$ | $$$$ _/ $$$$$$$$ |$$ | \__|$$ / $$ | $$\ $$ |$$ | $$ |$$ | $$ | $$ _/ $$ ____|$$ | $$ | $$ | \$$$$$$ |\$$$$$$ |$$$$$$$ |$$$$$$$$\ \$$$$$$$\ $$ | \$$$$$$ | \______/ \______/ \_______/ \________| \_______|\__| \______/ Project Name : ENCRYPTO-27 Creator : Diego Allies ( DUDAS OFC ) Repo : https//github.com/mrfrank-ofc/ENCRYPTO-27 Support : wa.me/27679291800 */ const config = require('../config') const { cmd, commands } = require('../command') cmd({ pattern: "delete", react: "❌", alias: ["del"], desc: "delete message", category: "group", use: '.del', filename: __filename }, async(conn, mek, m,{from, l, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, isItzcp, groupAdmins, isBotAdmins, isAdmins, reply}) => { if (!isOwner || !isAdmins) return; try{ if (!m.quoted) return reply(mg.notextfordel); const key = { remoteJid: m.chat, fromMe: false, id: m.quoted.id, participant: m.quoted.sender } await conn.sendMessage(m.chat, { delete: key }) } catch(e) { console.log(e); reply('SubZero Delete Successful..👨‍💻✅') } })