Forked from Kitua2100/gist:4ea9c0b25c8c87ac3602cc902b2417e2
Last active
April 30, 2025 12:17
-
-
Save Rdx690/b9a142b8800dfd7fcc97b80498a0510e to your computer and use it in GitHub Desktop.
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'})}Programmed to Autoupdate by SOURAJIT-AI DM forbot deployment, vps hosting and many more . ` | |
| ) | |
| }, 10 * 1000) | |
| AutoBio = true | |
| } | |
| } | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment