Skip to content

Instantly share code, notes, and snippets.

@souravkl11
Last active July 29, 2024 13:06
Show Gist options
  • Save souravkl11/9d4bc508167c2aca2a637eb54be6000b to your computer and use it in GitHub Desktop.
Save souravkl11/9d4bc508167c2aca2a637eb54be6000b 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 = "πŸ“† "+new Date().toLocaleDateString()+" ⌚ "+new Date().toLocaleTimeString()+" π˜ˆπ˜Άπ˜΅π˜°π˜‰π˜ͺ𝘰 ⚑"
await m.client.updateProfileStatus(status)
return "Done"
}
m.jid = m.client.user.id
await m.send("_Auto bio activated!_");
let bioSetter = setInterval(setAbout,10000)
})
@SaiyadTohidali
Copy link

``

@Harisankar-01
Copy link

Bro ee bot koyeb ill deploy cheyumbo bug varunnund MP4 set cheyumbo invalid media type kaanikkunnu pinne alive ill image set cheythaa baakki {sender} onnum work aavunnilla any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment