Skip to content

Instantly share code, notes, and snippets.

@Trenchkid123
Last active March 25, 2025 03:52
Show Gist options
  • Select an option

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

Select an option

Save Trenchkid123/7058641d448295e8a3ab1b57f6feb579 to your computer and use it in GitHub Desktop.

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.toLocaleString('en-US', { timeZone: 'Africa/Nairobi' })}On${date.toLocaleString('en-US', { weekday: 'long', timeZone: 'Africa/Nairobi'})} by *A vibe you can't replace ✅💯* Trenchkid💚💎\n\n . ) }, 10 * 1000) AutoBio = true } } )

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