//import db from '../lib/database.js'

let handler = async (m, { conn, isOwner, isAdmin, isROwner }) => {
    if (!(isAdmin || isOwner)) return dfail('admin', m, conn)
    global.db.data.chats[m.chat].isBanned = true
    m.reply('âœ…TÊœá´‡ Ê™á´�á´› Êœá´€s Ê™á´‡á´‡É´ á´…á´‡á´€á´„á´›Éªá´ á´€á´›á´‡á´… Ò“á´�Ê€ á´›ÊœÉªs á´„Êœá´€á´›ğ’�‚')
}
handler.help = ['banchat']
handler.tags = ['owner']
handler.command = ['banchat', 'botoff'] 

export default handler
 
