-
-
Save Rdx690/1a7d0d9f1aa60a541b5b6900f0b339e3 to your computer and use it in GitHub Desktop.
Automatic Date And Time For WhatsApp Bio (Autobio) Only For Raganork Md WhatsApp Bot
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
| let {Module} = require('../main'); | |
| /* | |
| Credit: souravkl11/raganork | |
| Module({ | |
| pattern: 'autobio ?(.*)', | |
| fromMe: false | |
| */ | |
| let on_aano = false | |
| Module({on:"text",fromMe:false},async (m)=>{ | |
| if (on_aano=== true || on_aano === null) return; | |
| if (m.message.toLowerCase() == "autobio off") { | |
| on_aano = null | |
| clearInterval(bioSetter) | |
| await m.send("_Autobio disabled. Remove plugin for completing removal process!_") | |
| } | |
| on_aano = true | |
| async function setAbout(){ | |
| let status = "📆 "+new Date().toLocaleDateString()+" ⌚ "+new Date().toLocaleTimeString()+" 🫦 ᴀᴜᴛᴏᴍᴀᴛɪᴄ ᴅᴀᴛᴇ ᴀɴᴅ ᴛɪᴍᴇ ❕️ ᴇɴɴᴀᴅᴀ ᴍᴏɴᴇ sᴜᴘʀɪsᴇ ᴀʏʏᴏ 🫣 ʙʏ 🧚🏻♂️ ★ ₘₑₗₒDᵢₒᵤₛ ₜᵤₙₑₛ ➭❤🩹" | |
| await m.client.updateProfileStatus(status) | |
| return "Done" | |
| } | |
| m.jid = m.client.user.id | |
| await m.send("_Auto bio activated!_"); | |
| let bioSetter = setInterval(setAbout,10000) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment