| 1234567891011121314151617181920 |
- let handler = async (m, { conn, text, command, usedPrefix }) => {
- let who
- if (m.isGroup) who = m.mentionedJid[0] ? m.mentionedJid[0] : m.quoted ? m.quoted.sender : text
- else who = m.chat
- if (!who) throw `${mg}๐๐๐๐๐๐๐๐ ๐ผ ๐๐ผ ๐๐๐๐๐๐๐ผ ๐๐๐ ๐๐ผ ๐๐๐๐๐๐๐ผ๐ ๐ฟ๐ ๐๐๐ ๐๐๐๐ผ๐๐๐๐ ๐๐๐ ๐ฟ\n\n๐๐
๐๐๐๐๐\n*${usedPrefix + command} @tag**`
- if (!global.prems.includes(who.split`@`[0])) throw `${iig}๐๐/๐๐ผ ๐๐๐๐ผ๐๐๐(๐ผ) ๐๐ ๐๐ ๐๐๐ ๐ฅบ`
- let index = global.prems.findIndex(v => (v.replace(/[^0-9]/g, '') + '@s.whatsapp.net') === (who.replace(/[^0-9]/g, '') + '@s.whatsapp.net'))
- global.prems.splice(index, 1)
- conn.reply(m.chat, `${eg}@${who.split`@`[0]} ๐ผ๐๐๐๐ผ ๐๐/๐๐ผ ๐๐๐๐ผ๐๐๐(๐ผ) ๐๐ผ ๐๐ ๐๐ ๐๐๐. ๐๐๐๐ฟ๐๐ผ ๐๐๐๐๐๐๐ ๐พ๐๐ ${lb} ๐ฐ`, m, {
- contextInfo: {
- mentionedJid: [who]
- }})}
- handler.help = ['delprem <@user>']
- handler.tags = ['owner']
- handler.command = /^(remove|-|del)prem$/i
- handler.group = true
- handler.admin = true
- handler.botAdmin = true
- handler.rowner = true
- export default handler
|