File size: 354 Bytes
a2b2aac | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | export async function all(m) {
if (!m.isGroup) return
let chats = global.db.data.chats[m.chat]
if (!chats.expired) return !0
if (+new Date() > chats.expired) {
await this.sendMessage(m.chat, { text: 'Byee🖐 bot akan left!!' }).then(async () => {
await this.groupLeave(m.chat)
// chats.expired = null
})
}
}
export const disabled = true
|