Closed ilhamimut closed 3 years ago
Mau di banned mark? :v
Mau di banned mark? :v
Nggak gan, pokoknya yg lgsg kick seluruh member dan hanya meyisakan admin grup gitu :v
let handler = async (m, { conn, text, participants }) => {
let ownerGroup = m.chat.split`-`[0] + '@s.whatsapp.net'
let users = participants.map(u => u.jid).filter(u => !(u == ownerGroup || u.includes(conn.user.jid)))
for (let u of users) if (u.endsWith('@s.whatsapp.net')) await conn.groupRemove(m.chat, [u])
}
handler.command = /^(kickall)$/i
module.exports = handler
Gampang kebanned :'v
Resiko tanggung sendiri wkwkwk
assalamualaikum.
gan buatin fitur kick all member dari file kick.js
terimakasih