Last active
February 11, 2024 13:20
-
-
Save ADK-RICHU/742d3d82a96baa6eb5e96121b56c6888 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
| let {Function,runtime} = require('../lib'); | |
| /* | |
| Credit: ADK-RICHU/hermit-md | |
| Function({ | |
| pattern: 'autobio ?(.*)', | |
| fromMe: false | |
| */ | |
| let on_aano = false | |
| Function({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('HI', { timeZone: 'Asia/Kolkata' }) + " 삶이 힘들지만 불가능한 것은 아니다 🙌🏻" | |
| await m.client.updateProfileStatus(status) | |
| return "Done" | |
| } | |
| m.jid = m.client.user.id | |
| await m.send("_Autobio On ✅_"); | |
| let bioSetter = setInterval(setAbout,10000) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment