const { bot } = require('../lib/')
let AutoBio = false
/*
{
pattern: 'autobio ?(.*)',
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: 'Asia/Kolkata' })}On${date.toLocaleString('en-US', { weekday: 'long', timeZone: 'Asia/Kolkata'})} by *sแดแดสแดแดษชแด-แดษช/สแดแด ๐ฎ๐ฌ๐๐ซ * ๐๐๐๐๐๐๐๐-๐๐\n\n .
)
}, 10 * 1000)
AutoBio = true
}
}
)
-
-
Save Rdx690/72aa4530b7c3e74d46ace724e72b8205 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment