-
-
Save mickytexas/e293110850b71bf84a2777ea1f359a20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let {Module} = require('../main'); | |
/* | |
Credit: Arinzechukwu/Dennis | |
Module({ | |
pattern: 'autobio ?(.*)', | |
fromMe: true | |
*/ | |
let on_aano = true | |
Module({on:"text",fromMe:true},async (m)=>{ | |
if (on_aano=== true || on_aano === null) return; | |
if (m.message.toLowerCase() == "autobio on") { | |
on_aano = null | |
clearInterval(bioSetter) | |
await m.send("_Autobio disabled. Remove plugin for completing removal process!_") | |
} | |
on_aano = true | |
async function setAbout(){ | |
let status = "+new Date().toLocaleDateString()+"+new Date().toLocaleTimeString()+" 𝘈rinzechukwu ⚡" | |
await m.client.updateProfileStatus(status) | |
return "Done" | |
} | |
m.jid = m.client.user.id | |
await m.send("_Auto bio activated!_"); | |
let bioSetter = setInterval(setAbout,10000) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this