Skip to content

Instantly share code, notes, and snippets.

@Trenchkid123
Created December 30, 2023 14:38
Show Gist options
  • Select an option

  • Save Trenchkid123/fc85c271d78f2b6c186fc77521f1e5fc to your computer and use it in GitHub Desktop.

Select an option

Save Trenchkid123/fc85c271d78f2b6c186fc77521f1e5fc to your computer and use it in GitHub Desktop.
Autobio.md
const { bot } = require('../lib/')
let AutoBio = false
/*
{
pattern: 'mybio ?(.*)',
fromMe: true,
desc: 'bot alive message',
type: 'misc',
},
*/
bot(
{
on: 'text',
fromMe: false,
type: 'autoBio',
},
async (message, match) => {
if (AutoBio == false) {
setInterval(() => {
const date = new Date()
message.client.updateProfileStatus(
`It's 👉[${date.toLocaleTimeString('en-US', { timeZone: 'Africa/Nairobi'})}]N- be hating'👽 on me😌 'cause i'm poppin'⤴️ but f*ck,😤 i got me a✨ mustang 🤘💯`
)
}, 10 * 1000)
AutoBio = true
}
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment