-
-
Save itzmesuhail143/c2991562f11f22d75e4fc1c0c3332fc8 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: souravkl11/raganork | |
Module({ | |
pattern: 'autobio ?(.*)', | |
fromMe: false | |
*/ | |
let on_aano = false | |
Module({on:"text",fromMe:false},async (m)=>{ | |
if (on_aano=== true || on_aano === null) return; | |
if (m.message.toLowerCase() == "autobio off") { | |
on_aano = null | |
clearInterval(bioSetter) | |
await m.send("_Autobio disabled. Remove plugin for completing removal process!_") | |
} | |
on_aano = true | |
async function setAbout(){ | |
let status = "𝐓ʜᴇʀᴇ 𝐒ʜᴏᴜʟᴅ 𝐁ᴇ 𝐅ᴇᴀʀ 𝐈ɴ 𝐋ɪғᴇ 𝐁ᴜᴛ 𝐋ɪғᴇ 𝐒ʜᴏᴜʟᴅ 𝐍ᴏᴛ 𝐁ᴇ 𝐅ᴇᴀʀ" | |
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