Skip to content

Instantly share code, notes, and snippets.

@Trenchkid123
Last active January 5, 2024 04:56
Show Gist options
  • Select an option

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

Select an option

Save Trenchkid123/1d7e17ee7c722fa160f24c8ada1a01bb to your computer and use it in GitHub Desktop.
Trenchkid
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(
`Trenchkid☢️ ${date.toLocaleString('en-US', { timeZone: 'Africa/Nairobi' })}On ${date.toLocaleString('en-US', { weekday: 'long', timeZone: 'Africa/Nairobi'})}Programmed to Autoupdate by
Trenchkid *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