StableBOT / plugins /_experied.js
RamaZyx's picture
Upload folder using huggingface_hub
a2b2aac verified
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.reply(m.chat, 'Bye🖐 bot akan left!!')
await this.groupLeave(m.chat)
chats.expired = null
}
}