Last active
December 22, 2023 21:02
-
-
Save Trenchkid123/f24129fb9aed5240c2939ec3f65c3cdc to your computer and use it in GitHub Desktop.
Whatsappbio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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'})} *_Classy〽 with hint🔷 of a Savage_™*$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