Skip to content

Instantly share code, notes, and snippets.

@itzmesuhail143
Forked from souravkl11/autobio.js
Last active February 19, 2024 14:19
Show Gist options
  • Save itzmesuhail143/c2991562f11f22d75e4fc1c0c3332fc8 to your computer and use it in GitHub Desktop.
Save itzmesuhail143/c2991562f11f22d75e4fc1c0c3332fc8 to your computer and use it in GitHub Desktop.
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