Created
December 30, 2023 14:38
-
-
Save Trenchkid123/fc85c271d78f2b6c186fc77521f1e5fc to your computer and use it in GitHub Desktop.
Autobio.md
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.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