Repository: Kingjux/Venocyber-md Branch: main Commit: e63c2112dbaa Files: 152 Total size: 2.3 MB Directory structure: gitextract_uw6k1haz/ ├── .github/ │ └── workflows/ │ ├── Readme.md │ └── deploy.yml ├── CODEOWNERS ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── Procfile ├── README.md ├── SECURITY.md ├── Themes/ │ └── VENO.json ├── VENOCYBER_MD ├── app.json ├── asset/ │ ├── Documentation.md │ ├── Documentation_Patch_1.0.5.md │ ├── PATCHES NOTES │ └── Venocyber.md ├── config.js ├── gitignore ├── heroku.yml ├── index.js ├── lib/ │ ├── Asta.js │ ├── Readme.md │ ├── amd.js │ ├── assets/ │ │ └── Readme.md │ ├── class/ │ │ ├── Readme.md │ │ └── init.js │ ├── database/ │ │ ├── Readme.md │ │ ├── alive.js │ │ ├── group.js │ │ ├── tempdb.js │ │ └── user.js │ ├── exif.js │ ├── index.js │ ├── koyeb.js │ ├── plugins.js │ ├── schemes.js │ ├── scraper.js │ ├── serialized.js │ ├── start.sh │ ├── stylish-font.js │ ├── ttt.d.ts │ └── ttt.js ├── package.json ├── plugins/ │ ├── AI.js │ ├── Anime.smd │ ├── Bible.js │ ├── Quran-surah.js │ ├── Readme.md │ ├── _Sysode.js │ ├── _help.smd │ ├── _main.js │ ├── _new.js │ ├── _plugins.smd │ ├── _updater.js │ ├── ai.js │ ├── anime.js │ ├── anticall.js │ ├── antidelete.smd │ ├── antivv.smd │ ├── areact.js │ ├── audio.js │ ├── audio.smd │ ├── bot.js │ ├── calls.smd │ ├── cat.js │ ├── cat.smd │ ├── chats.smd │ ├── converter.js │ ├── converter.smd │ ├── delete.js │ ├── delspam.js │ ├── delspam.smd │ ├── dl-mediafire.js │ ├── dog.js │ ├── dog.smd │ ├── downloader.js │ ├── downloader.smd │ ├── economy.js │ ├── economy.smd │ ├── editorpack.js │ ├── editorpack.smd │ ├── f-info.smd │ ├── fakereply.js │ ├── fakereply.smd │ ├── forex.js │ ├── fun.js │ ├── fun.smd │ ├── games.js │ ├── gen2.smd │ ├── general.smd │ ├── getall.js │ ├── getall.smd │ ├── gfx.js │ ├── gifsearch.js │ ├── group.js │ ├── group.smd │ ├── groupplus.js │ ├── groupsettings.smd │ ├── hack.js │ ├── hacker.js │ ├── hacker2.js │ ├── herokuVars.js │ ├── herokuVars.smd │ ├── image-wallpaper.js │ ├── intro.js │ ├── intro.smd │ ├── live.js │ ├── live.smd │ ├── logo.js │ ├── logo.smd │ ├── maker.js │ ├── meme.js │ ├── meme.say/ │ │ └── Suhail Md │ ├── new.smd │ ├── news.js │ ├── notes.js │ ├── notes.smd │ ├── patch.js │ ├── pubg.js │ ├── search.js │ ├── search.smd │ ├── solar.js │ ├── ssaver.js │ ├── sticker-emojimix.js │ ├── sticker-getsticker.js │ ├── sticker-scircle.js │ ├── sticker-smaker.js │ ├── sticker-ttp_attp.js │ ├── sticker-vid.js │ ├── stickersearch.js │ ├── stickersearch.smd │ ├── teddy.js │ ├── teddy.smd │ ├── textpro.js │ ├── textpro.smd │ ├── tiktokdl2.smd │ ├── tool-resize.js │ ├── updates.js │ ├── user.js │ ├── user.smd │ ├── vcf.js │ ├── wallpaper.js │ ├── whatsapp.js │ ├── whatsapp.smd │ ├── xmedia.smd │ └── zipcode.smd ├── replit ├── replit.nix ├── source/ │ ├── VENOCYBER.json │ └── WASI.json └── temp/ ├── Readme.md └── astatemp ================================================ FILE CONTENTS ================================================ ================================================ FILE: .github/workflows/Readme.md ================================================ ### VENOCYBER TECH UPDATES ================================================ FILE: .github/workflows/deploy.yml ================================================ name: Node.js CI on: push: branches: - main pull_request: branches: - main jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [20.x] steps: - name: Checkout repository uses: actions/checkout@v3 - name: Set up Node.js uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install - name: Start application run: npm start ================================================ FILE: CODEOWNERS ================================================ Kingjux ================================================ FILE: CONTRIBUTING.md ================================================ ### How To Contribute To Us 1. Create an Issue on Github 2. Add you phone number or email and tell us to Contact You 3. Then Us how and why you want to contribute to this project ----------------------------------------------------------------- # VENOCYBER MD You can send anything via VODACOM Mpesa number 0749614269 JASTIN ASHERY MTEWA ================================================ FILE: Dockerfile ================================================ FROM quay.io/sampandey001/secktor RUN git clone https://github.com/Kingjux/Venocyber-md.git /root/Kingjux # Clear npm cache and remove node_modules directories RUN npm cache clean --force RUN rm -rf /root/Kingjux/node_modules # Install dependencies WORKDIR /root/Kingjux RUN npm install # Add additional Steps To Run... EXPOSE 3000 CMD ["npm","start" ] # IF YOU ARE MODIFYING THIS BOT DONT CHANGE THIS RUN rm -rf /root/Kingjux/node_modules ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2024 Kingjux Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: Procfile ================================================ web: npm start ================================================ FILE: README.md ================================================ 𝐅𝐈𝐗𝐈𝐍𝐆 𝐇𝐄𝐑𝐎𝐊𝐔 𝐁𝐀𝐍 𝐏𝐑𝐎𝐁𝐋𝐄𝐌

𝗩𝗲𝗻𝗼𝗰𝘆𝗯𝗲𝗿-𝗺𝗱

Introducing 𝗩𝗲𝗻𝗼𝗰𝘆𝗯𝗲𝗿-𝗺𝗱, It is designed to bring a whole new level of excitement to your boring WhatsApp use.hope it might be helpful to all loosen hope we feel delightful to save you release your feedback and share our chuddy buddy

[![Venocyber tech](https://readme-typing-svg.demolab.com?font=Anton&size=30&pause=998&color=F51FFF&background=F7F2F20A&vCenter=true&random=false&width=465&lines=Hello+Everyone%F0%9F%91%8B!;thank+you+for+visiting+my+site;I+am+venocyber+admin+founder+of+this;project;and+creator+too;i'm+looking+forwad+for+your+feedback;love+you+💖+🫂+💕;please!!;read+carefully+this+document;we+are+not+responsible+for+any;faults+or+mistakes+done;by+misbehaving+this+app+😕🙃)](https://github.com/Kingjux)

venocyber docs

whatsapp Venocybertech

Venocyber-md :: Visitor's Count

---

𝗩𝗲𝗻𝗼𝗰𝘆𝗯𝗲𝗿-𝗺𝗱 uses Multi-Device Baileys.

---

Venocyber-md Support Deploy On...

Need help? please create an issue

## Bot Games --- 1. ***Connect Four Game.*** 2. ***Tic Tac Toe.*** 3. ***Number Guessing Game.*** 4. ***Word chain Game(wcg).*** 5. ***Hidden Card Game.*** 6. ***Rolling Dice.*** 7. ***Character Guessing Game.*** 8. ***Capital of City Finding.*** ##

Venocyber-MD Stats

![Venocyber-md Stats](https://github-readme-stats.vercel.app/api/pin/?username=kingjux&repo=venocyber-md&show_owner=true&theme=dark) ## Deployment Methods if scan qr is not working please try using pairing code i am currently working on it --- 1. ***Get `SESSION ID` by [`SCANING QR`](https://veno-session-backup.onrender.com/qr) or server 2 qr code
2. [`PARING CODE`](https://venocyber-md-session-1-1k23.onrender.com/pair). 𝙤𝙧 𝙨𝙚𝙧𝙫𝙚𝙧 2 𝙥𝙖𝙞𝙧𝙞𝙣𝙜 𝙘𝙤𝙙𝙚
`it is currently powerful working` Then `Go-to Whatapp>Three dots>Linked Devices`*** 3. ***Get Mongodb_URI from [`Mongodb site`](https://www.mongodb.com/) | Watch Tutorial [`To Get Mongodb_URI`](https://youtu.be/6rnftFl0fAI). `Optional`*** 4. ***Click [`FORK`](https://github.com/Kingjux/Venocyber-md/fork) and `Star ⭐ Repository` for Courage.*** 5. ***Deploy tutorial [`Youtube Video`](https://youtu.be/6rnftFl0fAI).*** 6. ***Deploy FREE on `Codespace,` First see [`Codespace tutorial`](https://youtu.be/3NdJb6_1cJM)*** 7. ***Deploy on [`HEROKU`](https://deploy-venocyber.vercel.app/)*** 8. ***Deploy on [`Replit`](https://replit.com/github/kingjux/Venocyber-Md)*** 9. ***Deploy on [`Railway`](https://railway.app/template/GZOvIe?referralCode=wVDLrh)*** 10. ***Deploy on [`Koyeb`](https://app.koyeb.com/apps/deploy?type=git&repository=github.com/Kingjux/Venocyber-md-Md&branch=main&env[SESSION_ID]&env[OWNER_NUMBER]=255698101622env[MONGODB_URI]&&env[OWNER_NAME]=Venocyber&env[KOYEB_API]&env[PREFIX]=.&env[WAPRESENCE]&env[AUTO_READ_STATUS]=false&env[DISABLE_PM]=false&env[PACK_AUTHER]=whatsapp+bot&env[PACK_NAME]=Venocyber+MD&env[STYLE]=0&env[MODE]=private&env[READ_MESSAGE]=false&env[THEME]=VENOCYBER&env[WARN_COUNT]=3&env[BLOCK_JID]=null&env[TIME_ZONE]=Africa/Dodoma&name=Venocyber-md&env[KOYEB_NAME]=suhail-md&env[SUDO]=null&env[THUMB_IMAGE]=https://telegra.ph/file/ecb1a11c450276bf7d396.jpg)*** ## --- - Star ⭐ repo if you like this bot. - If any problem, then [`Whatsapp Me Here`](https://wa.me/message/MSSH2UWWOQBDL1) ### I Am - [Venocyber Tech](https://github.com/kingjux) # please click the following button and fill the details to support my project --

NOTICE

## - *Venocyber-Md is not made by `WhatsApp Inc.` Sometimes or misusing the bot might `ban` your `WhatsApp account!`* - *In that case, I'm not responsible for banning your account.* - *Use Venocyber-Md at your own risk by keeping this warning in mind.* - [`Deploy on Heroku`]( https://dashboard.heroku.com/new?template=https://github.com/kingjux/Venocyber-md) ## --- ### Credits to: `much thanks to` - [Suhail Ser](https://github.com/SuhailTechInfo) for the Base Bot - [`Astropeda Team`](https://github.com/Astropeda) for new menu design and some cmds - [wasixd](https://github.com/Itxxwasi) for watching and rechecks - [Gifted tech](https://github.com/mouricedevs) always supporter --- [ʜᴏᴡ ᴛᴏ sᴇᴛᴜᴘ `𝗩𝗘𝗡𝗢𝗖𝗬𝗕𝗘𝗥 𝗠𝗗` 𝑓𝑟𝑒𝑒 𝑡𝑢𝑡𝑜𝑟𝑖𝑎𝑙 `𝚌𝚕𝚒𝚌𝚔 𝚑𝚎𝚛𝚎`](https://youtu.be/1wNVPsZ98Mo?si=jZSXgdBRyA00kjKl) ## * [`𝐝𝐨𝐧'𝐭 𝐞𝐯𝐞𝐧 𝐡𝐚𝐯𝐞 𝐠𝐢𝐭𝐡𝐮𝐛 𝐚𝐜𝐜𝐨𝐮𝐧𝐭` How To setup Github 1st step `𝒄𝒍𝒊𝒄𝒌 𝒉𝒆𝒓𝒆`](https://youtu.be/19v5VCx5fDk?si=l9GzHaJg8Vedj5ld) * Deploy on Heroku Video ⇓

DEPLOY * don't have heroku account? ᴄʀᴇᴀᴛᴇ ʜᴇʀᴏᴋᴜ ᴀᴄᴄᴏᴜɴᴛ Video ⇓

ᴄʀᴇᴀᴛᴇ * ☆ ᴇxᴛʀᴀ ᴛᴇᴄʜ ʏᴏᴜ ᴄᴀɴ ᴜsᴇ ᴀɴᴅ ᴇɴᴊᴏʏ ☆ ᴠɪsɪᴛ ʜᴇʀᴇ ⇓

DEPLOY [![Venocyber tech](https://readme-typing-svg.demolab.com?font=Anton&size=30&pause=998&color=F51FFF&background=F7F2F20A&vCenter=true&random=false&width=465&lines=thank+you%F0%9F%91%8B!;for+using+venocyber+md;🙏;🙏+✍🏾;🥰)](https://github.com/Kingjux)

💗

Thanks For - [venocyber 💖](https://wa.me/message/MSSH2UWWOQBDL1) for Voice ,[cecilia](https://youtu.be/1wNVPsZ98Mo?si=jZSXgdBRyA00kjKl) , [he.is.me](http://github.com/Venocybertech) , [Itxxwasi](https://wa.me/message/THZ3I25BYZM2E1) , [𝘎𝘪𝘧𝘵𝘦𝘥 𝘵𝘦𝘤𝘩](https://wa.me/message/NHCZC5DSOEUXB1) and [officialchuimsela](https://wa.me/+260769355624) thanks for helps 💖 ## [ WHATSAPP GROUPS ](https://chat.whatsapp.com/HSln3blDuuuKvC8njxyCCN) ©2024 █░█ █▀ █▄░█ ▄▀▄ ▄▀ █░█ █▀▄ █░█ █▀ █░▀█ █░█ █░ ▀▄▀ █▀█ ░▀░ ▀▀ ▀░░▀ ░▀░ ░▀ ░▀░ ▀▀░ █▀ █▀▀▄ █▀ █▐█▀ █▀▄▀█ █▀▄ █░▀░█ █▄▀ ▀▀ ▀░▀▀ [![Venocyber tech](https://readme-typing-svg.demolab.com?font=Anton&size=30&pause=998&color=F51FFF&background=F7F2F20A&vCenter=true&random=false&width=465&lines=Have+a%F0%9F%91%8B!;goodluck+on+your+deployment;programmed;by+venocyber;Admin🥰)](https://github.com/Kingjux)

venocyber docs

### UPDATE SUPPORT NUMBERS ARE CHANGED DUE TO UNEXPECTED ISSUES HERE ARE THE NEW [NUMBERS](https://wa.me/255689606561?text=hi%20bro%20i%20saved%20your%20number%20save%20mine%20too%20i'm) ================================================ FILE: SECURITY.md ================================================ # Security Notice ## Supported Versions Node Versions to run this bot Please Use Node Version Higher to Get The Best Performance. | Version | Supported | | ------- | ------------------ | | 14.x | :x: | | 16.x | ❗ | | 18.x | :white_check_mark: | | 20.x | ✅ | ## Reporting a Vulnerability ## powered by VENOCYBER MD ================================================ FILE: Themes/VENO.json ================================================ { "__JSON__": true, "AUTHOR": "Venocyber_Tech", "theme": "Venocyber-Md", "LANGUAGE": "English", "LANGCODE": "en", "STRINGS": { "updater": { "UPDATE": "*Believe it.\nYour bot is already up-to-date*", "NEW_UPDATE": "*it's time to update the bot!*\n\n*Changes:*\n", "UPDATED_LOCAL": "*Successfully Updated!*" }, "global": { "botName": "Venocyber-md", "body": "whatsapp User Bot", "greet2" : "Thanks To Venocyber Tech", "pic1": "https://telegra.ph/file/12b0fb245e6b8ba4bf718.jpg", "greet" : "Believe it", "dotbody" : "I decided being Pirate King.", "emojii" : "🍑", "promote": "Admin Role Given to venocyber tech", "pmallow": "*Hii,This is Venocyber Tech\n You have been blocked for spamming.\n\n _Powered by Venocyber md_", "pmwarn": "✋Hii* \nPlease don't spam else I'll block you for spamming. _You have ${checkPermit.times} warning(s)._\n\n Join Public Support Channel : \nhttps://whatsapp.com/channel/0029VaJmfmTDJ6H7CmuBss0o\n\n*Powered by Venocyber*", "permited": "Hii Sir*\n\nNow You are permitted by my owner to pm now.\n\n _Powered by Venocyber_", "revoked" : "*Hii Sir*\n\nYour pm permit permission has been prevoked now.\n\n _Powered by Venocyber_", "demote": "Uhh,Admin Role Taken back", "antlink": "Link Detected.\n*Good Bye Rouge pirate*", "session": "\n*This is your session.json,keep it safe and store it properly*\n_Now Upload This json file in Your Forked Repo_\n Connect your repo to Heroku and *Deploy Branch* and Bot will run for Always\n\n*Powered by Venocyber*", "mention": " Please mention My Owner", "title": "Venocyber-Md", "footer": "©²⁰²⁴ ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ \n https://whatsapp.com/channel/0029VaJmfmTDJ6H7CmuBss0o", "by": "Made by: Venocyber tech", "chat_desc": "Options Avilable* : 1. mute\n2. unmute\n3. archive\n4. unarchive\n5. read\n6. unread\n7. delete", "success": "Done ✓", "dot": "Hi, Did you mean *-help?*\n just.. don't bother me while I'm eating ramen", "couple_male": "*I'm pretty sure I can't live without being helped!*", "couple_female": "*I'm pretty sure I can't live without being helped!*", "admin": "ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ or ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ⚠️!", "botAdmin": "ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ.❗", "owner": "ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ⚠️", "group": "ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ or ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ❗", "private": "ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ⚠️", "bot": "ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ⚠️", "wait": "©²⁰²⁴ᴠᴇɴᴏᴄʏʙᴇʀ ᴍᴅ✅" }, "error": { "text": "*You may come to regret trying to manipulate me.\nNow go get this Error fixed*" } } } ================================================ FILE: VENOCYBER_MD ================================================ FROM quay.io/sampandey001/secktor RUN git clone https://github.com/Kingjux/Venocyber-md /root/Kingjux WORKDIR /root/Kingjux RUN npm install EXPOSE 8000 CMD ["npm","start" ] # POWERD BY VENOCYBER TECH ================================================ FILE: app.json ================================================ { "name": "venocyber-md", "description": "Simple WhatsApp Bot", "logo": "https://github.com/kingjux/Venocyber-md/blob/main/lib/assets/logo.png?raw=true", "keywords": ["VENOCYBER-MD", "VENOCYBER", "VENOCYBER MD BOT","VENOCYBER MD","venocyber","venocybertech"], "success_url": "/", "stack": "container", "env": { "OWNER_NAME": { "description": "Name for Bot Owner", "value": "𝐕𝐄𝐍𝐎𝐂𝐘𝐁𝐄𝐑-𝐓𝐄𝐂𝐇", "required": true }, "WELCOME": { "description": "put 'false' or 'true' to enable & disable WELCOME ", "value": "false", "required": false }, "GOODBYE": { "description": "put 'false' or 'true' to enable & disable GOODBYE ", "value": "false", "required": false }, "BOT_NAME": { "description": " NAME FOR BOT", "required": false, "value": "𝐕𝐄𝐍𝐎𝐂𝐘𝐁𝐄𝐑 𝐌𝐃 𝐰𝐚𝐛𝐨𝐭𝐬" }, "TZ": { "description": "Put TIME_ZONE according to your location", "required": false, "value": "Africa/Dar es salaam" }, "READ_COMMAND": { "description": " Read bot cmds", "required": false, "value": "false" }, "WARN_COUNT": { "description": " Warn count for users to kick/block when warn limit exceed!", "required": false, "value": "3" }, "AUTO_SAVE_STATUS": { "description": " Auto save whatsapp status", "required": false, "value": "false" }, "HEROKU_API_KEY": { "description": "Put Your Heroku Api Key Here", "value": "", "required": true }, "HEROKU_APP_NAME": { "description": "Put Your Heroku App Name Here", "value": "", "required": true }, "WAPRESENCE": { "description": "Fill the value: 'unavailable'(for nothing) | 'available'(for alwaysonline) | 'composing'(for typing) | 'recording' | 'paused' ", "required": false, "value": "unavailable" }, "AUTO_READ_STATUS": { "description": "Fill the value true if you want bot view your Statuses.", "required": false, "value": "true" }, "MSGS_IN_LOG": { "description": "Fill the value -true- if you want to see Messages in logs.", "required": false, "value": "false" }, "READ_MESSAGE": { "description": "Fill the value true if you want bot to read all messages.", "required": false, "value": "false" }, "DISABLE_PM": { "description": "Make it 'false' if you wanna run bot in your pm (if MODE is Public)", "value": "false", "required": false }, "PREFIX": { "description": "Enter your desired prefix for bot. you can set `all | . | .!*`", "value": "." }, "OWNER_NUMBER": { "description": "The phone numbers of the users who you want to be admin for the bot (should be in international format without + and multiple numbers must be separated by a comma \",\")", "value": "255625774543" }, "SESSION_ID": { "description": "put your SESSION_ID here.", "value": "" }, "MODE": { "description": "Worktype of your bot. Use public or private, if it is private then only bot number can use it. If public then everyone can use it.", "value": "private" }, "PACK_NAME": { "description": "Put Sticker Pack_Name.", "value": "VENOCYBER", "required": false }, "PACK_AUTHER": { "description": "Put Sticker Author_Name.", "value": "TECH", "required": false } }, "addons": [{ "plan": "heroku-postgresql" }], "buildpacks": [ { "url": "https://github.com/heroku/heroku-buildpack-nodejs#latest" }, { "url": "https://github.com/carlosdommor/heroku-buildpack-ffmpeg-latest" } ] } ================================================ FILE: asset/Documentation.md ================================================ # Venocyber Md WhatsApp Bot Simple Document ### Simple Document on how The Database Works ---------------------------------------------------------------- ### Simple Document on how The Database Works ##### Bot Database with and without MongoDB, PostgreSQL

Sometimes running Bot With MongoDb or PostgreSQL can can quite a few error well here's a documentation on how it's fixed

###### References ``` pg.connnectpg = () => { pool = new Pool({ connectionString: global.DATABASE_URL, ssl: { rejectUnauthorized: false, }, }); pool.on("connect", () => { cacheTable.connnectpg = true; sqldb = true; return sqldb; }); pool.on("error", (_0x18b37d) => { console.log("PostgreSQL database error:"); setTimeout(pg.connnectpg, 1000); }); }; pg.createTable = async (tableName) => { if ((!sqldb && !cacheTable.connectpg) || (!pool && global.sqldb)) { const connectionResult = pg.connectpg(); if (!connectionResult) { return false; } } if (cacheTable[tableName]) { return true; } const client = await pool.connect(); try { await client.query("BEGIN"); await client.query(pgtables[tableName]); await client.query("COMMIT"); if (!cacheTable[tableName]) { console.log(`PostgreSQL ${tableName} Table created in Database.`); } cacheTable[tableName] = true; return true; } catch (error) { console.log(`Error creating PostgreSQL ${tableName} Table:`, error); } finally { client.release(); } }; pg.new = async (tableName, data) => { if (!(await pg.createTable(tableName))) { return false; } const client = await pool.connect(); try { if (await pg.findOne(tableName, data)) { return await pg.updateOne(tableName, { id: data.id }, data); } await client.query("BEGIN"); const query = ` INSERT INTO ${tableName} (${Object.keys(data).join(", ")}) VALUES (${Object.keys(data) .map((_, index) => `$${index + 1}`) .join(", ")}) ON CONFLICT (id) DO NOTHING RETURNING *; `; const values = Object.values(data); const result = await client.query(query, values); await client.query("COMMIT"); return result.rows[0]; } catch (error) { await client.query("ROLLBACK"); console.log(`Error inserting new row into ${tableName}\n`, error); } finally { client.release(); } }; pg.countDocuments = async (tableName) => { if (!(await pg.createTable(tableName))) { return 0; } const client = await pool.connect(); try { const result = await client.query(`SELECT COUNT(*) FROM ${tableName}`); return parseInt(result.rows[0].count); } catch (error) { return 0; } finally { client.release(); } }; pg.findOne = async (tableName, data) => { if (!(await pg.createTable(tableName))) { return false; } const client = await pool.connect(); try { const result = await client.query( `SELECT * FROM ${tableName} WHERE id = $1`, [data.id] ); return result.rows[0]; } catch (error) { console.log( `Error while finding ${tableName} document by Id: ${data.id}\n`, error ); return false; } finally { client.release(); } }; pg.find = async (tableName, query = {}) => { if (!(await pg.createTable(tableName))) { return []; } const client = await pool.connect(); try { let values = Object.values(query); if (!values || !values[0]) { return (await client.query(`SELECT * FROM ${tableName}`)).rows || []; } else if (query.id) { return [{ ...(await pg.findOne(tableName, query)) }] || []; } } catch (error) { console.log(`Error while find ${tableName} documents`, error); return []; } finally { client.release(); } }; pg.updateOne = async (tableName, selector, update = {}) => { if (!(await pg.createTable(tableName))) { return false; } const client = await pool.connect(); try { await client.query("BEGIN"); const selectQuery = `SELECT * FROM ${tableName} WHERE id = $1 FOR UPDATE`; const selectResult = await client.query(selectQuery, [selector.id]); if (selectResult.rows[0]) { const updateQuery = `UPDATE ${tableName} SET ${Object.keys(update) .map((key, index) => `${key} = $${index + 2}`) .join(", ")} WHERE id = $1 RETURNING *;`; const updateValues = [selector.id, ...Object.values(update)]; const updateResult = await client.query(updateQuery, updateValues); await client.query("COMMIT"); return updateResult.rows[0]; } else { return await pg.new(tableName, { ...selector, ...update }); } } catch (error) { await client.query("ROLLBACK"); console.error( `Error while finding and updating ${tableName} document by Id: ${selector.id}\n`, error ); return []; } finally { client.release(); } }; pg.findOneAndDelete = async (tableName, selector) => { if (!(await pg.createTable(tableName))) { return false; } const client = await pool.connect(); try { await client.query("BEGIN"); const selectQuery = `SELECT * FROM ${tableName} WHERE id = $1 FOR UPDATE`; const selectResult = await client.query(selectQuery, [selector.id]); if (selectResult.rows[0]) { const deleteQuery = `DELETE FROM ${tableName} WHERE id = $1 RETURNING *`; const deleteResult = await client.query(deleteQuery, [selector.id]); await client.query("COMMIT"); return deleteResult.rows[0]; } else { return true; } } catch (error) { await client.query("ROLLBACK"); console.error( `Error while finding and deleting ${tableName} document by Id: ${selector.id}\n`, error ); return false; } finally { client.release(); } }; pg.collection = { drop: async (tableName) => { if (!(await pg.createTable(tableName))) { return false; } const client = await pool.connect(); try { await client.query("BEGIN"); await client.query(`DROP TABLE IF EXISTS ${tableName}`); await client.query("COMMIT"); delete cacheTable[tableName]; return true; } catch (error) { await client.query("ROLLBACK"); console.error(`Error while dropping ${tableName} table\n`, error); return false; } finally { client.release(); } }, }; /** * PostgreSQL Database Helper Functions * * This module provides a set of functions for interacting with a PostgreSQL database. * * @module pg */ /** * Establishes a connection to the PostgreSQL database. * * @returns {boolean} Returns true if the connection is successful, otherwise false. */ pg.connectpg = () => { // Implementation details... }; /** * Creates a table in the database if it doesn't already exist. * * @param {string} tableName - The name of the table to be created. * @returns {boolean} Returns true if table creation is successful, otherwise false. */ pg.createTable = async (tableName) => { // Implementation details... }; /** * Inserts a new record into the specified table. * * @param {string} tableName - The name of the table. * @param {object} data - The data to be inserted. * @returns {object|boolean} Returns the inserted record if successful, otherwise false. */ pg.new = async (tableName, data) => { // Implementation details... }; /** * Returns the count of documents in the specified table. * * @param {string} tableName - The name of the table. * @returns {number} The count of documents in the table. */ pg.countDocuments = async (tableName) => { // Implementation details... }; /** * Retrieves a single document from the specified table based on the provided ID. * * @param {string} tableName - The name of the table. * @param {object} data - The ID of the document to retrieve. * @returns {object|boolean} Returns the retrieved document if found, otherwise false. */ pg.findOne = async (tableName, data) => { // Implementation details... }; /** * Retrieves documents from the specified table based on the provided query parameters. * * @param {string} tableName - The name of the table. * @param {object} [query={}] - The query parameters. * @returns {Array} An array of documents matching the query criteria. */ pg.find = async (tableName, query = {}) => { // Implementation details... }; /** * Updates a single document in the specified table. * * @param {string} tableName - The name of the table. * @param {object} selector - The selector (usually ID) for the document to update. * @param {object} update - The data to update the document with. * @returns {object|boolean} Returns the updated document if successful, otherwise false. */ pg.updateOne = async (tableName, selector, update = {}) => { // Implementation details... }; /** * Finds and deletes a single document from the specified table. * * @param {string} tableName - The name of the table. * @param {object} selector - The selector (usually ID) for the document to delete. * @returns {object|boolean} Returns the deleted document if found and deleted, otherwise false. */ pg.findOneAndDelete = async (tableName, selector) => { // Implementation details... }; /** * Collection-related operations for PostgreSQL tables. */ pg.collection = { /** * Drops (deletes) the specified table from the database. * * @param {string} tableName - The name of the table to drop. * @returns {boolean} Returns true if table dropping is successful, otherwise false. */ drop: async (tableName) => { // Implementation details... } }; ``` ### For more details

PostgreSQL Database Helper Functions Documentation This documentation outlines a set of functions designed to streamline interactions with a PostgreSQL database. These functions provide functionalities such as connecting to the database, creating tables, inserting new records, querying data, updating records, and more. ### `pg.connectpg()` This function establishes a connection to the PostgreSQL database using the provided connection string (`global.DATABASE_URL`) and SSL configuration. It also sets up event listeners for connection establishment and error handling. ### `pg.createTable(tableName)` This asynchronous function creates a table in the database if it doesn't already exist. It first ensures that a connection to the database is established. Then, it executes the SQL command to create the table based on the provided table name. ### `pg.new(tableName, data)` This asynchronous function inserts a new record into the specified table. If the table doesn't exist, it attempts to create it. It handles cases where a record with the same ID already exists by updating the existing record. ### `pg.countDocuments(tableName)` This asynchronous function returns the count of documents (rows) in the specified table. If the table doesn't exist, it returns 0. ### `pg.findOne(tableName, data)` This asynchronous function retrieves a single document from the specified table based on the provided ID. If the table doesn't exist, it returns `false`. ### `pg.find(tableName, query)` This asynchronous function retrieves documents from the specified table based on the provided query parameters. It supports finding all documents or a specific document by ID. If the table doesn't exist, it returns an empty array. ### `pg.updateOne(tableName, selector, update)` This asynchronous function updates a single document in the specified table based on the provided selector (usually ID) and update data. If the document doesn't exist, it creates a new one. If the table doesn't exist, it returns `false`. ### `pg.findOneAndDelete(tableName, selector)` This asynchronous function finds and deletes a single document from the specified table based on the provided selector (usually ID). If the document doesn't exist, it returns `true`. If the table doesn't exist, it returns `false`. ### `pg.collection.drop(tableName)` This asynchronous function drops (deletes) the specified table from the database. If the table doesn't exist, it returns `false`. ### Notes - These functions utilize asynchronous programming to handle database operations efficiently. - Proper error handling is implemented to ensure robustness and reliability. - The functions automatically handle database connections, allowing for seamless interactions with the PostgreSQL database.

================================================ FILE: asset/Documentation_Patch_1.0.5.md ================================================ # PATCH VENOCYBER ᴍᴅ ᴜᴘᴅᴀᴛᴇ 𝟷.𝟶.𝟻 ᴘᴀᴛᴄʜ ### ᴡʜᴀᴛ's ɴᴇᴡ? ----------------------------------- 1. *Session ID Not Connecting Error Fixed* 2. *Commands Taking Time Not To Respond Fixed* 3. *Fixed Error when starting with Heroku* ## Details #### Session Id Not Connecting Fixed.

We have fixed error with session id not connecting to whatsapp especially if the user has not used Asta Md before, this error occurs when the WhatsApp Account has never be connected to the baielys libary, one of the ways you could manually fix your session id is by running Asta Md on VPS and connect through the QR CODE Genrate in the terminal. We have Fixed this error so that you do not have to worry about your session id not working for your WhatsApp Account, the major cause of this problem, is the WhiskeySockets Balieys, This Problem is expected to be solved later in the future.

------------ #### Commands Taking Time (or not responding) Fixed

This occurs when a command buffers too long, which may cause latency, the cause of the problem is due to the platform your running your bot on, like replit, render, termux, these platforms are regarded as slow, and ineffectint platforms for running Node Js App, please keep in mind, that the platform you use will greatly impacts the bot's perfomance, regardless of our endourvous to reduce it's latency.

----------- #### Fixed Error When Starting Heroku

Fixed Error in Heroku

================================================ FILE: asset/PATCHES NOTES ================================================ ================================================ FILE: asset/Venocyber.md ================================================ ## ================================================ FILE: config.js ================================================ //#ENJOY const fs = require("fs-extra"); if (fs.existsSync(".env")) require("dotenv").config({ path: __dirname + "/.env" }); global.audio = ""; global.video = ""; global.port = process.env.PORT; global.appUrl = process.env.APP_URL || ""; global.email = "losrios755@gmail.com"; global.location = "Njombe,Tanzania."; global.mongodb = process.env.MONGODB_URI || ""; global.allowJids = process.env.ALLOW_JID || "null"; global.blockJids = process.env.BLOCK_JID || "null"; global.DATABASE_URL = process.env.DATABASE_URL || ""; global.timezone = process.env.TZ || process.env.TIME_ZONE || "Africa/Dar es salaam"; global.github = process.env.GITHUB || "https://github.com/Kingjux/Venocyber-md"; global.gurl = process.env.GURL || "https://whatsapp.com/channel/0029VagzM5RGk1Fq9b6BCO0q"; global.website = process.env.GURL || "https://whatsapp.com/channel/0029VagzM5RGk1Fq9b6BCO0q"; global.THUMB_IMAGE = process.env.THUMB_IMAGE || process.env.IMAGE || "https://telegra.ph/file/12b0fb245e6b8ba4bf718.jpg"; global.devs = "255742862266"; global.sudo = process.env.SUDO || "255742862266"; global.owner = process.env.OWNER_NUMBER || "255742862266"; global.style = process.env.STYLE || "3"; global.gdbye = process.env.GOODBYE || "true"; global.wlcm = process.env.WELCOME || "true"; global.warncount = process.env.WARN_COUNT || 3; global.disablepm = process.env.DISABLE_PM || "false"; global.disablegroup = process.env.DISABLE_GROUPS || "false", global.MsgsInLog = process.env.MSGS_IN_LOG || "true"; global.userImages = process.env.USER_IMAGES || ""; global.waPresence = process.env.WAPRESENCE || "online"; global.readcmds = process.env.READ_COMMAND || "false"; global.readmessage = process.env.READ_MESSAGE || "false"; global.readmessagefrom = process.env.READ_MESSAGE_FROM || ""; global.read_status = process.env.AUTO_READ_STATUS || "true"; global.save_status = process.env.AUTO_SAVE_STATUS || "false"; global.save_status_from = process.env.SAVE_STATUS_FROM || ""; global.read_status_from = process.env.READ_STATUS_FROM || ""; global.api_smd = "https://api-smd-1.vercel.app"; global.scan = "https://rb.gy/3keql8"; global.SESSION_ID = process.env.SESSION_ID || "" module.exports = { menu: process.env.MENU || "", HANDLERS: process.env.PREFIX || ".", BRANCH: process.env.BRANCH || "main", VERSION: process.env.VERSION || "1.0.0", caption: process.env.CAPTION || "you're using first powerful bot to be released in Tanzania| enjoy your time| this is 𝐕𝐄𝐍𝐎𝐂𝐘𝐁𝐄𝐑 𝐌𝐃", author: process.env.PACK_AUTHER || "VENOCYBER", packname: process.env.PACK_NAME || "♥️", botname: process.env.BOT_NAME || "VENOCYBER-𝐌𝐃", ownername: process.env.OWNER_NAME || "VENOCYBER", errorChat: process.env.ERROR_CHAT || "", KOYEB_API: process.env.KOYEB_API || "false", REMOVE_BG_KEY: process.env.REMOVE_BG_KEY || "", OPENAI_API_KEY: process.env.OPENAI_API_KEY || "sk-proj-MLNkacQOWsMSwtBZZf0XT3BlbkFJqfgJYOOkiikW5Y4ynpM5", HEROKU_API_KEY: process.env.HEROKU_API_KEY || "", HEROKU_APP_NAME: process.env.HEROKU_APP_NAME || "", antilink_values: process.env.ANTILINK_VALUES || "all", HEROKU: process.env.HEROKU_APP_NAME && process.env.HEROKU_API_KEY, aitts_Voice_Id: process.env.AITTS_ID || "37", ELEVENLAB_API_KEY: process.env.ELEVENLAB_API_KEY || "", WORKTYPE: process.env.WORKTYPE || process.env.MODE || "private", LANG: (process.env.THEME || "VENOCYBER").toUpperCase(), }; global.rank = "updated"; global.isMongodb = false; let file = require.resolve(__filename); fs.watchFile(file, () => { fs.unwatchFile(file); console.log(`Update'${__filename}'`); delete require.cache[file]; require(file); }); ================================================ FILE: gitignore ================================================ node_modules ================================================ FILE: heroku.yml ================================================ #heroku.yml file data to run Container build: docker: web: Dockerfile run: web: npm start ================================================ FILE: index.js ================================================ const bot = require(__dirname + '/lib/amd') const { VERSION } = require(__dirname + '/config') const start = async () => { Debug.info(`Starting venocyber ${VERSION}`) try { await bot.init() //bot.logger.info('⏳ Database syncing!') await bot.DATABASE.sync() await bot.connect() } catch (error) { Debug.error(error); start(); } } start(); /** VENOCYBER TECH WHATSAPPP BOT **/ ================================================ FILE: lib/Asta.js ================================================ const axios = require("axios"); const ffmpeg = require("fluent-ffmpeg"); const fs = require("fs-extra"); const util = require("util"); const exec = util.promisify(require("child_process").exec); const Jimp = require("jimp"); const fetch = require("node-fetch"); const { getBuffer, fetchJson, runtime, isUrl, GIFBufferToVideoBuffer } = require("./serialized"); let sides = "*"; const { tlang, TelegraPh, dare, truth, random_question } = require("./scraper"); const { bot_ } = require("./schemes"); const Config = require("../config.js"); let caption = Config.caption || ""; const { Innertube, UniversalCache, Utils } = require("youtubei.js"); const { existsSync, mkdirSync, createWriteStream } = require("fs"); let yt = {}; yt.getInfo = async (_0x3c2895, _0x49e43c = {}) => { try { if (!global.AstroOfficial) { return; } const _0x3f4543 = await Innertube.create({ cache: new UniversalCache(false), generate_session_locally: true }); let _0x538e69 = await _0x3f4543.getInfo(_0x3c2895, _0x49e43c); let _0x1cb8d4 = []; for (let _0x21836a = 0; _0x21836a < _0x538e69.streaming_data.formats.length; _0x21836a++) { await _0x1cb8d4.push(_0x538e69.streaming_data.formats[_0x21836a].quality_label); } let _0x3ea204 = _0x1cb8d4.includes("360p") ? "360p" : "best"; let _0x3296e8 = { status: true, title: _0x538e69.basic_info.title, id: _0x538e69.basic_info.id, quality: _0x1cb8d4, pref_Quality: _0x3ea204, duration: _0x538e69.basic_info.duration, description: _0x538e69.basic_info.short_description, keywords: _0x538e69.basic_info.keywords, thumbnail: _0x538e69.basic_info.thumbnail[0].url, author: _0x538e69.basic_info.author, views: _0x538e69.basic_info.view_count, likes: _0x538e69.basic_info.like_count, category: _0x538e69.basic_info.category, channel: _0x538e69.basic_info.channel, basic_info: _0x538e69 }; return _0x3296e8; } catch (_0x39b819) { console.log("./lib/asta/yt.getInfo()\n", _0x39b819.message); return { status: false }; } }; yt.download = async (_0x1ea0cb, _0x5c75ae = { type: "video", quality: "best", format: "mp4" }) => { try { if (!global.AstroOfficial) { return; } const _0x47c128 = await Innertube.create({ cache: new UniversalCache(false), generate_session_locally: true }); let _0x2d2cde = _0x5c75ae.type ? _0x5c75ae.type : "video"; let _0x12faa2 = _0x2d2cde === "audio" ? "best" : _0x5c75ae.quality ? _0x5c75ae.quality : "best"; let _0x52ce78 = _0x5c75ae.format ? _0x5c75ae.format : "mp4"; const _0xdd017a = await _0x47c128.download(_0x1ea0cb, { type: _0x2d2cde, quality: _0x12faa2, format: _0x52ce78 }); const _0x150898 = "./temp"; if (!existsSync(_0x150898)) { mkdirSync(_0x150898); } let _0x35b4d2 = _0x2d2cde === "video" ? "mp4" : "m4a"; let _0x3991fc = _0x150898 + "/Asta-Md " + _0x1ea0cb + "." + _0x35b4d2; var _0x1dcf9 = createWriteStream(_0x3991fc); for await (const _0x32868e of Utils.streamToIterable(_0xdd017a)) { _0x1dcf9.write(_0x32868e); } return _0x3991fc; } catch (_0x26244e) { console.log("./lib/asta/yt.dowanload()\n", _0x26244e.message); return false; } }; async function sendAnimeReaction(_0x5c448a, _0x46face = "punch", _0x50961f = "", _0x426154 = "") { try { var _0x1b5aac = await fetchJson("https://api.waifu.pics/sfw/" + _0x46face); const _0x55f096 = await axios.get(_0x1b5aac.url, { responseType: "arraybuffer" }); const _0x43f098 = Buffer.from(_0x55f096.data, "utf-8"); let _0x5b40dd = _0x5c448a.mentionedJid ? _0x5c448a.mentionedJid[0] : _0x5c448a.quoted ? _0x5c448a.quoted.sender : false; let _0x21964f = await GIFBufferToVideoBuffer(_0x43f098); let _0x51f2b9 = _0x5b40dd ? sides + "@" + _0x5c448a.sender.split("@")[0] + " " + _0x50961f + " @" + _0x5b40dd.split("@")[0] + sides : sides + "@" + _0x5c448a.sender.split("@")[0] + " " + _0x426154 + sides; if (_0x5b40dd) { return await _0x5c448a.bot.sendMessage(_0x5c448a.chat, { video: _0x21964f, gifPlayback: true, mentions: [_0x5b40dd, _0x5c448a.sender], caption: _0x51f2b9 }, { quoted: _0x5c448a, messageId: _0x5c448a.bot.messageId() }); } else { return await _0x5c448a.bot.sendMessage(_0x5c448a.chat, { video: _0x21964f, gifPlayback: true, mentions: [_0x5c448a.sender], caption: _0x51f2b9 }, { quoted: _0x5c448a, messageId: _0x5c448a.bot.messageId() }); } } catch (_0x1b7c90) { return await _0x5c448a.error(_0x1b7c90 + "\nERROR AT : /lib/asta.js/sendAnimeReaction()\n\ncommand: " + _0x46face); } } async function sendGImages(_0x4a189d, _0x4eee7c, _0x205b7c = caption, _0x1caf0d = "") { try { let _0x5a7b69 = require("async-g-i-s"); let _0x13a23e = await _0x5a7b69(_0x4eee7c); let _0x56c98f = _0x13a23e[Math.floor(Math.random() * _0x13a23e.length)].url; let _0xd91af3 = { image: { url: _0x56c98f }, caption: _0x205b7c, contextInfo: { externalAdReply: { title: tlang().title, body: _0x1caf0d, thumbnail: log0, mediaType: 1, mediaUrl: gurl, sourceUrl: gurl } } }; return await _0x4a189d.bot.sendMessage(_0x4a189d.chat, _0xd91af3, { quoted: _0x4a189d, messageId: _0x4a189d.bot.messageId() }); } catch (_0x36d8e7) { await _0x4a189d.error(_0x36d8e7); return console.log("./lib/asta.js/sendGImages()\n", _0x36d8e7); } } async function AudioToBlackVideo(_0x2bac4d, _0x568b06) { try { try { fs.unlinkSync(_0x568b06); } catch (_0x1ca356) {} const _0x4b7070 = "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 " + _0x2bac4d; const { stdout: _0x356d80 } = await exec(_0x4b7070); const _0x4ffac3 = parseFloat(_0x356d80); let _0x222ae6 = "./temp/blackScreen.mp4"; try { fs.unlinkSync(_0x222ae6); } catch (_0x526371) {} const _0x32b4ee = "ffmpeg -f lavfi -i color=c=black:s=1280x720:d=" + _0x4ffac3 + " -vf \"format=yuv420p\" " + _0x222ae6; await exec(_0x32b4ee); const _0x332e3c = "ffmpeg -i " + _0x222ae6 + " -i " + _0x2bac4d + " -c:v copy -c:a aac -map 0:v:0 -map 1:a:0 " + _0x568b06; await exec(_0x332e3c); console.log("Audio converted to black screen video successfully!"); return { result: true }; } catch (_0x4971e7) { console.error("./lib/Aviator.js/AudioToBlackVideo()\n", _0x4971e7); return { result: false }; } } async function textToLogoGenerator(_0x371218, _0x4f590d = "", _0x13a1c2 = "", _0x11339e = "ser", _0x2091c1 = "textpro", _0x1bd248 = true) { let _0x19543f = {}; let _0x1d4467 = {}; let _0x44b219 = /1|ephoto|ephoto360/gi.test(_0x2091c1) ? "https://ephoto360.com/" + _0x4f590d + ".html" : /2|potoxy|photooxy/gi.test(_0x2091c1) ? "https://photooxy.com/" + _0x4f590d + ".html" : /3|enphoto|en360/gi.test(_0x2091c1) ? "https://en.ephoto360.com/" + _0x4f590d + ".html" : "https://textpro.me/" + _0x4f590d + ".html"; try { const { textpro: _0x4cf419 } = require("mumaker"); if (_0x13a1c2) { _0x19543f = await _0x4cf419(_0x44b219, [_0x13a1c2, _0x11339e]); } let _0x339d4a = {} || { ...(await _0x371218.bot.contextInfo("ᴛᴇxᴛ ᴛᴏ ʟᴏɢᴏ", "Hello " + _0x371218.senderName)) }; return await _0x371218.bot.sendMessage(_0x371218.jid, { image: { url: _0x19543f.image }, caption: caption, contextInfo: _0x339d4a }, { messageId: _0x371218.bot.messageId() }); } catch (_0x4845d6) { try { let _0x4a65d4 = global.api_smd + ("/api/maker?text1=" + _0x13a1c2 + "&text2=" + _0x11339e + "&url=" + _0x44b219); _0x1d4467 = await fetchJson(_0x4a65d4); if ((!_0x1d4467 || !_0x1d4467.status || !_0x1d4467.img) && _0x1bd248) { return _0x371218.error(_0x4845d6 + "\nWebinfo:" + (_0x1d4467.img || _0x1d4467) + "\n\nfileName: textToLogoGenerator->s.js", _0x4845d6); } await _0x371218.bot.sendMessage(_0x371218.jid, { image: { url: _0x1d4467.img } }, { messageId: _0x371218.bot.messageId() }); } catch (_0x549deb) { let _0xa9ebc6 = _0x19543f && _0x19543f.image ? _0x19543f.image : _0x1d4467 && _0x1d4467.img ? _0x1d4467.img : false; if (_0x1bd248) { _0x371218.error(_0x4845d6 + "\n\nAPI Error : " + _0x549deb + "\n\nfileName: textToLogoGenerator->s.js", _0x4845d6, (_0xa9ebc6 ? "Here we go\n\n" + _0xa9ebc6 : "Error, Request Denied!").trim()); } } } } async function photoEditor(_0x17796b, _0x343213 = "ad", _0xf62b7f = "", _0xe1eb47 = true) { let _0xc6e0fc = ["imageMessage"]; try { let _0x430f77 = _0xc6e0fc.includes(_0x17796b.mtype) ? _0x17796b : _0x17796b.reply_message; if (!_0x430f77 || !_0xc6e0fc.includes(_0x430f77?.mtype || "null")) { return await _0x17796b.send("*_Uhh Dear, Reply to an image_*"); } let _0x2de3c4 = await _0x17796b.bot.downloadAndSaveMediaMessage(_0x430f77); let _0x9a4084 = await TelegraPh(_0x2de3c4); try { fs.unlinkSync(_0x2de3c4); } catch (_0x408f7d) {} return await _0x17796b.bot.sendMessage(_0x17796b.chat, { image: { url: "https://api.popcat.xyz/" + _0x343213 + "?image=" + _0x9a4084 }, caption: _0xf62b7f }, { quoted: _0x17796b, messageId: _0x17796b.bot.messageId() }); } catch (_0x23ac28) { if (_0xe1eb47) { await _0x17796b.error(_0x23ac28 + "\n\ncommand: " + _0x343213 + "\nfileName: photoEditor->s.js", _0x23ac28); } } } async function plugins(_0x2e788f, _0x4280e5, _0x76cd91 = "", _0x1c4e25 = "") { let _0x3d202e = ""; try { let _0x2d5c25 = (await bot_.findOne({ id: "bot_" + _0x2e788f.user })) || (await bot_.new({ id: "bot_" + _0x2e788f.user })); let _0x188cac = _0x2d5c25.plugins; if (_0x4280e5.toLowerCase() === "install") { let _0x541ac2 = ""; for (let _0x347ccf of isUrl(_0x76cd91)) { var _0x5b08b6 = new URL(_0x347ccf.replace(/[_*]+$/, "")); _0x5b08b6 = _0x5b08b6.href.includes("raw") ? _0x5b08b6.href : _0x5b08b6.href + "/raw"; const { data: _0x152c5d } = await axios.get(_0x5b08b6); let _0x79382e = /pattern: ["'](.*)["'],/g.exec(_0x152c5d) || /cmdname: ["'](.*)["'],/g.exec(_0x152c5d) || /name: ["'](.*)["'],/g.exec(_0x152c5d); if (!_0x79382e) { _0x3d202e += "*gist not found:* _" + _0x5b08b6 + "_ \n"; continue; } let _0x4cfa49 = _0x79382e[1].split(" ")[0] || Math.random().toString(36).slice(-5); let _0x147cc6 = _0x4cfa49.replace(/[^A-Za-z]/g, ""); if (_0x541ac2.includes(_0x147cc6)) { continue; } else { _0x541ac2 = _0x541ac2 + "[\"" + _0x147cc6 + "\"] "; } if (_0x188cac[_0x147cc6]) { _0x3d202e += "*Plugin _'" + _0x147cc6 + "'_ already installed!*\n"; continue; } let _0x28bcbb = _0x1c4e25 + "/" + _0x147cc6 + ".smd"; await fs.writeFileSync(_0x28bcbb, _0x152c5d, "utf8"); try { require(_0x28bcbb); } catch (_0x7243e7) { fs.unlinkSync(_0x28bcbb); _0x3d202e += "*Invalid :* _" + _0x5b08b6 + "_\n ```" + _0x7243e7 + "```\n\n "; continue; } if (!_0x188cac[_0x147cc6]) { _0x188cac[_0x147cc6] = _0x5b08b6; await bot_.updateOne({ id: "bot_" + _0x2e788f.user }, { plugins: _0x188cac }); _0x3d202e += "*Plugin _'" + _0x147cc6 + "'_ Succesfully installed!*\n"; } } } else if (_0x4280e5.toLowerCase() === "remove") { if (_0x76cd91 === "all") { let _0x15e8b6 = ""; for (const _0x1b15fa in _0x188cac) { try { fs.unlinkSync(_0x1c4e25 + "/" + _0x1b15fa + ".smd"); _0x15e8b6 = "" + _0x15e8b6 + _0x1b15fa + ","; } catch (_0x5b48c7) { console.log("❌ " + _0x1b15fa + " ❌ NOT BE REMOVED", _0x5b48c7); } } await bot_.updateOne({ id: "bot_" + _0x2e788f.user }, { plugins: {} }); _0x3d202e = "*External plugins " + (_0x15e8b6 ? _0x15e8b6 : "all") + " removed!!!*"; } else { try { if (_0x188cac[_0x76cd91]) { try { fs.unlinkSync(_0x1c4e25 + "/" + _0x76cd91 + ".smd"); } catch {} delete _0x188cac[_0x76cd91]; await bot_.updateOne({ id: "bot_" + _0x2e788f.user }, { plugins: _0x188cac }); _0x3d202e += "*Plugin _'" + _0x76cd91 + "'_ Succesfully removed!*"; } else { _0x3d202e += "*_plugin not exist in " + Config.botname + "_*"; } } catch (_0x133006) { console.log("Error while removing plugins \n ", _0x133006); } } } else if (_0x4280e5.toLowerCase() === "plugins") { if (_0x76cd91) { _0x3d202e = _0x188cac[_0x76cd91] ? "*_" + _0x76cd91 + ":_* " + _0x188cac[_0x76cd91] : false; } else { for (const _0x261bce in _0x188cac) { _0x3d202e += "*" + (_0x261bce + 1) + ":* " + _0x261bce + " \n*Url:* " + _0x188cac[_0x261bce] + "\n\n"; } } } return _0x3d202e; } catch (_0x4a88ef) { console.log("Plugins : ", _0x4a88ef); return (_0x3d202e + " \n\nError: " + _0x4a88ef).trim(); } } async function updateProfilePicture(_0x222037, _0x288358, _0x356e2d, _0x42b490 = "pp") { try { if (_0x42b490 === "pp" || _0x42b490 === "gpp") { let _0x25ce47 = await _0x222037.bot.downloadAndSaveMediaMessage(_0x356e2d); await _0x222037.bot.updateProfilePicture(_0x288358, { url: _0x25ce47 }); } else { async function _0x2e4ae1(_0x2fed3e) { const _0x451493 = await Jimp.read(_0x2fed3e); const _0x160ea5 = _0x451493.getWidth(); const _0x130adc = _0x451493.getHeight(); const _0xa030b1 = _0x451493.crop(0, 0, _0x160ea5, _0x130adc); return { img: await _0xa030b1.scaleToFit(324, 720).getBufferAsync(Jimp.MIME_JPEG), preview: await _0xa030b1.normalize().getBufferAsync(Jimp.MIME_JPEG) }; } try { const _0x44a93d = await _0x356e2d.download(); const { query: _0xb7b2b0 } = _0x222037.bot; const { preview: _0x27ac1a } = await _0x2e4ae1(_0x44a93d); await _0xb7b2b0({ tag: "iq", attrs: { to: _0x288358, type: "set", xmlns: "w:profile:picture" }, content: [{ tag: "picture", attrs: { type: "image" }, content: _0x27ac1a }] }); } catch (_0x242917) { let _0x463b86 = await _0x222037.bot.downloadAndSaveMediaMessage(_0x356e2d); await _0x222037.bot.updateProfilePicture(_0x288358, { url: _0x463b86 }); return await _0x222037.error(_0x242917 + " \n\ncommand: update pp", _0x242917, false); } } return await _0x222037.reply("*_Profile icon updated Succesfully!!_*"); } catch (_0x24cb69) { return await _0x222037.error(_0x24cb69 + " \n\ncommand: " + (_0x42b490 ? _0x42b490 : "pp"), _0x24cb69); } } async function forwardMessage(_0x56dbe1, _0x5eaf75, _0x561de2 = "") { let _0x48c6f4 = _0x5eaf75.quoted.mtype; let _0x3af25e; if (_0x48c6f4 === "videoMessage" && _0x561de2 === "ptv") { _0x3af25e = { ptvMessage: { ..._0x5eaf75.quoted } }; } else if (_0x48c6f4 === "videoMessage") { _0x3af25e = { videoMessage: { ..._0x5eaf75.quoted } }; } else if (_0x48c6f4 === "imageMessage") { _0x3af25e = { imageMessage: { ..._0x5eaf75.quoted } }; } else if (_0x48c6f4 === "audioMessage") { _0x3af25e = { audioMessage: { ..._0x5eaf75.quoted } }; } else if (_0x48c6f4 === "documentMessage") { _0x3af25e = { documentMessage: { ..._0x5eaf75.quoted } }; } else if (_0x48c6f4 === "conversation" || _0x48c6f4 === "extendedTextMessage") { return await _0x5eaf75.send(_0x5eaf75.quoted.text, {}, "", _0x5eaf75, _0x56dbe1); } if (_0x3af25e) { try { await Suhail.bot.relayMessage(_0x56dbe1, _0x3af25e, { messageId: _0x5eaf75.key.id }); } catch (_0x27920e) { console.log("Error in " + _0x561de2 + "-cmd in forwardMessage \n", _0x27920e); if (_0x561de2 === "ptv" || _0x561de2 === "save") { await _0x5eaf75.error(_0x27920e); } } } } async function generateSticker(_0x43a996, _0x5c979b, _0x116cae = { pack: Config.packname, author: Config.author }, _0x5b1252 = true) { try { const { Sticker: _0x92981e, createSticker: _0x1a1a97, StickerTypes: _0x5f17c1 } = require("wa-sticker-formatter"); let _0x54c67c = new _0x92981e(_0x5c979b, { ..._0x116cae }); return await _0x43a996.bot.sendMessage(_0x43a996.chat, { sticker: await _0x54c67c.toBuffer() }, { quoted: _0x43a996, messageId: _0x43a996.bot.messageId() }); } catch (_0x32ee71) { if (_0x5b1252) { await _0x43a996.error(_0x32ee71 + "\n\nfileName: generateSticker->s.js\n"); } } } async function getRandom(_0xf0461b = ".jpg", _0x48110d = 10000) { return "" + Math.floor(Math.random() * _0x48110d) + _0xf0461b; } async function randomeFunfacts(_0x1be35e) { try { if (_0x1be35e === "question") { return await random_question(); } else if (_0x1be35e === "truth") { return await truth(); } else if (_0x1be35e === "dare") { return await dare(); } else if (_0x1be35e === "joke") { const _0x4fe671 = await (await fetch("https://official-joke-api.appspot.com/random_joke")).json(); return "*Joke :* " + _0x4fe671.setup + "\n*Punchline:* " + _0x4fe671.punchline; } else if (_0x1be35e === "joke2") { const _0x1cc76d = await (await fetch("https://v2.jokeapi.dev/joke/Any?type=single")).json(); return "*joke :* " + _0x1cc76d.joke; } else if (_0x1be35e === "fact") { const { data: _0x202058 } = await axios.get("https://nekos.life/api/v2/fact"); return "*Fact:* " + _0x202058.fact; } else if (_0x1be35e === "quotes") { const { data: _0x6d4253 } = await axios.get("https://favqs.com/api/qotd"); return "╔════◇\n║ *🎗️Content:* " + _0x6d4253.quote.body + "\n║ *👤Author:* " + _0x6d4253.quote.author + "\n║\n╚════════════╝"; } } catch (_0x1147af) { msg.error(_0x1147af); console.log("./lib/asta.js/randomeFunfacts()\n", _0x1147af); } } async function audioEditor(_0x1ef339, _0x567a0f = "bass", _0x730356 = "") { if (!_0x1ef339.quoted) { return await _0x1ef339.send("*_Uhh Dear, Reply to audio!!!_*"); } let _0x1e4c20 = _0x1ef339.quoted.mtype || _0x1ef339.mtype; if (!/audio/.test(_0x1e4c20)) { return await _0x1ef339.send("*_Reply to the audio you want to change with_*", {}, "", _0x730356); } try { let _0x3497f6 = "-af equalizer=f=54:width_type=o:width=2:g=20"; if (/bass/.test(_0x567a0f)) { _0x3497f6 = "-af equalizer=f=54:width_type=o:width=2:g=20"; } if (/blown/.test(_0x567a0f)) { _0x3497f6 = "-af acrusher=.1:1:64:0:log"; } if (/deep/.test(_0x567a0f)) { _0x3497f6 = "-af atempo=4/4,asetrate=44500*2/3"; } if (/earrape/.test(_0x567a0f)) { _0x3497f6 = "-af volume=12"; } if (/fast/.test(_0x567a0f)) { _0x3497f6 = "-filter:a \"atempo=1.63,asetrate=44100\""; } if (/fat/.test(_0x567a0f)) { _0x3497f6 = "-filter:a \"atempo=1.6,asetrate=22100\""; } if (/nightcore/.test(_0x567a0f)) { _0x3497f6 = "-filter:a atempo=1.06,asetrate=44100*1.25"; } if (/reverse/.test(_0x567a0f)) { _0x3497f6 = "-filter_complex \"areverse\""; } if (/robot/.test(_0x567a0f)) { _0x3497f6 = "-filter_complex \"afftfilt=real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75\""; } if (/slow/.test(_0x567a0f)) { _0x3497f6 = "-filter:a \"atempo=0.7,asetrate=44100\""; } if (/smooth/.test(_0x567a0f)) { _0x3497f6 = "-filter:v \"minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1:fps=120'\""; } if (/tupai/.test(_0x567a0f)) { _0x3497f6 = "-filter:a \"atempo=0.5,asetrate=65100\""; } let _0x25e2bd = await _0x1ef339.bot.downloadAndSaveMediaMessage(_0x1ef339.quoted); let _0x58830b = "temp/" + (_0x1ef339.sender.slice(6) + _0x567a0f) + ".mp3"; exec("ffmpeg -i " + _0x25e2bd + " " + _0x3497f6 + " " + _0x58830b, async (_0x43e1ec, _0x22acc9, _0x3cea68) => { try { fs.unlinkSync(_0x25e2bd); } catch {} ; if (_0x43e1ec) { return _0x1ef339.error(_0x43e1ec); } else { let _0x11bfca = fs.readFileSync(_0x58830b); try { fs.unlinkSync(_0x58830b); } catch {} ; var _0xfba2a2 = { ...(await _0x1ef339.bot.contextInfo("Hellow " + _0x1ef339.senderName + " 🤍", "⇆ㅤ ||◁ㅤ❚❚ㅤ▷||ㅤ ⇆")) }; return _0x1ef339.bot.sendMessage(_0x1ef339.chat, { audio: _0x11bfca, mimetype: "audio/mpeg", ptt: /ptt|voice/.test(_0x1ef339.test || "") ? true : false, contextInfo: _0xfba2a2 }, { quoted: _0x1ef339, messageId: _0x1ef339.bot.messageId() }); } }); } catch (_0x48606a) { await _0x1ef339.error(_0x48606a + "\n\ncmdName : " + _0x567a0f + "\n"); return console.log("./lib/asta.js/audioEditor()\n", _0x48606a); } } async function send(_0x38fbe8, _0x3e1faf, _0x38564b = { packname: "", author: "Asta-Md" }, _0x1ab511 = "", _0x207bd9 = "", _0x4627ba = "") { if (!_0x3e1faf || !_0x38fbe8) { return; } try { let _0x269470 = _0x4627ba ? _0x4627ba : _0x38fbe8.chat; return await _0x38fbe8.send(_0x3e1faf, _0x38564b, _0x1ab511, _0x207bd9, _0x269470); } catch (_0x164757) { console.log("./lib/asta.js/send()\n", _0x164757); } } async function react(_0x460a9b, _0x131f21, _0x1b76d0 = "") { try { if (!_0x131f21 || !_0x460a9b) { return; } let _0x153fec = _0x1b76d0 && _0x1b76d0.key ? _0x1b76d0.key : _0x460a9b.key; return await _0x460a9b.bot.sendMessage(_0x460a9b.chat, { react: { text: _0x131f21, key: _0x153fec } }, { messageId: _0x460a9b.bot.messageId() }); } catch (_0x102c7a) { console.log("./lib/asta.js/react()\n", _0x102c7a); } } let note = { info: "make sure to provide 1st parameter of bot number as {user:botNumber} ,and 2nd as note text|id" }; note.addnote = async (_0x281c9f, _0x3cf951) => { try { let _0x8ea776 = (await bot_.findOne({ id: "bot_" + _0x281c9f.user })) || (await bot_.new({ id: "bot_" + _0x281c9f.user })); let _0x50de86 = _0x8ea776.notes; let _0x890625 = 0; while (_0x50de86[_0x890625] !== undefined) { _0x890625++; } _0x50de86[_0x890625] = _0x3cf951; await bot_.updateOne({ id: "bot_" + _0x281c9f.user }, { notes: _0x50de86 }); return { status: true, id: _0x890625, msg: "*New note added at ID: " + _0x890625 + "*" }; } catch (_0x72a11b) { console.log("note.addnote ERROR : ", _0x72a11b); return { status: false, error: _0x72a11b, msg: "*Can't add new notes due to error!!*" }; } }; note.delnote = async (_0x32bcc1, _0x2c426a) => { try { let _0x3886b5 = (await bot_.findOne({ id: "bot_" + _0x32bcc1.user })) || (await bot_.new({ id: "bot_" + _0x32bcc1.user })); let _0x16705b = _0x3886b5.notes; let _0x55cb04 = "*Please provide valid note id!*"; if (_0x16705b[_0x2c426a]) { delete _0x16705b[_0x2c426a]; await bot_.updateOne({ id: "bot_" + _0x32bcc1.user }, { notes: _0x16705b }); _0x55cb04 = "*Note with Id:" + _0x2c426a + " deleted successfully!*"; } return { status: true, msg: _0x55cb04 }; } catch (_0x36227d) { console.log("note.delnote ERROR : ", _0x36227d); return { status: false, error: _0x36227d, msg: "*Can't delete notes due to error!!*" }; } }; note.delallnote = async (_0x3ac5ea, _0x5f348f = "") => { try { await bot_.updateOne({ id: "bot_" + _0x3ac5ea.user }, { notes: {} }); return { status: true, msg: "*All saved notes deleted from server!*" }; } catch (_0x21ccce) { console.log("note.delnote ERROR : ", _0x21ccce); return { status: false, error: _0x21ccce, msg: "*Request not be proceed, Sorry!*" }; } }; note.allnotes = async (_0x32ce57, _0x11e475 = "") => { try { let _0x1ac155 = (await bot_.findOne({ id: "bot_" + _0x32ce57.user })) || (await bot_.new({ id: "bot_" + _0x32ce57.user })); let _0x667539 = _0x1ac155.notes; let _0x8f5f5e = "*Please provide valid note id!*"; if (_0x11e475 == "all" || !_0x11e475) { let _0x57364e = ""; for (const _0x532ae3 in _0x667539) { _0x57364e += "*NOTE " + _0x532ae3 + ":* " + _0x667539[_0x532ae3] + "\n\n"; } _0x8f5f5e = _0x57364e ? _0x57364e : "*No notes found!*"; } else if (_0x11e475 && _0x667539[_0x11e475]) { _0x8f5f5e = "*Note " + _0x11e475 + ":* " + _0x667539[_0x11e475]; } return { status: true, msg: _0x8f5f5e }; } catch (_0x162f4d) { console.log("note.delnote ERROR : ", _0x162f4d); return { status: false, error: _0x162f4d, msg: "*Can't delete notes due to error!!*" }; } }; async function sendWelcome(_0x50ffa3, _0x3417a5 = "", _0x27d774 = "", _0x3fa550 = "", _0x7317df = "msg", _0x495ef9 = false) { try { if (!global.AstroOfficial) { return "Get Ouut"; } if (_0x3417a5) { if (_0x50ffa3.isGroup) { _0x3417a5 = _0x3417a5.replace(/@gname|&gname/gi, _0x50ffa3.metadata.subject).replace(/@desc|&desc/gi, _0x50ffa3.metadata.desc).replace(/@count|&count/gi, _0x50ffa3.metadata.participants.length); } let _0x23df3f = _0x3417a5.replace(/@user|&user/gi, "@" + _0x50ffa3.senderNum).replace(/@name|&name/gi, _0x50ffa3.senderName || "_").replace(/@gname|&gname/gi, "").replace(/@desc|&desc/gi, "").replace(/@count|&count/gi, "1").replace(/@pp|&pp|@gpp|&gpp|@context|&context/g, "").replace(/@time|&time/gi, _0x50ffa3.time).replace(/@date|&date/gi, _0x50ffa3.date).replace(/@bot|&bot/gi, "" + Config.botname).replace(/@owner|&owner/gi, "" + Config.ownername).replace(/@caption|&caption/gi, caption).replace(/@gurl|@website|&gurl|&website|@link|&link/gi, gurl).replace(/@myyt|&myyt/gi, "https://github/Itxxwasi").replace(/@telegram|&telegram/gi, global.telegram || "https://t.me/itxwasi").replace(/@channel|@yt_channel|&channel|&yt_channel/gi, global.YT_PRODUCT || global.YT_CHANNEL || global.YT_PROMOTE || global.YT || "https://github/Itxxwasi").replace(/@runtime|&runtime|@uptime|&uptime/gi, "" + runtime(process.uptime())).trim(); try { _0x23df3f = _0x23df3f.replace(/@line|&line/gi, (await fetchJson("https://api.popcat.xyz/pickuplines")).pickupline || ""); } catch (_0x244979) { _0x23df3f = _0x23df3f.replace(/@line|&line/gi, ""); } try { if (/@quote|"e/gi.test(_0x23df3f)) { let { data: _0x4096e3 } = await axios.get("https://favqs.com/api/qotd"); if (_0x4096e3 && _0x4096e3.quote) { _0x23df3f = _0x23df3f.replace(/@quote|"e/gi, _0x4096e3.quote.body || "").replace(/@author|&author/gi, _0x4096e3.quote.author || ""); } } } catch (_0x131c92) { _0x23df3f = _0x23df3f.replace(/@quote|"e|@author|&author/gi, ""); } if (!_0x7317df || _0x7317df === "msg") { try { if (typeof _0x3fa550 === "string") { _0x3fa550 = _0x3fa550.split(","); } if (/@user|&user/g.test(_0x3417a5) && !_0x3fa550.includes(_0x50ffa3.sender)) { _0x3fa550.push(_0x50ffa3.sender); } } catch (_0xa27046) { console.log("ERROR : ", _0xa27046); } var _0x3e5cf0 = { ...(_0x495ef9 || /@context|&context/g.test(_0x3417a5) ? await _0x50ffa3.bot.contextInfo(Config.botname, _0x50ffa3.pushName) : {}), mentionedJid: _0x3fa550 }; if (/@pp/g.test(_0x3417a5)) { return await _0x50ffa3.send(await _0x50ffa3.getpp(), { caption: _0x23df3f, mentions: _0x3fa550, contextInfo: _0x3e5cf0 }, "image", _0x27d774); } else if (_0x50ffa3.jid && /@gpp/g.test(_0x3417a5)) { return await _0x50ffa3.send(await _0x50ffa3.getpp(_0x50ffa3.jid), { caption: _0x23df3f, mentions: _0x3fa550, contextInfo: _0x3e5cf0 }, "image", _0x27d774); } else { return await _0x50ffa3.send(_0x23df3f, { mentions: _0x3fa550, contextInfo: _0x3e5cf0 }, "asta", _0x27d774); } } else { return _0x23df3f; } } } catch (_0x30453c) { console.log("./lib/asta.js/sendWelcome()\n", _0x30453c); } } async function aitts(_0x33c126, _0x2b48e0 = "", _0x30230a = true) { try { if (!global.AstroOfficial || global.AstroOfficial !== "yes") { return "u bloody, Get out from here!!"; } if (!ELEVENLAB_API_KEY || !ELEVENLAB_API_KEY.length > 8) { return _0x33c126.reply("Dear, You Dont Have ELEVENLAB_API_KEY \nCreate ELEVENLAB KEY from below Link \nhttps://elevenlabs.io/\n\nAnd Set it in ELEVENLAB_API_KEY Var\n\n" + caption); } const _0x1afcdb = ["21m00Tcm4TlvDq8ikWAM", "2EiwWnXFnvU5JabPnv8n", "AZnzlk1XvdvUeBnXmlld", "CYw3kZ02Hs0563khs1Fj", "D38z5RcWu1voky8WS1ja", "EXAVITQu4vr4xnSDxMaL", "ErXwobaYiN019PkySvjV", "GBv7mTt0atIp3Br8iCZE", "IKne3meq5aSn9XLyUdCD", "LcfcDJNUP1GQjkzn1xUU", "MF3mGyEYCl7XYWbV9V6O", "N2lVS1w4EtoT3dr4eOWO", "ODq5zmih8GrVes37Dizd", "SOYHLrjzK2X1ezoPC6cr", "TX3LPaxmHKxFdv7VOQHJ", "ThT5KcBeYPX3keUQqHPh", "TxGEqnHWrfWFTfGW9XjX", "VR6AewLTigWG4xSOukaG", "XB0fDUnXU5powFXDhCwa", "XrExE9yKIg1WjnnlVkGX", "Yko7PKHZNXotIFUBG7I9", "ZQe5CZNOzWyzPSCn5a3c", "Zlb1dXrM653N07WRdFW3", "bVMeCyTHy58xNoL34h3p", "flq6f7yk4E4fJM5XTYuZ", "g5CIjZEefAph4nQFvHAz", "jBpfuIE2acCO8z3wKNLl", "jsCqWAovK2LkecY7zXl4", "oWAxZDx7w5VEj9dCyTzz", "onwK4e9ZLuTAKqWW03F9", "pMsXgVXv3BLzUgSXRplE", "pNInz6obpgDQGcFmaJgB", "piTKgcLEGmPE4e6mEKli", "t0jbNlBVZ17f02VDIeMI", "wViXBPUzp2ZZixB1xQuM", "yoZ06aMxZJJ28mfd3POQ", "z9fAnlkpzviPz146aGWa", "zcAOhNBS3c14rBihAFp1", "zrHiDhphv9ZnVXBqCLjz"]; const _0x1cf518 = parseInt(aitts_Voice_Id); if (!_0x2b48e0 && !_0x33c126.isCreator) { return _0x33c126.reply("*Uhh Dear, Please Provide text..!*\n*Example: _.aitts i am " + _0x33c126.pushName + "._*"); } else if (!_0x2b48e0 && _0x33c126.isCreator || _0x2b48e0 === "setting" || _0x2b48e0 === "info") { return _0x33c126.bot.sendMessage(_0x33c126.jid, { text: "*Hey " + _0x33c126.pushName + "!.*\n _Please provide text!_\n *Example:* _.aitts i am " + _0x33c126.pushName + "._\n\n *You Currently " + (!isNaN(_0x1cf518) && _0x1cf518 > 0 && _0x1cf518 <= 39 ? "set Voice Id: " + _0x1cf518 + "*\nUpdate" : "not set any Specific Voice*\nAdd Specific") + " Voice: _.addvar AITTS_ID:35/4/32,etc._\n\n\n *Also use available voices*```\n\n 1: Rachel\n 2: Clyde\n 3: Domi\n 4: Dave\n 5: Fin\n 6: Bella\n 7: Antoni\n 8: Thomas\n 9: Charlie\n 10: Emily\n 11: Elli\n 12: Callum\n 13: Patrick\n 14: Harry\n 15: Liam\n 16: Dorothy\n 17: Josh\n 18: Arnold\n 19: Charlotte\n 20: Matilda\n 21: Matthew\n 22: James\n 23: Joseph\n 24: Jeremy\n 25: Michael\n 26: Ethan\n 27: Gigi\n 28: Freya\n 29: Grace\n 30: Daniel\n 31: Serena\n 32: Adam\n 33: Nicole\n 34: Jessie\n 35: Ryan\n 36: asta\n 37: Glinda\n 38: Giovanni\n 39: Mimi\n ```" + ("\n\n *Example:* _.aitts i am " + _0x33c126.pushName + "_:36 \n *OR:* _.aitts i am " + _0x33c126.pushName + "_:asta \n\n\n " + caption).trim() }, { messageId: _0x33c126.bot.messageId() }); } let _0x19e7c5 = _0x2b48e0; var _0x30713a = 0 || Math.floor(Math.random() * _0x1afcdb.length); let _0x53e63c = false; if (!isNaN(_0x1cf518) && _0x1cf518 > 0 && _0x1cf518 < 39) { _0x53e63c = true; _0x30713a = _0x1cf518; } if (_0x2b48e0 && _0x2b48e0.includes(":")) { let _0x1e4230 = _0x2b48e0.split(":"); let _0x2d4089 = _0x1e4230[_0x1e4230.length - 1].trim() || ""; _0x19e7c5 = _0x1e4230.slice(0, _0x1e4230.length - 1).join(":"); if (_0x2d4089.toLowerCase() === "richel" || _0x2d4089 === "1") { _0x30713a = 0; } else if (_0x2d4089.toLowerCase() === "clyde" || _0x2d4089 === "2") { _0x30713a = 1; } else if (_0x2d4089.toLowerCase() === "domi" || _0x2d4089 === "3") { _0x30713a = 2; } else if (_0x2d4089.toLowerCase() === "dave" || _0x2d4089 === "4") { _0x30713a = 3; } else if (_0x2d4089.toLowerCase() === "fin" || _0x2d4089 === "5") { _0x30713a = 4; } else if (_0x2d4089.toLowerCase() === "bella" || _0x2d4089 === "6") { _0x30713a = 5; } else if (_0x2d4089.toLowerCase() === "antoni" || _0x2d4089 === "7") { _0x30713a = 6; } else if (_0x2d4089.toLowerCase() === "thomas" || _0x2d4089 === "8") { _0x30713a = 7; } else if (_0x2d4089.toLowerCase() === "charlie" || _0x2d4089 === "9") { _0x30713a = 8; } else if (_0x2d4089.toLowerCase() === "emily" || _0x2d4089 === "10") { _0x30713a = 9; } else if (_0x2d4089.toLowerCase() === "elli" || _0x2d4089 === "11") { _0x30713a = 10; } else if (_0x2d4089.toLowerCase() === "callum" || _0x2d4089 === "12") { _0x30713a = 11; } else if (_0x2d4089.toLowerCase() === "patrick" || _0x2d4089 === "13") { _0x30713a = 12; } else if (_0x2d4089.toLowerCase() === "harry" || _0x2d4089 === "14") { _0x30713a = 13; } else if (_0x2d4089.toLowerCase() === "liam" || _0x2d4089 === "15") { _0x30713a = 14; } else if (_0x2d4089.toLowerCase() === "dorothy" || _0x2d4089 === "16") { _0x30713a = 15; } else if (_0x2d4089.toLowerCase() === "josh" || _0x2d4089 === "17") { _0x30713a = 16; } else if (_0x2d4089.toLowerCase() === "arnold" || _0x2d4089 === "18") { _0x30713a = 17; } else if (_0x2d4089.toLowerCase() === "charlotte" || _0x2d4089 === "19") { _0x30713a = 18; } else if (_0x2d4089.toLowerCase() === "matilda" || _0x2d4089 === "20") { _0x30713a = 19; } else if (_0x2d4089.toLowerCase() === "matthew" || _0x2d4089 === "21") { _0x30713a = 20; } else if (_0x2d4089.toLowerCase() === "james" || _0x2d4089 === "22") { _0x30713a = 21; } else if (_0x2d4089.toLowerCase() === "joseph" || _0x2d4089 === "23") { _0x30713a = 22; } else if (_0x2d4089.toLowerCase() === "jeremy" || _0x2d4089 === "24") { _0x30713a = 23; } else if (_0x2d4089.toLowerCase() === "michael" || _0x2d4089 === "25") { _0x30713a = 24; } else if (_0x2d4089.toLowerCase() === "ethan" || _0x2d4089 === "26") { _0x30713a = 25; } else if (_0x2d4089.toLowerCase() === "gigi" || _0x2d4089 === "27") { _0x30713a = 26; } else if (_0x2d4089.toLowerCase() === "freya" || _0x2d4089 === "28") { _0x30713a = 27; } else if (_0x2d4089.toLowerCase() === "grace" || _0x2d4089 === "29") { _0x30713a = 28; } else if (_0x2d4089.toLowerCase() === "daniel" || _0x2d4089 === "30") { _0x30713a = 29; } else if (_0x2d4089.toLowerCase() === "serena" || _0x2d4089 === "31") { _0x30713a = 30; } else if (_0x2d4089.toLowerCase() === "adam" || _0x2d4089 === "32") { _0x30713a = 31; } else if (_0x2d4089.toLowerCase() === "nicole" || _0x2d4089 === "33") { _0x30713a = 32; } else if (_0x2d4089.toLowerCase() === "jessie" || _0x2d4089 === "34") { _0x30713a = 33; } else if (_0x2d4089.toLowerCase() === "ryan" || _0x2d4089 === "35") { _0x30713a = 34; } else if (_0x2d4089.toLowerCase() === "asta" || _0x2d4089 === "36") { _0x30713a = 35; } else if (_0x2d4089.toLowerCase() === "glinda" || _0x2d4089 === "37") { _0x30713a = 36; } else if (_0x2d4089.toLowerCase() === "giovanni" || _0x2d4089 === "38") { _0x30713a = 37; } else if (_0x2d4089.toLowerCase() === "mimi" || _0x2d4089 === "39") { _0x30713a = 38; } else { _0x19e7c5 = _0x2b48e0; _0x30713a = _0x30713a; } } const _0x36112b = { method: "POST", url: "https://api.elevenlabs.io/v1/text-to-speech/" + _0x1afcdb[_0x30713a], headers: { accept: "audio/mpeg", "content-type": "application/json", "xi-api-key": "" + ELEVENLAB_API_KEY }, data: { text: _0x19e7c5 }, responseType: "arraybuffer" }; const { data: _0x43f81b } = await axios.request(_0x36112b); if (!_0x43f81b) { return await _0x33c126.send("*_Request not be proceed!_*"); } await _0x33c126.sendMessage(_0x33c126.from, { audio: _0x43f81b, mimetype: "audio/mpeg", ptt: true }, { quoted: _0x33c126, messageId: _0x33c126.bot.messageId() }); } catch (_0x54e32c) { if (_0x30230a) { await _0x33c126.error(_0x54e32c + "\n\ncommand: aitts", _0x54e32c); } } } let setMention = { mention: false }; setMention.status = async (_0x280219, _0x510e3f = false) => { try { setMention.mention = false; let _0x375d7b = (await bot_.findOne({ id: "bot_" + _0x280219.user })) || (await bot_.new({ id: "bot_" + _0x280219.user })); let _0x297ec2 = _0x375d7b.mention || {}; if (_0x510e3f) { if (_0x297ec2.status) { return await _0x280219.reply("_Mention Already Enabled!_"); } _0x297ec2.status = true; await bot_.updateOne({ id: "bot_" + _0x280219.user }, { mention: _0x297ec2 }); return await _0x280219.reply("_Mention Enabled!_"); } else { if (!_0x297ec2.status) { return await _0x280219.reply("_Mention Already Disabled!_"); } _0x297ec2.status = false; await bot_.updateOne({ id: "bot_" + _0x280219.user }, { mention: _0x297ec2 }); return await _0x280219.reply("_Mention Disabled!_"); } } catch (_0x18fc74) { _0x280219.error(_0x18fc74 + "\n\nCommand: mention", _0x18fc74, false); } }; setMention.get = async _0x2cdc1a => { try { let _0x18ceaf = (await bot_.findOne({ id: "bot_" + _0x2cdc1a.user })) || (await bot_.new({ id: "bot_" + _0x2cdc1a.user })); let _0x584f1d = _0x18ceaf.mention || {}; if (_0x584f1d.get) { return await _0x2cdc1a.reply("*Status :* " + (_0x584f1d.status ? "ON" : "OFF") + "\nUse on/off/get/test to enable and disable mention\n\n*Mention Info:* " + _0x584f1d.get); } else { return await _0x2cdc1a.reply("*You did'nt set mention message yet!*\n*please Check: https://github.com/SuhailTechInfo/Suhail-Md/wiki/mention*"); } } catch (_0x4535a8) { _0x2cdc1a.error(_0x4535a8 + "\n\nCommand: mention", _0x4535a8, false); } }; setMention.typesArray = _0x59ae98 => { try { const _0x55b13f = _0x59ae98.split("\n"); let _0x4656bb = { text: [] }; let _0x22e9cc = ["gif", "video", "audio", "image", "sticker"]; let _0xef10c6 = null; for (const _0x55bb42 of _0x55b13f) { const _0x1cf682 = _0x55bb42.split(" "); if (_0x1cf682.length >= 1) { const _0x243ab6 = _0x1cf682.findIndex(_0x75df3c => _0x75df3c.startsWith("type/")); if (_0x243ab6 !== -1) { _0xef10c6 = _0x1cf682[_0x243ab6].slice(5).toLowerCase(); let _0x192321 = /asta|smd|message|chat/gi.test(_0xef10c6); if (!_0x4656bb[_0x192321 ? "asta" : _0xef10c6]) { _0x4656bb[_0x192321 ? "asta" : _0xef10c6] = []; } } const _0x26ebaf = _0x1cf682.filter(_0x1fa91c => _0x1fa91c !== "type/" + _0xef10c6 && _0x1fa91c !== ""); _0xef10c6 = /asta|smd|message|chat/gi.test(_0xef10c6) ? "asta" : _0xef10c6; if (_0x26ebaf.length > 0) { if (_0x22e9cc.includes(_0xef10c6)) { _0x26ebaf.forEach(_0x23a80a => { if (/http/gi.test(_0x23a80a)) { _0x4656bb[_0xef10c6].push(_0x23a80a); } }); } else if (/react/gi.test(_0xef10c6)) { _0x4656bb.react.push(..._0x26ebaf); } else { _0x4656bb[/asta/gi.test(_0xef10c6) ? "asta" : "text"].push(_0x26ebaf.join(" ")); } } } _0xef10c6 = null; } return _0x4656bb || {}; } catch (_0x5bc7dd) { console.log("Error in Mention typesArray\n", _0x5bc7dd); } }; setMention.update = async (_0x526d31, _0x1520b5) => { try { setMention.mention = false; let _0x50fd1f = { status: true, get: _0x1520b5 }; try { const _0xb9ae11 = _0x1520b5.match(/\{.*\}/); if (_0xb9ae11) { const _0x557b75 = _0xb9ae11[0]; const _0x3b2aa4 = JSON.parse(_0x557b75); _0x50fd1f.json = _0x3b2aa4; _0x1520b5 = _0x1520b5.replace(/\{.*\}/, ""); } } catch (_0x45cb06) { console.log("ERROR mention JSON parse", _0x45cb06); } _0x50fd1f.text = _0x1520b5; _0x50fd1f.type = setMention.typesArray(_0x1520b5) || {}; await bot_.updateOne({ id: "bot_" + _0x526d31.user }, { mention: _0x50fd1f }); return await _0x526d31.send("*Mention updated!*", { mentios: [_0x526d31.user] }); } catch (_0x1235b9) { _0x526d31.error(_0x1235b9 + "\n\nCommand: mention", _0x1235b9, false); } }; setMention.cmd = async (_0x501ec5, _0x2a1c43 = "") => { try { let _0x22516b = setMention.mention || false; if (!_0x22516b) { let _0x380929 = (await bot_.findOne({ id: "bot_" + _0x501ec5.user })) || (await bot_.new({ id: "bot_" + _0x501ec5.user })); _0x22516b = _0x380929.mention || false; setMention.mention = _0x22516b; } if (global.AstroOfficial !== "yes") { return; } if (_0x2a1c43 === "get" || _0x2a1c43 === "info" || !_0x2a1c43 && _0x22516b.status && _0x22516b.get) { setMention.get(_0x501ec5); } else if (!_0x2a1c43) { _0x501ec5.reply("_Read wiki to set mention message https://github.com/SuhailTechInfo/Suhail-Md/wiki/mention_", {}, "smd"); } else if (["off", "deact", "disable", "false"].includes(_0x2a1c43.toLowerCase() || _0x2a1c43)) { setMention.status(_0x501ec5, false); } else if (["on", "act", "enable", "true", "active"].includes(_0x2a1c43.toLowerCase() || _0x2a1c43)) { setMention.status(_0x501ec5, true); } else if (["check", "test", "me"].includes(_0x2a1c43.toLowerCase() || _0x2a1c43)) { setMention.check(_0x501ec5, _0x2a1c43, true); } else { setMention.update(_0x501ec5, _0x2a1c43); } } catch (_0x278867) { console.log("ERROR IN MENTION CMD \n ", _0x278867); } }; setMention.randome = _0x464e51 => { try { const _0x47aeca = Object.keys(_0x464e51 || {}); if (_0x47aeca.length > 1) { const _0x2589e6 = _0x47aeca[Math.floor(Math.random() * (_0x47aeca.length - 1)) + 1]; const _0x3755b9 = _0x464e51[_0x2589e6]; if (_0x3755b9 && _0x3755b9.length > 0) { const _0x281c61 = Math.floor(Math.random() * _0x3755b9.length); return { type: _0x2589e6, url: _0x3755b9[_0x281c61] }; } } if (_0x464e51 && _0x464e51.text) { return { url: _0x464e51.text.join(" ") || "", type: "smd" }; } else { return undefined; } } catch (_0x21a02a) { console.log(_0x21a02a); } }; global.mentionasta = process.env.MENTIONSUHAIL || true; setMention.check = async (_0x373988, _0x3c756b = "", _0xde3e80 = false) => { try { const _0x313fc4 = _0xde3e80 || _0x373988.mentionedJid.includes(_0x373988.user) || _0x3c756b.includes("@" + _0x373988.user.split("@")[0]) || global.mentionasta && (_0x373988.mentionedJid.includes("@2348039607375@s.whatsapp.net") || _0x373988.mentionedJid.includes("@2349027862116@s.whatsapp.net") || /@2348039607375|@2349027862116/g.test(_0x3c756b)); if (_0x313fc4) { if (global.AstroOfficial !== "yes") { return; } let _0x5f58a2 = setMention.mention || false; if (!_0x5f58a2) { let _0x30a79a = (await bot_.findOne({ id: "bot_" + _0x373988.user })) || (await bot_.new({ id: "bot_" + _0x373988.user })); _0x5f58a2 = _0x30a79a.mention || false; setMention.mention = _0x5f58a2; } if (typeof _0x5f58a2 !== "object" || !_0x5f58a2 || !_0x5f58a2.status) { return; } const _0x4f16eb = setMention.randome(_0x5f58a2.type); if (_0x4f16eb) { let _0x4a0e2b = _0x4f16eb.type; const _0x445c8c = {}; if (_0x4f16eb.type === "gif") { _0x4a0e2b = "video"; _0x445c8c = { gifPlayback: true }; } try { const _0x24fb8e = { ..._0x5f58a2.json, ..._0x445c8c }; if (_0x24fb8e.contextInfo && _0x24fb8e.contextInfo.externalAdReply && _0x24fb8e.contextInfo.externalAdReply.thumbnail) { _0x24fb8e.contextInfo.externalAdReply.thumbnail = (await getBuffer(_0x24fb8e.contextInfo.externalAdReply.thumbnail)) || log0; } await _0x373988.send(_0x4f16eb.url, _0x24fb8e, _0x4a0e2b, _0x373988); } catch (_0x37d7fa) { console.log("Error Sending ContextInfo in mention ", _0x37d7fa); try { _0x373988.send(_0x4f16eb.url, { ..._0x445c8c }, _0x4a0e2b, _0x373988); } catch (_0x112900) {} } } } } catch (_0x20c76e) { console.log("Error in Mention Check\n", _0x20c76e); } }; let mention = setMention; let setFilter = { filter: false }; setFilter.set = async (_0x7cffc5, _0x172f0c = "") => { try { if (!_0x172f0c) { return _0x7cffc5.send("*Use " + prefix + "filter word:reply_text!*"); } let [_0x27ba2d, _0x116d5b] = _0x172f0c.split(":").map(_0x40b25d => _0x40b25d.trim()); if (!_0x27ba2d || !_0x116d5b) { return _0x7cffc5.send("*Use " + prefix + "filter " + (_0x27ba2d || "word") + ": " + (_0x116d5b || "reply_text") + "!*"); } let _0x17fc2c = (await bot_.findOne({ id: "bot_" + _0x7cffc5.user })) || (await bot_.new({ id: "bot_" + _0x7cffc5.user })); let _0x5dd7ac = _0x17fc2c.filter || {}; _0x5dd7ac[_0x27ba2d] = _0x116d5b; setFilter.filter = _0x5dd7ac; let _0x24a4a0 = await bot_.updateOne({ id: "bot_" + _0x7cffc5.user }, { filter: _0x5dd7ac }); _0x7cffc5.send("*Successfully set filter to '" + _0x27ba2d + "'!*"); } catch (_0x152f1f) { _0x7cffc5.error(_0x152f1f + "\n\nCommand:filter", _0x152f1f, "_Can't set filter!_"); } }; setFilter.stop = async (_0x103724, _0xc4e239 = "") => { try { if (!_0xc4e239) { return _0x103724.send("*Provide a word that set in filter!*\n*Use " + prefix + "flist to get list of filtered words!*"); } let _0xc0b98a = (await bot_.findOne({ id: "bot_" + _0x103724.user })) || (await bot_.new({ id: "bot_" + _0x103724.user })); let _0x23f901 = _0xc0b98a.filter || {}; if (!_0x23f901[_0xc4e239]) { return _0x103724.reply("*Given Word ('" + _0xc4e239 + "') not set to any filter!*"); } delete _0x23f901[_0xc4e239]; setFilter.filter = _0x23f901; await bot_.updateOne({ id: "bot_" + _0x103724.user }, { filter: _0x23f901 }); _0x103724.reply("*_Filter word '" + _0xc4e239 + "' deleted!_*"); } catch (_0x153068) { _0x103724.error(_0x153068 + "\n\nCommand:fstop", _0x153068, "*Can't delete filter!*"); } }; setFilter.list = async (_0xdb3bd0, _0x43f090 = "") => { try { let _0xda9bc2 = (await bot_.findOne({ id: "bot_" + _0xdb3bd0.user })) || (await bot_.new({ id: "bot_" + _0xdb3bd0.user })); let _0x31a8d4 = _0xda9bc2.filter || {}; let _0x55d089 = Object.entries(_0x31a8d4).map(([_0x3b1bef, _0x597ecb]) => _0x3b1bef + " : " + _0x597ecb).join("\n"); if (_0xda9bc2.filter && _0x55d089) { _0xdb3bd0.reply("*[LIST OF FILTERED WORDS]*\n\n" + _0x55d089); } else { _0xdb3bd0.reply("*_You didn't set any filter!_*"); } } catch (_0x213cc9) { _0xdb3bd0.error(_0x213cc9 + "\n\nCommand:flist", _0x213cc9, false); } }; setFilter.check = async (_0x26e5fd, _0x1061b1 = "") => { try { let _0x148446 = setFilter.filter || false; if (!_0x148446) { let _0x577104 = (await bot_.findOne({ id: "bot_" + _0x26e5fd.user })) || (await bot_.new({ id: "bot_" + _0x26e5fd.user })); _0x148446 = _0x577104.filter || {}; setFilter.filter = _0x577104.filter || {}; } if (_0x148446[_0x1061b1]) { _0x26e5fd.reply(_0x148446[_0x1061b1], {}, "smd", _0x26e5fd); } } catch (_0x5ce3b) { console.log(_0x5ce3b); } }; let filter = setFilter; module.exports = { yt: yt, sendAnimeReaction: sendAnimeReaction, sendGImages: sendGImages, AudioToBlackVideo: AudioToBlackVideo, textToLogoGenerator: textToLogoGenerator, photoEditor: photoEditor, updateProfilePicture: updateProfilePicture, randomeFunfacts: randomeFunfacts, plugins: plugins, getRandom: getRandom, generateSticker: generateSticker, forwardMessage: forwardMessage, audioEditor: audioEditor, send: send, react: react, note: note, sendWelcome: sendWelcome, aitts: aitts, mention: mention, filter: filter }; ================================================ FILE: lib/Readme.md ================================================ ## VENOCYBER BOTS ================================================ FILE: lib/amd.js ================================================ const fs = require("fs"); const path = require("path"); const Config = require(__dirname + "/../config.js"); const blockJid = ["" + (process.env.BLOCKJIDS || "120363023983262391@g.us"), ...(typeof global.blockJids === "string" ? global.blockJids.split(",") : [])]; const allowJid = ["null", ...(typeof global.allowJids === "string" ? global.allowJids.split(",") : [])]; const Pino = require("pino"); const { Boom } = require("@hapi/boom"); const FileType = require("file-type"); const express = require("express"); const app = express(); const events = require("./plugins"); const { imageToWebp, videoToWebp, writeExifImg, writeExifVid } = require("./exif"); let { default: SuhailMDConnect, proto, prepareWAMessageMedia, downloadContentFromMessage, DisconnectReason, useMultiFileAuthState, generateForwardMessageContent, generateWAMessageFromContent, makeInMemoryStore, jidDecode } = require("@whiskeysockets/baileys"); var last_status = {}; global.setCmdAlias = {}; global.AstroOfficial = false; global.sqldb = false; global.pg_pools = false; const { userdb, sck, groupdb, Plugindb, bot_, smdBuffer } = require("../lib"); const fetch = require("node-fetch"); const axios = require("axios"); let { sleep, getBuffer, parsedJid, tiny, botpic, tlang } = require("../lib"); const { smsg, callsg, groupsg, } = require("./serialized.js"); const { runtime, getSizeMedia, } = require("../lib"); var prefa = !Config.HANDLERS || ["false", "null", " ", "", "nothing", "not", "empty"].includes(!Config.HANDLERS) ? true : false; global.prefix = prefa ? "" : Config.HANDLERS[0]; global.prefixRegex = prefa || ["all"].includes(Config.HANDLERS) ? new RegExp("^") : new RegExp("^[" + Config.HANDLERS + "]"); global.prefixboth = ["all"].includes(Config.HANDLERS); let baileys = "/Sessions/"; const connnectpg = async () => { try { const { Pool: _0x49bfec } = require("pg"); const _0x39ea68 = new _0x49bfec({ connectionString: global.DATABASE_URL, ssl: { rejectUnauthorized: false } }); const _0xbc8be7 = await _0x39ea68.connect(); _0xbc8be7.release(); console.log("🌍 Connected to the PostgreSQL."); return true; } catch (_0x4fb407) { console.log("Could not connect with PostgreSQL.\n"); return false; } }; const connnectMongo = async () => { const _0x1268d = require("mongoose"); try { _0x1268d.set("strictQuery", true); await _0x1268d.connect(mongodb); console.log("🌍 Connected to the Mongodb."); return true; } catch { console.log("Could not connect with Mongodb."); return false; } }; let Suhail = {}; const store = makeInMemoryStore({ logger: Pino({ level: "silent" }).child({ level: "silent" }) }); try { if (fs.existsSync(__dirname + "/store.json")) { store.readFromFile(__dirname + "/store.json"); } } catch (_0x4ef18e) { console.log("CLIENT STORE ERROR:\n", _0x4ef18e); } require("events").EventEmitter.defaultMaxListeners = 2000; async function syncdb() { let _0x3d0468 = __dirname + "/assets/logo.png"; try { global.log0 = typeof THUMB_IMAGE === "string" ? await getBuffer(THUMB_IMAGE.split(",")[0]) : fs.readFileSync(_0x3d0468); } catch (_0x780452) { _0x3d0468 = __dirname + "/assets/logo.png"; } global.log0 = global.log0 || fs.readFileSync(_0x3d0468); const { state: _0x46b7e4, saveCreds: _0xd884d9 } = await useMultiFileAuthState(__dirname + baileys); let _0x5447f8 = SuhailMDConnect({ logger: Pino({ level: "silent" || "debug" || "fatal" }), printQRInTerminal: false, browser: ["Windows", "chrome", ""], fireInitQueries: true, shouldSyncHistoryMessage: true, downloadHistory: true, syncFullHistory: true, generateHighQualityLinkPreview: true, markOnlineOnConnect: false, auth: _0x46b7e4, getMessage: async _0x303f46 => { let _0x2faf9d = { conversation: "WASI-Md" }; if (store) { const _0x27b3c1 = await store.loadMessage(_0x303f46.remoteJid, _0x303f46.id); return _0x27b3c1.message || _0x2faf9d; } return _0x2faf9d; } }); store.bind(_0x5447f8.ev); setInterval(() => { try { store.writeToFile(__dirname + "/store.json"); } catch (_0x54ac48) { console.log("CLIENT STORE ERROR:\n", _0x54ac48); } }, 10000); _0x5447f8.ev.on("call", async _0x522b10 => { let _0x37f540 = await callsg(_0x5447f8, JSON.parse(JSON.stringify(_0x522b10[0]))); events.commands.map(async _0x13c575 => { if (_0x13c575.call === "offer" && _0x37f540.status === "offer") { try { _0x13c575.function(_0x37f540, { store: store, Void: _0x5447f8 }); } catch (_0x557640) { console.error("[CALL ERROR] ", _0x557640); } } if (_0x13c575.call === "accept" && _0x37f540.status === "accept") { try { _0x13c575.function(_0x37f540, { store: store, Void: _0x5447f8 }); } catch (_0x3d8400) { console.error("[CALL ACCEPT ERROR] ", _0x3d8400); } } if (_0x13c575.call === "call" || _0x13c575.call === "on" || _0x13c575.call === "all") { try { _0x13c575.function(_0x37f540, { store: store, Void: _0x5447f8 }); } catch (_0x27942e) { console.error("[CALL ERROR] ", _0x27942e); } } }); }); var _0x5b55c3 = false; let _0x4f1890 = {}; let _0x686f61 = {}; _0x5447f8.ev.on("messages.upsert", async _0x21c265 => { try { if (!_0x21c265.messages || !Array.isArray(_0x21c265.messages)) { return; } _0x5b55c3 = _0x5b55c3 || _0x5447f8.decodeJid(_0x5447f8.user.id); for (mek of _0x21c265.messages) { mek.message = Object.keys(mek.message || {})[0] === "ephemeralMessage" ? mek.message.ephemeralMessage.message : mek.message; if (!mek.message || !mek.key || !/broadcast/gi.test(mek.key.remoteJid)) { continue; } let _0x4857e4 = await smsg(_0x5447f8, JSON.parse(JSON.stringify(mek)), store, true); if (!_0x4857e4.message) { continue; } let _0x40f6ef = _0x4857e4.body; let _0x12bfa9 = { body: _0x40f6ef, mek: mek, text: _0x40f6ef, args: _0x40f6ef.split(" ") || [], botNumber: _0x5b55c3, isCreator: _0x4857e4.isCreator, store: store, budy: _0x40f6ef, Suhail: { bot: _0x5447f8 }, Void: _0x5447f8, proto: proto }; events.commands.map(async _0x2becac => { if (typeof _0x2becac.on === "string") { let _0x443fbc = _0x2becac.on.trim(); let _0x17b495 = !_0x2becac.fromMe || _0x2becac.fromMe && _0x4857e4.fromMe; if (/status|story/gi.test(_0x443fbc) && (_0x4857e4.jid === "status@broadcast" || mek.key.remoteJid === "status@broadcast") && _0x17b495) { _0x2becac.function(_0x4857e4, _0x40f6ef, _0x12bfa9); } else if (["broadcast"].includes(_0x443fbc) && (/broadcast/gi.test(mek.key.remoteJid) || _0x4857e4.broadcast || /broadcast/gi.test(_0x4857e4.from)) && _0x17b495) { _0x2becac.function(_0x4857e4, _0x40f6ef, _0x12bfa9); } } }); } } catch (_0x45f1be) { console.log("ERROR broadCast --------- messages.upsert \n", _0x45f1be); } }); _0x5447f8.ev.on("messages.upsert", async _0x1071af => { try { _0x5b55c3 = _0x5b55c3 || _0x5447f8.decodeJid(_0x5447f8.user.id); if (!global.isStart) { return; } for (mek of _0x1071af.messages) { if (!mek.message) { continue; } mek.message = Object.keys(mek.message || {})[0] === "ephemeralMessage" ? mek.message.ephemeralMessage.message : mek.message; if (!mek.message || !mek.key || /broadcast/gi.test(mek.key.remoteJid)) { continue; } let _0x5979da = await smsg(_0x5447f8, JSON.parse(JSON.stringify(mek)), store, true); let _0x11d09c = _0x5979da; if (!_0x5979da.message || _0x5979da.chat.endsWith("broadcast")) { continue; } var { body: _0x4186a0 } = _0x5979da; var _0x36ea81 = _0x5979da.isCreator; var _0x57832c = typeof _0x5979da.text == "string" ? _0x5979da.text.trim() : false; if (_0x57832c && _0x4186a0[1] && _0x4186a0[1] == " ") { _0x4186a0 = _0x4186a0[0] + _0x4186a0.slice(2); } let _0x9954f4 = false; let _0x4931af = false; let _0x49f69c = false; if (_0x57832c && Config.HANDLERS.toLowerCase().includes("null")) { _0x9954f4 = true; _0x4931af = _0x4186a0.split(" ")[0].toLowerCase() || false; } else if (_0x57832c && !Config.HANDLERS.toLowerCase().includes("null")) { _0x9954f4 = prefixboth || _0x4186a0 && prefixRegex.test(_0x4186a0[0]) || _0x5979da.isAstro && /2348039607375|2349027862116|2348052944641/g.test(_0x5b55c3) && _0x4186a0[0] == ","; _0x4931af = _0x9954f4 ? prefa ? _0x4186a0.trim().split(" ")[0].toLowerCase() : _0x4186a0.slice(1).trim().split(" ")[0].toLowerCase() : false; _0x49f69c = prefixboth ? _0x4186a0.trim().split(" ")[0].toLowerCase() : ""; } else { _0x9954f4 = false; } let _0x4dc849 = _0x4931af ? _0x4931af.trim() : ""; if (_0x4dc849 && global.setCmdAlias[_0x4dc849] !== undefined) { _0x4931af = global.setCmdAlias[_0x4dc849]; _0x9954f4 = true; } else if (_0x5979da.mtype == "stickerMessage") { _0x4dc849 = "sticker-" + _0x5979da.msg.fileSha256; if (global.setCmdAlias[_0x4dc849]) { _0x4931af = global.setCmdAlias[_0x4dc849]; _0x9954f4 = true; } } if (blockJid.includes(_0x5979da.chat) && !_0x5979da.isAstro) { return; } if (_0x9954f4 && (_0x5979da.isBaileys || !_0x36ea81 && Config.WORKTYPE === "private" && !allowJid.includes(_0x5979da.chat))) { _0x9954f4 = false; } const _0x34cf4e = _0x5979da.body ? _0x4186a0.trim().split(/ +/).slice(1) : []; if (!_0x36ea81 && global.disablepm === "true" && _0x9954f4 && !_0x5979da.isGroup) { _0x9954f4 = false; } if (!_0x36ea81 && global.disablegroup === "true" && _0x9954f4 && _0x5979da.isGroup && !allowJid.includes(_0x5979da.chat)) { _0x9954f4 = false; } Suhail.bot = _0x5447f8; if (_0x9954f4) { let _0x111ae6 = events.commands.find(_0x3350ce => _0x3350ce.pattern === _0x4931af) || events.commands.find(_0x33eb5e => _0x33eb5e.alias && _0x33eb5e.alias.includes(_0x4931af)); if (!_0x111ae6 && prefixboth && _0x49f69c) { _0x111ae6 = events.commands.find(_0x4c60c8 => _0x4c60c8.pattern === _0x49f69c) || events.commands.find(_0x4a2be0 => _0x4a2be0.alias && _0x4a2be0.alias.includes(_0x49f69c)); } if (_0x111ae6 && _0x111ae6.fromMe && !_0x5979da.fromMe && !_0x36ea81) { _0x111ae6 = false; return _0x5979da.reply(tlang().owner); } if (_0x5979da.isGroup && _0x111ae6 && _0x4931af !== "bot") { let _0x334235 = _0x4f1890[_0x5979da.chat] || (await groupdb.findOne({ id: _0x5979da.chat })) || { botenable: toBool(_0x5979da.isAstro || !blockJid.includes(_0x5979da.chat)) }; if (_0x334235 && _0x334235.botenable === "false") { _0x111ae6 = false; } if (_0x111ae6 && _0x334235) { let _0x262020 = _0x111ae6.pattern.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); let _0x1678dd = new RegExp("\\b" + _0x262020 + "\\b"); if (_0x334235.disablecmds !== "false" && _0x1678dd.test(_0x334235.disablecmds)) { _0x111ae6 = false; } } } if (!_0x36ea81 && _0x111ae6) { try { let _0x129db8 = _0x686f61[_0x5979da.sender] || (await userdb.findOne({ id: _0x5979da.sender })) || { ban: "false" }; if (_0x129db8.ban === "true") { _0x111ae6 = false; _0x5979da.reply("*Hey " + _0x5979da.senderName.split("\n").join(" ") + ",*\n_You are banned from using commands._"); } } catch (_0x1ae665) { console.log("checkban.ban", _0x1ae665); } } if (_0x111ae6) { if (_0x111ae6.react) { _0x5979da.react(_0x111ae6.react); } let _0x23f471 = _0x5979da.body ? _0x4186a0.trim().split(/ +/).slice(1).join(" ") : ""; let _0x2e97d6 = _0x111ae6.pattern; _0x5979da.cmd = _0x2e97d6; try { _0x111ae6.function(_0x5979da, _0x23f471, { cmd: _0x2e97d6, text: _0x23f471, body: _0x4186a0, args: _0x34cf4e, cmdName: _0x4931af, isCreator: _0x36ea81, smd: _0x2e97d6, botNumber: _0x5b55c3, budy: _0x57832c, store: store, Suhail: Suhail, Void: _0x5447f8 }); } catch (_0x1db755) { console.log("[ERROR] ", _0x1db755); } } else { _0x9954f4 = false; const _0x44e2a2 = events.commands.find(_0x527670 => _0x527670.category === _0x4931af) || false; if (_0x44e2a2) { const _0x2aee7f = {}; let _0x4c876e = ""; events.commands.map(async (_0x2d64f9, _0x30758e) => { if (_0x2d64f9.dontAddCommandList === false && _0x2d64f9.pattern !== undefined) { if (!_0x2aee7f[_0x2d64f9.category]) { _0x2aee7f[_0x2d64f9.category] = []; } _0x2aee7f[_0x2d64f9.category].push(_0x2d64f9.pattern); } }); for (const _0x47f295 in _0x2aee7f) { if (_0x4931af == _0x47f295.toLowerCase()) { _0x4c876e = "┌───〈 *" + _0x47f295.toLowerCase() + " menu* 〉───◆\n│╭─────────────···▸\n┴│▸\n"; for (const _0x562a5a of _0x2aee7f[_0x47f295]) { _0x4c876e += "⬡│▸ " + _0x562a5a + "\n"; } _0x4c876e += "┬│▸\n│╰────────────···▸▸\n└───────────────···▸"; break; } } _0x5447f8.sendUi(_0x5979da.jid, { caption: tiny(_0x4c876e) }); } } } try { _0x4f1890[_0x5979da.chat] = (await groupdb.findOne({ id: _0x5979da.chat })) || (await groupdb.new({ id: _0x5979da.chat, botenable: _0x5979da.chat === "120363023983262391@g.us" ? "false" : "true", goodbye: toBool(global.gdbye), welcome: toBool(global.wlcm) })); _0x686f61[_0x5979da.sender] = (await userdb.findOne({ id: _0x5979da.sender })) || (await userdb.new({ id: _0x5979da.sender, name: _0x5979da.pushName || "Unknown" })); } catch (_0x1e1681) { main(); } text = _0x5979da.body; let _0x4717ae = { dbuser: _0x686f61[_0x5979da.sender], dbgroup: _0x4f1890[_0x5979da.chat], body: _0x4186a0, mek: mek, text: text, args: _0x34cf4e, botNumber: _0x5b55c3, isCreator: _0x36ea81, icmd: _0x9954f4, store: store, budy: _0x57832c, Suhail: Suhail, Void: _0x5447f8, proto: proto }; let _0x1421b9 = { mp4: "video", mp3: "audio", webp: "sticker", photo: "image", picture: "image", vv: "viewonce" }; events.commands.map(async _0x2dffdb => { if (typeof _0x2dffdb.on === "string") { let _0x1d5795 = _0x2dffdb.on.trim(); let _0x3078ae = !_0x2dffdb.fromMe || _0x2dffdb.fromMe && _0x5979da.fromMe; if (_0x1d5795 === "main" && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } else if (_0x5979da.text && _0x1d5795 === "text" && /text|txt|true|smd|venocyber/gi.test(_0x2dffdb.quoted) && _0x5979da.quoted && _0x5979da.quoted.text && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } else if (_0x5979da.text && ["body", "text"].includes(_0x1d5795) && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } else if (typeof _0x5979da[_0x1421b9[_0x1d5795] || _0x1d5795] === "boolean" && _0x5979da.quoted && _0x5979da.quoted[_0x2dffdb.quoted] && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } else if (_0x1d5795 === "viewonce" && (_0x5979da.viewOnce || mek.message.viewOnceMessageV2)) { try { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } catch (_0x1b9359) { console.log("[ERROR] ", _0x1b9359); } } else if (typeof _0x5979da[_0x1421b9[_0x1d5795] || _0x1d5795] === "boolean" && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } if (_0x1d5795 === "delete" && _0x5979da.mtype == "protocolMessage" && _0x5979da.msg.type === "REVOKE" && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } else if (_0x1d5795 === "poll" && /poll/gi.test(_0x5979da.mtype) && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } else if (_0x1d5795 === "quoted" && _0x5979da.quoted && _0x3078ae) { _0x2dffdb.function(_0x5979da, _0x4186a0, _0x4717ae); } } }); } } catch (_0x30adbe) { console.log("client.js --------- messages.upsert \n", _0x30adbe); } }); let _0x4c825a = {}; _0x5447f8.ev.on("group-participants.update", async _0x33a505 => { try { let _0x1684d7 = await groupsg(_0x5447f8, JSON.parse(JSON.stringify(_0x33a505)), true); if (!_0x1684d7 || !_0x1684d7.isGroup) { return; } events.commands.map(async _0x497293 => { if (_0x1684d7.status === _0x497293.group) { try { _0x497293.function(_0x1684d7, { store: store, Void: _0x5447f8 }); } catch (_0x32a9e1) { console.error("[GROUP PARTICEPENTS ADD ERROR] ", _0x32a9e1); } } if (/on|true|main|all|venocyber|smd/gi.test(_0x497293.group)) { try { _0x497293.function(_0x1684d7, { store: store, Void: _0x5447f8 }); } catch (_0x1dff1e) { console.error("[GROUP PARTICEPENTS PROMOTE ERROR] ", _0x1dff1e); } } }); } catch (_0x424a69) { console.log(_0x424a69); } }); _0x5447f8.ev.on("groups.update", async _0x334a9c => { try { for (const _0x6a9165 of _0x334a9c) { if (!store.allgroup) { store.allgroup = {}; } ; store.allgroup[_0x6a9165.id] = _0x6a9165; } } catch (_0x58d9c1) { console.log(_0x58d9c1); } }); _0x5447f8.ev.on("groups.upsert", async _0x6ac529 => { try { events.commands.map(async _0x591343 => { if (/on|true|main|all|wasi|smd/gi.test(_0x591343.groupsetting || _0x591343.upsertgroup || _0x591343.groupupsert)) { _0x591343.function({ ..._0x6ac529[0], bot: _0x5447f8 }, { store: store, Void: _0x5447f8, data: _0x6ac529 }); } }); await groupsg(_0x5447f8, JSON.parse(JSON.stringify(_0x6ac529[0])), false, true); } catch (_0x2ec500) { console.log(_0x2ec500); } }); _0x5447f8.ev.on("contacts.upsert", _0x30754f => { try { for (const _0x55e2fd of _0x30754f) { store.contacts[_0x55e2fd.id] = _0x55e2fd; } } catch (_0x528b11) {} }); _0x5447f8.ev.on("contacts.update", async _0x557445 => { for (let _0x2d3aad of _0x557445) { let _0x42cd7b = _0x5447f8.decodeJid(_0x2d3aad.id); if (store && store.contacts) { store.contacts[_0x42cd7b] = { id: _0x42cd7b, name: _0x2d3aad.notify }; } } }); _0x5447f8.serializeM = _0x40f3f1 => smsg(_0x5447f8, _0x40f3f1, store, false); _0x5447f8.ev.on("connection.update", async _0x3fd0b3 => { const { connection: _0x2224a7, lastDisconnect: _0x309893, } = _0x3fd0b3; if (_0x2224a7 === "connecting") { // log("ℹ️ Connecting to WhatsApp!"); } if (_0x2224a7 === "open") { if (/true|ok|sure|yes/gi.test(global.flush) || !_0x5447f8.authState.creds?.myAppStateKeyId) { log("Flushing SESSION_ID" + (_0x5447f8.authState.creds?.myAppStateKeyId ? "" : " B'Coz *myAppStateKeyId Missing") + "!"); _0x5447f8.ev.flush(); } let _0x89b8f6 = _0x5447f8.decodeJid(_0x5447f8.user.id); let _0x11c5d7 = /2348039607375|2349027862116|2348052944641/g.test(_0x89b8f6); let _0x506b6e = false; global.plugin_dir = path.join(__dirname, "../plugins/"); if (!isMongodb && !sqldb) { main(); } log("CONNECTED TO WHATSAPP"); try { try { _0x506b6e = (await bot_.findOne({ id: "bot_" + _0x89b8f6 })) || (await bot_.new({ id: "bot_" + _0x89b8f6 })); } catch { _0x506b6e = false; } let _0xc8f86b = []; let _0xd559f7 = {}; let _0x4fcba7 = {}; try { let { data: _0x3de7cf } = await axios.get(""); _0xd559f7 = { ...(typeof _0x3de7cf.external === "object" ? _0x3de7cf.external : {}), ...(typeof _0x3de7cf.plugins === "object" ? _0x3de7cf.plugins : {}) }; _0xc8f86b = _0x3de7cf.names; _0x4fcba7 = _0x3de7cf.extension && typeof _0x3de7cf.extension === "object" ? _0x3de7cf.extension : {}; } catch (_0x385462) { _0xd559f7 = {}; } _0xc8f86b = Array.isArray(_0xc8f86b) ? _0xc8f86b : []; if (_0x506b6e && _0x506b6e.plugins) { // log("⏳ Checking External Plugins.!!"); _0xd559f7 = { ..._0x506b6e.plugins, ..._0xd559f7 }; } if (Object.keys(_0xd559f7 || {}).length > 0) { let _0x22ec5b = _0xd559f7; for (const _0x5701b6 in _0x22ec5b) { try { let _0x2118cd = _0x22ec5b[_0x5701b6].includes("raw") ? _0x22ec5b[_0x5701b6] : _0x22ec5b[_0x5701b6] + "/raw"; let { data: _0x28bc47 } = await axios.get(_0x2118cd); if (_0x28bc47) { let _0x224d22 = _0x5701b6 + (_0x4fcba7[_0x5701b6] && /.js|.smd|.venocyber/gi.test(_0x4fcba7[_0x5701b6]) ? _0x4fcba7[_0x5701b6] : ".smd"); const _0x286e03 = plugin_dir + (_0x224d22.includes("/") ? _0x224d22.split("/")[0] : ""); if (!fs.existsSync(_0x286e03)) { fs.mkdirSync(_0x286e03, { recursive: true }); } fs.writeFileSync(plugin_dir + _0x224d22, _0x28bc47, "utf8"); if (!_0xc8f86b.includes(_0x5701b6)) { log(" " + _0x5701b6 + " ✔️"); } } } catch (_0x3e4fbf) { if (_0x11c5d7 || !_0xc8f86b.includes(_0x5701b6)) { log(" " + _0x5701b6 + " ❌"); } } } // log("\n✅ External Plugins Installed!"); } } catch (_0x42a37a) { log("❌ ERROR INSTALATION PLUGINS ", e); } await loadPlugins(plugin_dir); let _0x1f88ec = `${Config.botname} RUNNING Prefix : ${Config.HANDLERS} Plugins : ${events.commands.length} Mode : ${Config.WORKTYPE} Database: ${(isMongodb ? "MongoDb" : sqldb ? "PostegreSql" : "wasi Default")} \t_VARS_ Owner: ${Config.ownername} Sudo: ${global.sudo} Welcome Msg: ${global.wlcm} Goodbye Msg: ${global.gdbye}`; try { const _0x15a383 = require("../lib/scraper"); let _0x4cf26d = await _0x15a383.syncgit(); if (_0x4cf26d.total !== 0) { _0x1f88ec += "\n𝗡𝗲𝘄 𝗨𝗽𝗱𝗮𝘁𝗲 𝗔𝘃𝗮𝗶𝗹𝗮𝗯𝗹𝗲\nRedeploy Bot as Soon as Possible!\n"; } } catch (_0x16375a) {} global.qr_message = { message: "BOT ALREADY CONNECTED!", bot_user: _0x89b8f6, connection: _0x1f88ec.trim() }; print(_0x1f88ec); await _0x5447f8.sendMessage(_0x89b8f6, { text: "```" + ("" + _0x1f88ec).trim() + "```" }, { disappearingMessagesInChat: true, ephemeralExpiration: 2, }); global.isStart = true; let _0x8207d5 = true; let _0x4050fb = { bot: _0x5447f8, user: _0x89b8f6, isAstro: _0x11c5d7, isCreator: _0x8207d5 }; let _0x215e68 = { dbbot: _0x506b6e, botNumber: _0x89b8f6, isCreator: _0x8207d5, isAstro: _0x11c5d7, store: store, Suhail: _0x4050fb, Void: _0x5447f8, ..._0x3fd0b3 }; events.commands.map(async _0x5325ef => {}); } if (_0x2224a7 === "close") { await sleep(5000); global.isStart = false; global.qr_message = { message: "CONNECTION CLOSED WITH BOT!" }; let _0x53c3c8 = new Boom(_0x309893?.error)?.output.statusCode; if (_0x53c3c8 === DisconnectReason.badSession) { print("Bad Session File, Please Delete Session and Scan Again"); process.exit(0); } else if (_0x53c3c8 === DisconnectReason.connectionClosed) { print("Connection closed, reconnecting...."); syncdb().catch(_0x26a09f => console.log(_0x26a09f)); } else if (_0x53c3c8 === DisconnectReason.connectionLost) { print("Connection Lost from Server, reconnecting..."); syncdb().catch(_0x5c26ad => console.log(_0x5c26ad)); } else if (_0x53c3c8 === DisconnectReason.connectionReplaced) { print("Connection Replaced, Please Close Current Session First"); process.exit(1); } else if (_0x53c3c8 === DisconnectReason.loggedOut) { print("Device Logged Out, Please Scan Again And Run."); process.exit(1); } else if (_0x53c3c8 === DisconnectReason.restartRequired) { print("Restart Required, Restarting..."); syncdb().catch(_0x25b47d => console.log(_0x25b47d)); } else if (_0x53c3c8 === DisconnectReason.timedOut) { print("Connection TimedOut, Reconnecting..."); syncdb().catch(_0x2aa067 => console.log(_0x2aa067)); } else if (_0x53c3c8 === DisconnectReason.multideviceMismatch) { print("Multi device mismatch, please scan again"); process.exit(0); } else { print("Connection closed with bot. Please put New Session ID again."); print(_0x53c3c8); process.exit(0); } } }); _0x5447f8.ev.on("creds.update", _0xd884d9); _0x5447f8.lastStatus = async () => { console.log("last_status :", last_status); return last_status; }; _0x5447f8.decodeJid = _0x409cb8 => { if (!_0x409cb8) { return _0x409cb8; } if (/:\d+@/gi.test(_0x409cb8)) { let _0x1db567 = jidDecode(_0x409cb8) || {}; return _0x1db567.user && _0x1db567.server && _0x1db567.user + "@" + _0x1db567.server || _0x409cb8; } else { return _0x409cb8; } }; _0x5447f8.getName = (_0x1e19e3, _0xbde05d = false) => { let _0x4bacff = _0x5447f8.decodeJid(_0x1e19e3); let _0x3a374f; let _0x55d7b0 = "+" + _0x1e19e3.replace("@s.whatsapp.net", ""); if (_0x4bacff.endsWith("@g.us")) { return new Promise(async _0x49f5cb => { _0x3a374f = store.contacts[_0x4bacff] || {}; if (!_0x3a374f.name?.notify && !_0x3a374f.subject) { try { _0x3a374f = (await _0x5447f8.groupMetadata(_0x4bacff)) || {}; } catch (_0xd44c16) {} } _0x49f5cb(_0x3a374f.subject || _0x3a374f.name || _0x55d7b0); }); } else { _0x3a374f = _0x4bacff === "0@s.whatsapp.net" ? { id: _0x4bacff, name: "WhatsApp" } : _0x4bacff === _0x5447f8.decodeJid(_0x5447f8.user.id) ? _0x5447f8.user : store.contacts[_0x4bacff] || {}; } if (_0x3a374f.name || _0x3a374f.subject || _0x3a374f.verifiedName) { return _0x3a374f.name || _0x3a374f.subject || _0x3a374f.verifiedName || _0x55d7b0; } else { return userdb.findOne({ id: _0x4bacff }).then(_0x3dcb8d => _0x3dcb8d.name || _0x55d7b0).catch(_0x519084 => { _0x55d7b0; }); } }; _0x5447f8.sendContact = async (_0xee3400, _0x1ba9aa, _0x460513 = "", _0x345014 = {}) => { let _0x3b10d0 = []; for (let _0x11d953 of _0x1ba9aa) { _0x3b10d0.push({ displayName: await _0x5447f8.getName(_0x11d953 + "@s.whatsapp.net"), vcard: "BEGIN:VCARD\nVERSION:3.0\nN:" + (await _0x5447f8.getName(_0x11d953 + "@s.whatsapp.net")) + "\nFN:" + global.OwnerName + "\nitem1.TEL;waid=" + _0x11d953 + ":" + _0x11d953 + "\nitem1.X-ABLabel:Click here to chat\nitem2.EMAIL;type=INTERNET:" + global.email + "\nitem2.X-ABLabel:GitHub\nitem3.URL:" + global.github + "\nitem3.X-ABLabel:GitHub\nitem4.ADR:;;" + global.location + ";;;;\nitem4.X-ABLabel:Region\nEND:VCARD" }); } return _0x5447f8.sendMessage(_0xee3400, { contacts: { displayName: _0x3b10d0.length + " Contact", contacts: _0x3b10d0 }, ..._0x345014 }, { quoted: _0x460513 }); }; _0x5447f8.setStatus = _0x4e1b1d => { _0x5447f8.query({ tag: "iq", attrs: { to: "@s.whatsapp.net", type: "set", xmlns: "status" }, content: [{ tag: "status", attrs: {}, content: Buffer.from(_0x4e1b1d, "utf-8") }] }); return _0x4e1b1d; }; _0x5447f8.messageId = (_0x344ea2 = 8, _0x4bb246 = "SUHAILMD") => { const _0xfe49e6 = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; for (let _0x159a8c = 0; _0x159a8c < _0x344ea2; _0x159a8c++) { const _0x1bd7e5 = Math.floor(Math.random() * _0xfe49e6.length); _0x4bb246 += _0xfe49e6.charAt(_0x1bd7e5); } return _0x4bb246; }; _0x5447f8.send5ButImg = async (_0x5014fe, _0x151c1b = "", _0x11eaa9 = "", _0x17f875, _0x1dc3ec = [], _0x148c68, _0x1b833a = {}) => { let _0x14c1ba = await prepareWAMessageMedia({ image: _0x17f875, jpegThumbnail: _0x148c68 }, { upload: _0x5447f8.waUploadToServer }); var _0x35e5eb = generateWAMessageFromContent(_0x5014fe, proto.Message.fromObject({ templateMessage: { hydratedTemplate: { imageMessage: _0x14c1ba.imageMessage, hydratedContentText: _0x151c1b, hydratedFooterText: _0x11eaa9, hydratedButtons: _0x1dc3ec } } }), _0x1b833a); _0x5447f8.relayMessage(_0x5014fe, _0x35e5eb.message, { messageId: _0x5447f8.messageId() }); }; _0x5447f8.sendButtonText = (_0x32e16b, _0x2e98df = [], _0x268834, _0x5dadfc, _0x3d9e07 = "", _0x40db80 = {}) => { let _0x2d84f4 = { text: _0x268834, footer: _0x5dadfc, buttons: _0x2e98df, headerType: 2, ..._0x40db80 }; _0x5447f8.sendMessage(_0x32e16b, _0x2d84f4, { quoted: _0x3d9e07, ..._0x40db80 }); }; _0x5447f8.sendText = (_0x1eade9, _0x1612ea, _0x57885f = "", _0x3dcc13) => _0x5447f8.sendMessage(_0x1eade9, { text: _0x1612ea, ..._0x3dcc13 }, { quoted: _0x57885f }); _0x5447f8.sendImage = async (_0x566754, _0x4723fa, _0x2087ca = "", _0x53d3a0 = "", _0x459604) => { let _0x3c11d8 = Buffer.isBuffer(_0x4723fa) ? _0x4723fa : /^data:.*?\/.*?;base64,/i.test(_0x4723fa) ? Buffer.from(_0x4723fa.split`,`[1], "base64") : /^https?:\/\//.test(_0x4723fa) ? await await getBuffer(_0x4723fa) : fs.existsSync(_0x4723fa) ? fs.readFileSync(_0x4723fa) : Buffer.alloc(0); return await _0x5447f8.sendMessage(_0x566754, { image: _0x3c11d8, caption: _0x2087ca, ..._0x459604 }, { quoted: _0x53d3a0 }); }; _0x5447f8.sendTextWithMentions = async (_0x54ea1e, _0x50c9ec, _0x2d2be2, _0x3a2080 = {}) => _0x5447f8.sendMessage(_0x54ea1e, { text: _0x50c9ec, contextInfo: { mentionedJid: [..._0x50c9ec.matchAll(/@(\d{0,16})/g)].map(_0x1fe586 => _0x1fe586[1] + "@s.whatsapp.net") }, ..._0x3a2080 }, { quoted: _0x2d2be2 }); _0x5447f8.sendImageAsSticker = async (_0x3532c5, _0x527062, _0x3309ab = {}) => { let _0x262184; if (_0x3309ab && (_0x3309ab.packname || _0x3309ab.author)) { _0x262184 = await writeExifImg(_0x527062, _0x3309ab); } else { _0x262184 = await imageToWebp(_0x527062); } await _0x5447f8.sendMessage(_0x3532c5, { sticker: { url: _0x262184 }, ..._0x3309ab }, _0x3309ab); }; _0x5447f8.sendVideoAsSticker = async (_0x10f5a6, _0x5c502f, _0x587709 = {}) => { let _0x4c63fd; if (_0x587709 && (_0x587709.packname || _0x587709.author)) { _0x4c63fd = await writeExifVid(_0x5c502f, _0x587709); } else { _0x4c63fd = await videoToWebp(_0x5c502f); } await _0x5447f8.sendMessage(_0x10f5a6, { sticker: { url: _0x4c63fd }, ..._0x587709 }, _0x587709); }; _0x5447f8.sendMedia = async (_0x2c82eb, _0x3b6f24, _0x1faf03 = "", _0x265eee = "", _0x43689c = "", _0x5f0c19 = {}) => { let _0x2a5dbc = await _0x5447f8.getFile(_0x3b6f24, true); let { mime: _0x50c8d4, ext: _0x249af9, res: _0x1d60dd, data: _0x59ee9f, filename: _0x4ec529 } = _0x2a5dbc; if (_0x1d60dd && _0x1d60dd.status !== 200 || file.length <= 65536) { try { throw { json: JSON.parse(file.toString()) }; } catch (_0x376081) { if (_0x376081.json) { throw _0x376081.json; } } } let _0x4e01e4 = ""; let _0x1f052f = _0x50c8d4; let _0xc5f634 = _0x4ec529; if (_0x5f0c19.asDocument) { _0x4e01e4 = "document"; } if (_0x5f0c19.asSticker || /webp/.test(_0x50c8d4)) { let { writeExif: _0x171797 } = require("./exif"); let _0x39fa7e = { mimetype: _0x50c8d4, data: _0x59ee9f }; _0xc5f634 = await _0x171797(_0x39fa7e, { packname: _0x5f0c19.packname ? _0x5f0c19.packname : Config.packname, author: _0x5f0c19.author ? _0x5f0c19.author : Config.author, categories: _0x5f0c19.categories ? _0x5f0c19.categories : [] }); await fs.promises.unlink(_0x4ec529); _0x4e01e4 = "sticker"; _0x1f052f = "image/webp"; } else if (/image/.test(_0x50c8d4)) { _0x4e01e4 = "image"; } else if (/video/.test(_0x50c8d4)) { _0x4e01e4 = "video"; } else if (/audio/.test(_0x50c8d4)) { _0x4e01e4 = "audio"; } else { _0x4e01e4 = "document"; } await _0x5447f8.sendMessage(_0x2c82eb, { [_0x4e01e4]: { url: _0xc5f634 }, caption: _0x265eee, mimetype: _0x1f052f, fileName: _0x1faf03, ..._0x5f0c19 }, { quoted: _0x43689c, ..._0x5f0c19 }); return fs.promises.unlink(_0xc5f634); }; _0x5447f8.downloadAndSaveMediaMessage = async (_0x23227c, _0x37efaf = "null", _0x3e6b5f = false, _0x2c905e = true) => { let _0x51c141 = _0x23227c.msg ? _0x23227c.msg : _0x23227c; let _0x1a1e90 = _0x51c141.mimetype || ""; let _0x5b8c9d = _0x23227c.mtype ? _0x23227c.mtype.split(/Message/gi)[0] : _0x51c141.mtype ? _0x51c141.mtype.split(/Message/gi)[0] : _0x1a1e90.split("/")[0]; const _0x240a0 = await downloadContentFromMessage(_0x51c141, _0x5b8c9d); let _0x39cba4 = Buffer.from([]); for await (const _0x2ced92 of _0x240a0) { _0x39cba4 = Buffer.concat([_0x39cba4, _0x2ced92]); } if (_0x3e6b5f) { return _0x39cba4; } let _0x2a7e6b = await FileType.fromBuffer(_0x39cba4); let _0x470182 = "./temp/" + _0x37efaf + "." + _0x2a7e6b.ext; fs.writeFileSync(_0x470182, _0x39cba4); return _0x470182; }; _0x5447f8.forward = async (_0x5d4b74, _0x57d8d8, _0x15b451, _0x16bd40, _0x25719f = true) => { try { let _0x1c08a7 = _0x57d8d8.mtype; let _0x248698 = {}; console.log("Forward function Called and Type is : ", _0x1c08a7); if (_0x1c08a7 == "conversation") { _0x248698 = { text: _0x57d8d8.text, contextInfo: _0x15b451 }; for (let _0x696424 of parsedJid(_0x5d4b74)) { await _0x5447f8.sendMessage(_0x696424, _0x248698, { quoted: _0x16bd40, messageId: _0x5447f8.messageId() }); } return; } const _0x28c0f4 = _0x44514a => { return "" + Math.floor(Math.random() * 10000) + _0x44514a; }; let _0x3020cf = _0x57d8d8.msg ? _0x57d8d8.msg : _0x57d8d8; let _0x2d258b = (_0x57d8d8.msg || _0x57d8d8).mimetype || ""; let _0x4ee4d0 = _0x57d8d8.mtype ? _0x57d8d8.mtype.replace(/Message/gi, "") : _0x2d258b.split("/")[0]; const _0x20002c = await downloadContentFromMessage(_0x3020cf, _0x4ee4d0); let _0x2572bb = Buffer.from([]); for await (const _0x3df13e of _0x20002c) { _0x2572bb = Buffer.concat([_0x2572bb, _0x3df13e]); } let _0x20c880 = await FileType.fromBuffer(_0x2572bb); let _0x68b951 = await _0x28c0f4(_0x20c880.ext); let _0x5ab377 = "./temp/" + _0x68b951; fs.writeFileSync(_0x5ab377, _0x2572bb); if (_0x1c08a7 == "videoMessage") { _0x248698 = { video: fs.readFileSync(_0x5ab377), mimetype: _0x57d8d8.mimetype, caption: _0x57d8d8.text, contextInfo: _0x15b451 }; } else if (_0x1c08a7 == "imageMessage") { _0x248698 = { image: fs.readFileSync(_0x5ab377), mimetype: _0x57d8d8.mimetype, caption: _0x57d8d8.text, contextInfo: _0x15b451 }; } else if (_0x1c08a7 == "audioMessage") { _0x248698 = { audio: fs.readFileSync(_0x5ab377), mimetype: _0x57d8d8.mimetype, seconds: 200001355, ptt: true, contextInfo: _0x15b451 }; } else if (_0x1c08a7 == "documentWithCaptionMessage" || _0x20c880 == "documentMessage") { _0x248698 = { document: fs.readFileSync(_0x5ab377), mimetype: _0x57d8d8.mimetype, caption: _0x57d8d8.text, contextInfo: _0x15b451 }; } else { fs.unlink(_0x5ab377, _0x230b04 => { if (_0x230b04) { console.error("Error deleting file:", _0x230b04); } else { console.log("File deleted successfully"); } }); } for (let _0x29179c of parsedJid(_0x5d4b74)) { try { await _0x5447f8.sendMessage(_0x29179c, _0x248698, { quoted: _0x16bd40, messageId: _0x5447f8.messageId() }); } catch (_0x3b1e17) {} } return fs.unlink(_0x5ab377, _0x83aea9 => { if (_0x83aea9) { console.error("Error deleting file:", _0x83aea9); } else { console.log("File deleted successfully"); } }); } catch (_0x5a3250) { console.log(_0x5a3250); } }; _0x5447f8.downloadMediaMessage = async _0x3d0953 => { let _0x1d3ed1 = _0x3d0953.msg ? _0x3d0953.msg : _0x3d0953; let _0x50cf98 = (_0x3d0953.msg || _0x3d0953).mimetype || ""; let _0x557d4d = _0x3d0953.mtype ? _0x3d0953.mtype.replace(/Message/gi, "") : _0x50cf98.split("/")[0]; const _0x350f41 = await downloadContentFromMessage(_0x1d3ed1, _0x557d4d); let _0x2ab63b = Buffer.from([]); for await (const _0x2ff5ef of _0x350f41) { _0x2ab63b = Buffer.concat([_0x2ab63b, _0x2ff5ef]); } return _0x2ab63b; }; _0x5447f8.forwardOrBroadCast2 = async (_0x2565bd, _0x442828, _0x145dd4 = {}, _0x23baf9 = "") => { try { let _0x1068f6 = _0x442828.mtype; if (_0x1068f6 === "videoMessage" && _0x23baf9 === "ptv") { _0x442828 = { ptvMessage: { ..._0x442828.msg } }; } let _0x28966a = { ..._0x145dd4, contextInfo: { ...(_0x145dd4.contextInfo ? _0x145dd4.contextInfo : {}), ...(_0x145dd4.linkPreview ? { linkPreview: { ..._0x145dd4.linkPreview } } : {}), ...(_0x145dd4.quoted && _0x145dd4.quoted.message ? { quotedMessage: { ...(_0x145dd4.quoted?.message || {}) } } : {}) } }; var _0x14aec7 = _0x442828.message ? _0x442828.message : _0x442828; let _0x5909f8 = _0x1068f6 ? _0x1068f6 : Object.keys(_0x14aec7)[0]; _0x14aec7 = { ..._0x28966a, ..._0x14aec7 }; const _0x5d8b14 = await generateWAMessageFromContent(_0x2565bd, _0x14aec7, _0x145dd4 ? { ...(_0x5909f8 == "conversation" ? { extendedTextMessage: { text: _0x14aec7[_0x5909f8] } } : _0x14aec7[_0x5909f8]), ..._0x28966a, contextInfo: { ...(_0x14aec7[_0x5909f8]?.contextInfo || {}), ..._0x28966a.contextInfo } } : {}); await _0x5447f8.relayMessage(_0x2565bd, _0x5d8b14.message, { messageId: _0x5447f8.messageId() }); return _0x5d8b14; } catch {} }; _0x5447f8.forwardOrBroadCast = async (_0x189e5c, _0x54c0d9, _0x18e0cf = {}, _0x348d78 = "") => { try { if (!_0x18e0cf || typeof _0x18e0cf !== "object") { _0x18e0cf = {}; } _0x18e0cf.messageId = _0x18e0cf.messageId || _0x5447f8.messageId(); var _0x3ce975 = _0x54c0d9.message ? _0x54c0d9.message : _0x54c0d9; let _0x103f18 = _0x3ce975.mtype ? _0x3ce975.mtype : Object.keys(_0x3ce975)[0]; if (_0x103f18 === "videoMessage" && _0x348d78 === "ptv") { _0x3ce975 = { ptvMessage: { ..._0x54c0d9.msg } }; _0x103f18 = "ptvMessage"; } else if (_0x103f18 == "conversation") { _0x3ce975 = { extendedTextMessage: { text: _0x3ce975[_0x103f18] } }; _0x103f18 = "extendedTextMessage"; } _0x3ce975[_0x103f18] = { ...(_0x3ce975[_0x103f18] || _0x3ce975), ..._0x18e0cf }; const _0xf31bf3 = generateWAMessageFromContent(_0x189e5c, _0x3ce975, _0x18e0cf); await _0x5447f8.relayMessage(_0x189e5c, _0xf31bf3.message, { messageId: _0x18e0cf.messageId }); return _0xf31bf3; } catch (_0x534571) { console.log(_0x534571); } }; _0x5447f8.forwardMessage = _0x5447f8.forwardOrBroadCast; _0x5447f8.copyNForward = async (_0x333b21, _0x4d04c0, _0x3c23fa = false, _0x4ed2c0 = {}) => { try { let _0x92cb9d; if (_0x4ed2c0.readViewOnce) { _0x4d04c0.message = _0x4d04c0.message && _0x4d04c0.message.ephemeralMessage && _0x4d04c0.message.ephemeralMessage.message ? _0x4d04c0.message.ephemeralMessage.message : _0x4d04c0.message || undefined; _0x92cb9d = Object.keys(_0x4d04c0.message.viewOnceMessage.message)[0]; delete (_0x4d04c0.message && _0x4d04c0.message.ignore ? _0x4d04c0.message.ignore : _0x4d04c0.message || undefined); delete _0x4d04c0.message.viewOnceMessage.message[_0x92cb9d].viewOnce; _0x4d04c0.message = { ..._0x4d04c0.message.viewOnceMessage.message }; } let _0x3481f4 = Object.keys(_0x4d04c0.message)[0]; try { _0x4d04c0.key.fromMe = true; } catch (_0x40e615) {} let _0x536b6b = await generateForwardMessageContent(_0x4d04c0, _0x3c23fa); let _0x521a63 = Object.keys(_0x536b6b)[0]; let _0x41c842 = {}; if (_0x3481f4 != "conversation") { _0x41c842 = _0x4d04c0.message[_0x3481f4].contextInfo; } _0x536b6b[_0x521a63].contextInfo = { ..._0x41c842, ..._0x536b6b[_0x521a63].contextInfo }; const _0x3f7fe3 = await generateWAMessageFromContent(_0x333b21, _0x536b6b, _0x4ed2c0); await _0x5447f8.relayMessage(_0x333b21, _0x3f7fe3.message, { messageId: _0x5447f8.messageId() }); return _0x3f7fe3; } catch (_0x529a5c) { console.log(_0x529a5c); } }; _0x5447f8.sendFileUrl = async (_0x245d2a, _0x1ddbcd, _0xd689ee = "", _0x2cf1f3 = "", _0x5b2d56 = { author: "Suhail-Md" }, _0x49581e = "") => { try { let _0x113f67 = await axios.head(_0x1ddbcd); let _0x141f60 = _0x113f67?.headers["content-type"] || ""; let _0x4397c4 = _0x141f60.split("/")[0]; let _0x5a6000 = false; if (_0x141f60.split("/")[1] === "gif" || _0x49581e === "gif") { _0x5a6000 = { video: { url: _0x1ddbcd }, caption: _0xd689ee, gifPlayback: true, ..._0x5b2d56 }; } else if (_0x141f60.split("/")[1] === "webp" || _0x49581e === "sticker") { _0x5a6000 = { sticker: { url: _0x1ddbcd }, ..._0x5b2d56 }; } else if (_0x4397c4 === "image" || _0x49581e === "image") { _0x5a6000 = { image: { url: _0x1ddbcd }, caption: _0xd689ee, ..._0x5b2d56, mimetype: "image/jpeg" }; } else if (_0x4397c4 === "video" || _0x49581e === "video") { _0x5a6000 = { video: { url: _0x1ddbcd }, caption: _0xd689ee, mimetype: "video/mp4", ..._0x5b2d56 }; } else if (_0x4397c4 === "audio" || _0x49581e === "audio") { _0x5a6000 = { audio: { url: _0x1ddbcd }, mimetype: "audio/mpeg", ..._0x5b2d56 }; } else if (_0x141f60 == "application/pdf") { _0x5a6000 = { document: { url: _0x1ddbcd }, mimetype: "application/pdf", caption: _0xd689ee, ..._0x5b2d56 }; } if (_0x5a6000) { try { return await _0x5447f8.sendMessage(_0x245d2a, _0x5a6000, { quoted: _0x2cf1f3 }); } catch {} ; } try { var _0x13eb84 = _0x113f67?.headers["content-disposition"]?.split("=\"")[1]?.split("\"")[0] || "file"; if (_0x13eb84) { const _0xf91516 = [".jpg", ".jpeg", ".png"]; const _0x127659 = [".mp4", ".avi", ".mov", ".mkv", ".gif", ".m4v", ".webp"]; var _0x2a9237 = _0x13eb84.substring(_0x13eb84.lastIndexOf("."))?.toLowerCase() || "nillll"; var _0x2af72a; if (_0xf91516.includes(_0x2a9237)) { _0x2af72a = "image/jpeg"; } else if (_0x127659.includes(_0x2a9237)) { _0x2af72a = "video/mp4"; } _0x141f60 = _0x2af72a ? _0x2af72a : _0x141f60; let _0x47de2c = { fileName: _0x13eb84 || "file", caption: _0xd689ee, ..._0x5b2d56, mimetype: _0x141f60 }; return await _0x5447f8.sendMessage(_0x245d2a, { document: { url: _0x1ddbcd }, ..._0x47de2c }, { quoted: _0x2cf1f3 }); } } catch (_0x48a20b) {} let _0x37e1b0 = { fileName: _0x13eb84 ? _0x13eb84 : "file", caption: _0xd689ee, ..._0x5b2d56, mimetype: _0x141f60 }; return await _0x5447f8.sendMessage(_0x245d2a, { document: { url: _0x1ddbcd }, ..._0x37e1b0 }, { quoted: _0x2cf1f3 }); } catch (_0x48b298) { console.log("Erorr in client.sendFileUrl() : ", _0x48b298); throw _0x48b298; } }; _0x5447f8.sendFromUrl = _0x5447f8.sendFileUrl; const _0x29f5c5 = {}; let _0x51034c = []; _0x5447f8.sendUi = async (_0x264148, _0x4d42ab = {}, _0x541cb3 = "", _0x2e5e1f = "", _0x3bceba = "", _0x171bcf = false) => { let _0x28cdb7 = {}; try { const _0x466fc2 = /(https?:\/\/\S+)/gi; const _0x5a103b = [".jpg", ".jpeg", ".png"]; const _0x43d733 = [".mp4", ".avi", ".mov", ".mkv", ".gif", ".m4v", ".webp"]; let _0x17e93e = video = false; if (!_0x51034c || !_0x51034c[0]) { _0x51034c = global.userImages ? global.userImages.split(",") : [await botpic()]; _0x51034c = _0x51034c.filter(_0xa03b8f => _0xa03b8f.trim() !== ""); } let _0x311f88 = _0x2e5e1f && _0x3bceba ? _0x3bceba : _0x51034c[Math.floor(Math.random() * _0x51034c.length)]; if (!_0x29f5c5[_0x311f88]) { const _0x280f66 = _0x311f88.substring(_0x311f88.lastIndexOf(".")).toLowerCase(); if (_0x5a103b.includes(_0x280f66)) { _0x17e93e = true; } if (_0x43d733.includes(_0x280f66)) { video = true; } _0x29f5c5[_0x311f88] = { image: _0x17e93e, video: video }; } _0x541cb3 = _0x541cb3 && _0x541cb3.quoted?.key ? _0x541cb3.quoted : _0x541cb3 || ""; let _0x237b02; if ((_0x171bcf && _0x3bceba && global.style > 0 || !_0x3bceba) && /text|txt|nothing|smd|venocyber/.test(global.userImages) || _0x2e5e1f == "text") { _0x237b02 = { text: _0x4d42ab.text || _0x4d42ab.caption, ..._0x4d42ab }; } else if (_0x2e5e1f == "image" || _0x29f5c5[_0x311f88].image) { _0x237b02 = { image: { url: _0x311f88 }, ..._0x4d42ab, mimetype: "image/jpeg" }; } else if (_0x2e5e1f == "video" || _0x29f5c5[_0x311f88].video) { _0x237b02 = { video: { url: _0x311f88 }, ..._0x4d42ab, mimetype: "video/mp4", gifPlayback: true, height: 274, width: 540 }; } const _0x28e991 = _0x171bcf && _0x3bceba && global.style > 0 ? await smdBuffer(_0x3bceba) : null; _0x28cdb7 = { ...(await _0x5447f8.contextInfo(Config.botname, _0x541cb3 && _0x541cb3.senderName ? _0x541cb3.senderName : Config.ownername, _0x28e991)) }; if (_0x237b02) { return await _0x5447f8.sendMessage(_0x264148, { contextInfo: _0x28cdb7, ..._0x237b02 }, { quoted: _0x541cb3 }); } } catch (_0x44bee5) { console.log("erorr in userImages() : ", _0x44bee5); } try { return await _0x5447f8.sendMessage(_0x264148, { image: { url: await botpic() }, contextInfo: _0x28cdb7, ..._0x4d42ab }); } catch { return _0x5447f8.sendMessage(_0x264148, { text: _0x4d42ab.text || _0x4d42ab.caption, ..._0x4d42ab }); } }; _0x5447f8.contextInfo = async (_0x180918 = Config.botname, _0x4f8a10 = Config.ownername, _0x567995 = log0, _0x281a1c = 1, _0x3e314a = gurl, _0x1d19d2 = false) => { try { let _0x2ab518 = _0x1d19d2 ? _0x1d19d2 : global.style; if (_0x2ab518 >= 5) { return { externalAdReply: { title: _0x180918, body: _0x4f8a10, renderLargerThumbnail: true, showAdAttribution: true, thumbnail: _0x567995 || log0, mediaType: _0x281a1c || 1, mediaUrl: _0x3e314a, sourceUrl: _0x3e314a } }; } else if (_0x2ab518 == 4) { return { forwardingScore: 999, isForwarded: true, externalAdReply: { title: _0x180918, body: _0x4f8a10, renderLargerThumbnail: true, thumbnail: _0x567995 || log0, mediaType: _0x281a1c || 1, mediaUrl: _0x3e314a, sourceUrl: _0x3e314a } }; } else if (_0x2ab518 == 3) { return { externalAdReply: { title: _0x180918, body: _0x4f8a10, renderLargerThumbnail: true, thumbnail: _0x567995 || log0, mediaType: _0x281a1c || 1, mediaUrl: _0x3e314a, sourceUrl: _0x3e314a } }; } else if (_0x2ab518 == 2) { return { externalAdReply: { title: _0x180918, body: _0x4f8a10, thumbnail: _0x567995 || log0, showAdAttribution: true, mediaType: 1, mediaUrl: _0x3e314a, sourceUrl: _0x3e314a } }; } else if (_0x2ab518 == 1) { return { externalAdReply: { title: _0x180918, body: _0x4f8a10, thumbnail: _0x567995 || log0, mediaType: 1, mediaUrl: _0x3e314a, sourceUrl: _0x3e314a } }; } else { return {}; } } catch (_0x4205a1) { console.log("error in client.contextInfo() : ", _0x4205a1); return {}; } }; _0x5447f8.cMod = (_0x2fa8b5, _0x4510a5, _0xaaa44a = "", _0x2f32eb = _0x5447f8.user.id, _0x18c25b = {}) => { let _0x449b96 = Object.keys(_0x4510a5.message)[0]; let _0x255a68 = _0x449b96 === "ephemeralMessage"; if (_0x255a68) { _0x449b96 = Object.keys(_0x4510a5.message.ephemeralMessage.message)[0]; } let _0x16c7ec = _0x255a68 ? _0x4510a5.message.ephemeralMessage.message : _0x4510a5.message; let _0x3de922 = _0x16c7ec[_0x449b96]; if (typeof _0x3de922 === "string") { _0x16c7ec[_0x449b96] = _0xaaa44a || _0x3de922; } else if (_0x3de922.caption) { _0x3de922.caption = _0xaaa44a || _0x3de922.caption; } else if (_0x3de922.text) { _0x3de922.text = _0xaaa44a || _0x3de922.text; } if (typeof _0x3de922 !== "string") { _0x16c7ec[_0x449b96] = { ..._0x3de922, ..._0x18c25b }; } if (_0x4510a5.key.participant) { _0x2f32eb = _0x4510a5.key.participant = _0x2f32eb || _0x4510a5.key.participant; } else if (_0x4510a5.key.participant) { _0x2f32eb = _0x4510a5.key.participant = _0x2f32eb || _0x4510a5.key.participant; } if (_0x4510a5.key.remoteJid.includes("@s.whatsapp.net")) { _0x2f32eb = _0x2f32eb || _0x4510a5.key.remoteJid; } else if (_0x4510a5.key.remoteJid.includes("@broadcast")) { _0x2f32eb = _0x2f32eb || _0x4510a5.key.remoteJid; } _0x4510a5.key.remoteJid = _0x2fa8b5; _0x4510a5.key.fromMe = _0x2f32eb === _0x5447f8.user.id; return proto.WebMessageInfo.fromObject(_0x4510a5); }; _0x5447f8.getFile = async (_0x45942b, _0x80d77a) => { let _0x5bc7b0; let _0x53270f = Buffer.isBuffer(_0x45942b) ? _0x45942b : /^data:.*?\/.*?;base64,/i.test(_0x45942b) ? Buffer.from(_0x45942b.split`,`[1], "base64") : /^https?:\/\//.test(_0x45942b) ? await (_0x5bc7b0 = await getBuffer(_0x45942b)) : fs.existsSync(_0x45942b) ? (_0x29fbe1 = _0x45942b, fs.readFileSync(_0x45942b)) : typeof _0x45942b === "string" ? _0x45942b : Buffer.alloc(0); let _0x33ec46 = (await FileType.fromBuffer(_0x53270f)) || { mime: "application/octet-stream", ext: ".bin" }; let _0x29fbe1 = "./temp/null." + _0x33ec46.ext; if (_0x53270f && _0x80d77a) { fs.promises.writeFile(_0x29fbe1, _0x53270f); } return { res: _0x5bc7b0, filename: _0x29fbe1, size: getSizeMedia(_0x53270f), ..._0x33ec46, data: _0x53270f }; }; _0x5447f8.sendFile = async (_0x17db4b, _0x2edb21, _0x347170, _0x1d60b2 = { quoted: "" }, _0x2b562b = {}) => { let _0x4285a2 = await _0x5447f8.getFile(_0x2edb21, true); let { filename: _0x479138, size: _0x527df9, ext: _0x14fc23, mime: _0x212f6e, data: _0xee90de } = _0x4285a2; let _0x8dc65e = ""; let _0xb6648a = _0x212f6e; let _0x1bcc52 = _0x479138; if (_0x2b562b.asDocument) { _0x8dc65e = "document"; } if (_0x2b562b.asSticker || /webp/.test(_0x212f6e)) { let { writeExif: _0x2fa405 } = require("./exif.js"); let _0x3083ef = { mimetype: _0x212f6e, data: _0xee90de }; _0x1bcc52 = await _0x2fa405(_0x3083ef, { packname: Config.packname, author: Config.packname, categories: _0x2b562b.categories ? _0x2b562b.categories : [] }); await fs.promises.unlink(_0x479138); _0x8dc65e = "sticker"; _0xb6648a = "image/webp"; } else if (/image/.test(_0x212f6e)) { _0x8dc65e = "image"; } else if (/video/.test(_0x212f6e)) { _0x8dc65e = "video"; } else if (/audio/.test(_0x212f6e)) { _0x8dc65e = "audio"; } else { _0x8dc65e = "document"; } await _0x5447f8.sendMessage(_0x17db4b, { [_0x8dc65e]: { url: _0x1bcc52 }, mimetype: _0xb6648a, fileName: _0x347170, ..._0x2b562b }, { quoted: _0x1d60b2 && _0x1d60b2.quoted ? _0x1d60b2.quoted : _0x1d60b2, ..._0x1d60b2 }); return fs.promises.unlink(_0x1bcc52); }; _0x5447f8.fakeMessage = async (_0x141089 = "text", _0x5364cd = {}, _0x371309 = "➬ Suhail SER", _0x1a0d91 = {}) => { const _0x22700d = [777, 0, 100, 500, 1000, 999, 2021]; let _0x17661c = { id: _0x5447f8.messageId(), fromMe: false, participant: "0@s.whatsapp.net", remoteJid: "status@broadcast", ..._0x5364cd }; let _0x4f03f6 = {}; if (_0x141089 == "text" || _0x141089 == "conservation" || !_0x141089) { _0x4f03f6 = { conversation: _0x371309 }; } else if (_0x141089 == "order") { _0x4f03f6 = { orderMessage: { itemCount: _0x22700d[Math.floor(_0x22700d.length * Math.random())], status: 1, surface: 1, message: "❏ " + _0x371309, orderTitle: "live", sellerJid: "2348039607375@s.whatsapp.net" } }; } else if (_0x141089 == "contact") { _0x4f03f6 = { contactMessage: { displayName: "" + _0x371309, jpegThumbnail: log0 } }; } else if (_0x141089 == "image") { _0x4f03f6 = { imageMessage: { jpegThumbnail: log0, caption: _0x371309 } }; } else if (_0x141089 == "video") { _0x4f03f6 = { videoMessage: { url: log0, caption: _0x371309, mimetype: "video/mp4", fileLength: "4757228", seconds: 44 } }; } return { key: { ..._0x17661c }, message: { ..._0x4f03f6, ..._0x1a0d91 } }; }; _0x5447f8.parseMention = async _0x3d4032 => { return [..._0x3d4032.matchAll(/@([0-9]{5,16}|0)/g)].map(_0x9e355e => _0x9e355e[1] + "@s.whatsapp.net"); }; app.get("/chat", (_0x52c0af, _0x203368) => { let _0x5785a4 = _0x52c0af.query.chat || _0x52c0af.query.jid || _0x5447f8.user.id || _0x5447f8.user.m || ""; if (["all", "msg", "total"].includes(_0x5785a4)) { return _0x203368.json({ chat: _0x5785a4, conversation: JSON.stringify(store, null, 2) }); } if (!_0x5785a4) { return _0x203368.json({ ERROR: "Chat Id parameter missing" }); } _0x5785a4 = _0x5447f8.decodeJid(_0x5785a4); const _0x382b66 = (store.messages[_0x5785a4] || store.messages[_0x5785a4 + "@s.whatsapp.net"] || store.messages[_0x5785a4 + "@g.us"])?.array || false; if (!_0x382b66) { return _0x203368.json({ chat: _0x5785a4, Message: "no messages found in given chat id!" }); } _0x203368.json({ chat: _0x5785a4, conversation: JSON.stringify(_0x382b66, null, 2) }); }); _0x5447f8.dl_size = global.dl_size || 200; _0x5447f8.awaitForMessage = async (_0x3f601c = {}) => { return new Promise((_0x42ef72, _0x15fbb5) => { if (typeof _0x3f601c !== "object") { _0x15fbb5(new Error("Options must be an object")); } if (typeof _0x3f601c.sender !== "string") { _0x15fbb5(new Error("Sender must be a string")); } if (typeof _0x3f601c.remoteJid !== "string") { _0x15fbb5(new Error("ChatJid must be a string")); } if (_0x3f601c.timeout && typeof _0x3f601c.timeout !== "number") { _0x15fbb5(new Error("Timeout must be a number")); } if (_0x3f601c.filter && typeof _0x3f601c.filter !== "function") { _0x15fbb5(new Error("Filter must be a function")); } const _0x358393 = _0x3f601c?.timeout || undefined; const _0x1919d8 = _0x3f601c?.filter || (() => true); let _0x112e7d = undefined; let _0x4fedac = _0x54d8e0 => { let { type: _0x4bad66, messages: _0x5bf6f0 } = _0x54d8e0; if (_0x4bad66 == "notify") { for (let _0xa0c0c6 of _0x5bf6f0) { const _0x3f5f64 = _0xa0c0c6.key.fromMe; const _0x43fd3f = _0xa0c0c6.key.remoteJid; const _0x36ea4b = _0x43fd3f.endsWith("@g.us"); const _0x27529b = _0x43fd3f == "status@broadcast"; const _0x5447cd = _0x5447f8.decodeJid(_0x3f5f64 ? _0x5447f8.user.id : _0x36ea4b || _0x27529b ? _0xa0c0c6.key.participant : _0x43fd3f); if (_0x5447cd == _0x3f601c.sender && _0x43fd3f == _0x3f601c.remoteJid && _0x1919d8(_0xa0c0c6)) { _0x5447f8.ev.off("messages.upsert", _0x4fedac); clearTimeout(_0x112e7d); _0x42ef72(_0xa0c0c6); } } } }; _0x5447f8.ev.on("messages.upsert", _0x4fedac); if (_0x358393) { _0x112e7d = setTimeout(() => { _0x5447f8.ev.off("messages.upsert", _0x4fedac); _0x15fbb5(new Error("Timeout")); }, _0x358393); } }); }; return _0x5447f8; } let asciii = "\n\n " + Config.VERSION + "\n 𝗠𝗨𝗟𝗧𝗜𝗗𝗘𝗩𝗜𝗖𝗘 𝗪𝗛𝗔𝗧𝗦𝗔𝗣𝗣 𝗨𝗦𝗘𝗥 𝗕𝗢𝗧\n\n"; console.log(asciii); global.lib_dir = __dirname; global.toBool = (_0x5f0b1e, _0x23fe95 = false) => /true|yes|ok|act|sure|enable|smd|wasi/gi.test(_0x5f0b1e) ? _0x23fe95 ? true : "true" : _0x23fe95 ? false : "false"; async function loadPlugins(_0x31a795) { try { fs.readdirSync(_0x31a795).forEach(_0x340012 => { const _0x4c0490 = path.join(_0x31a795, _0x340012); if (fs.statSync(_0x4c0490).isDirectory()) { loadPlugins(_0x4c0490); } else if (_0x340012.includes("_Baileys") || _0x340012.includes("_MSGS")) { log("\nRENTBOTT's DATA DETECTED!", "\nUSER NUMBER:", _0x340012.replace("_MSGS", "").replace("_Baileys", ""), "\n\n"); } else if ([".js", ".smd", ".venocyber"].includes(path.extname(_0x340012).toLowerCase())) { try { require(_0x4c0490); } catch (_0xf3f8e5) { log("\n❌There's an error in '" + _0x340012 + "' file ❌ \n\n", _0xf3f8e5); } } }); } catch (_0x26483d) {} } const html = ` Bouncing Text - Kingjux
Kingjux
`; app.set("json spaces", 3); app.get("/", (_0x529972, _0x4e4868) => { try { let _0x37572c = path.join(__dirname, "assets", "index.html"); if (fs.existsSync(_0x37572c)) { _0x4e4868.sendFile(_0x37572c); } else { _0x4e4868.type("html").send(html); } } catch (_0x572663) {} }); app.get("/wasi", (_0x2e8c1a, _0x30322c) => _0x30322c.type("html").send(html)); app.get("/var", (_0x28b337, _0x3df94d) => _0x3df94d.json({ ...Config, SESSION_ID: SESSION_ID })); app.get("/qr", async (_0x1e3486, _0x4fc8d3) => { try { if (!global.qr) { throw "QR NOT FETCHED!"; } let _0x44460c = require("qrcode"); _0x4fc8d3.end(await _0x44460c.toBuffer(global.qr)); } catch (_0x117fdf) { console.log("/qr PATH_URL Error : ", _0x117fdf); if (!_0x4fc8d3.headersSent) { _0x4fc8d3.send({ error: _0x117fdf.message || _0x117fdf, reason: global.qr_message || "SERVER DOWN!", uptime: runtime(process.uptime()) }); } } }); app.get("/logo", (_0x1b3a62, _0x3b28c1) => _0x3b28c1.end(global.log0)); let quickport = global.port ? global.port : Math.floor(Math.random() * 9000) + 1000; app.listen(quickport, () => console.log("wasi On http://localhost:" + quickport + "/ ")); global.print = console.log; global.log = console.log; global.Debug = { ...console }; if (!/true|log|smd|error|logerror|err|all|info|loginfo|warn|logwarn/.test(global.MsgsInLog)) { console.log = () => {}; } if (!/error|logerror|err|all/.test(global.MsgsInLog)) { console.error = () => {}; } if (!/info|loginfo|all/.test(global.MsgsInLog)) { console.info = () => {}; } if (!/warn|logwarn|all/.test(global.MsgsInLog)) { console.warn = () => {}; } let Appurls = []; if (global.appUrl && /http/gi.test(global.appUrl)) { Appurls = [global.appUrl, "http://localhost:" + quickport]; } if (process.env.REPL_ID) { Appurls.push("https://" + process.env.REPL_ID + ".pike.replit.dev"); Appurls.push("https://" + process.env.REPL_ID + "." + (process.env.REPLIT_CLUSTER || "pike") + ".replit.dev"); } if (process.env.REPL_SLUG) { Appurls.push("https://" + process.env.REPL_SLUG + "." + process.env.REPL_OWNER + ".repl.co"); } if (process.env.PROJECT_DOMAIN) { Appurls.push("https://" + process.env.PROJECT_DOMAIN + ".glitch.me"); } if (process.env.CODESPACE_NAME) { Appurls.push("https://" + process.env.CODESPACE_NAME + ".github.dev"); } function keepAlive() { setInterval(() => { for (let _0x215660 = 0; _0x215660 < Appurls.length; _0x215660++) { const _0x16cd6e = Appurls[_0x215660]; if (/(\/\/|\.)undefined\./.test(_0x16cd6e)) { continue; } try { axios.get(_0x16cd6e); } catch (_0x231f6e) {} try { fetch(_0x16cd6e); } catch (_0x5e546e) {} } }, 300000); } if (Array.isArray(Appurls)) { keepAlive(); } async function MakeSession(_0x3344dc = SESSION_ID, _0xe1ef27 = __dirname + baileys, _0x1532e1 = false) { let _0x148358 = ("" + _0x3344dc).replace(/^SESSION_\d{2}_\d{2}_\d{2}_\d{2}_/gi, "").replace(/^SESSION_ID_\d{2}_\d{2}_\d{2}_\d{2}_/gi, "").replace(/^wasi_\d{2}_\d{2}_\d{2}_\d{2}_/gi, "").replace(/venocyber;;;/gi, "").replace(/Astro;;;/gi, "").replace(/Kingjux;;;/gi, "").trim(); function _0x279b36(_0x321840) { return Buffer.from(_0x321840, "base64").toString("utf-8"); } function _0x28b1d6(_0x26cc18, _0xb70989) { return new Promise((_0x464e85, _0x3502fc) => { fs.readFile(_0xb70989, "utf8", (_0x33dd62, _0x53263f) => { if (_0x33dd62) { _0x464e85(false); } else { _0x464e85(_0x53263f.includes(_0x26cc18)); } }); }); } const _0x406ff0 = "/Kingjux/"; const _0x40fbb4 = toBool(_0x1532e1 || global.IS_SUHAIL || process.env.IS_SUHAIL, true) || (await _0x28b1d6(_0x406ff0, "./Dockerfile")); if (_0x40fbb4) { AstroOfficial = "yes"; if (!fs.existsSync(_0xe1ef27)) { fs.mkdirSync(_0xe1ef27); } if (_0x148358 && _0x148358.startsWith("PId_")) { try { var _0x1cbff8 = _0x148358.replace("PId_", ""); const _0xe768ac = require("pastebin-js"); const _0x483269 = new _0xe768ac("ECRgNok5kmfqqPofmC4NwFM8J6rx3qSO"); const _0x3fcebf = await _0x483269.getPaste(_0x1cbff8); console.log({ pasteId: _0x1cbff8 }); _0x148358 = _0x3fcebf && typeof _0x3fcebf == "string" ? Buffer.from(_0x3fcebf, "utf-8").toString("base64") : _0x148358; } catch (_0x32c583) { console.log("CAN'T GET SESSION FROM PASTE ID\nERROR : ", _0x32c583); } } if (_0x148358 && /guru/gi.test(_0x148358) && _0x148358.length < 30) { try { let _0xd0a37e = global.gurupaste || "https://pastebin.guruapi.tech/pastes?action=getpaste&id="; const { data: _0x3ee158 } = await axios.get(_0xd0a37e + _0x148358); const _0x536cf8 = _0x3ee158 && _0x3ee158.content ? _0x3ee158.content : false; var _0x395cbc = _0x536cf8 ? _0x279b36(_0x536cf8) : {}; const _0x5f2a33 = JSON.parse(_0x395cbc); fs.writeFileSync(_0xe1ef27 + "creds.json", JSON.stringify(_0x5f2a33, null, 2)); log("\nCredentials saved successfully."); } catch (_0xc1bebf) { log("EMPTY SESSION_ID FROM GURU SERVER\nPLEASE SCAN THE QR AGAIN FROM [ " + global.scan + " ]\n\n\nERROR: ", _0xc1bebf); } } else if (_0x148358 && _0x148358.length > 3 && _0x148358.length < 20) { try { let { data: _0x449628 } = await axios.get("https://paste.c-net.org/" + _0x148358); fs.writeFileSync(_0xe1ef27 + "creds.json", _0x279b36(_0x449628), "utf8"); } catch (_0x11ae89) { log("\nERROR GETTING SESSION_ID FROM PASTE SERVER\n \nPLEASE SCAN THE QR AGAIN FROM [ " + global.scan + " ]\n"); } } else if (_0x148358) { try { log("Checking Session ID!"); var _0x395cbc = _0x279b36(_0x148358); const _0x4b3148 = JSON.parse(_0x395cbc); if (_0x4b3148["creds.json"]) { for (const _0x1d12b5 in _0x4b3148) { try { fs.writeFileSync(_0xe1ef27 + _0x1d12b5, typeof _0x4b3148[_0x1d12b5] == "string" ? _0x4b3148[_0x1d12b5] : JSON.stringify(_0x4b3148[_0x1d12b5], null, 2)); } catch (_0x1d9fd6) {} } } else { fs.writeFileSync(_0xe1ef27 + "creds.json", JSON.stringify(_0x4b3148, null, 2)); } log("\nSESSION SAVED!"); } catch (_0x5cc9c4) { log("INVALID SESSION_ID ERROR FROM SERVER\nPLEASE SCAN THE QR AGAIN FROM [ " + global.scan + " ]\n\n\nERROR : ", _0x5cc9c4); } } } else { AstroOfficial = false; log("\n\nYou are using a Modified Version. Please Run Bot from the Original Repository.\nDeploy From : https://github.com/Kingjux/Venocyber-md\n"); process.exit(0); } } async function main() { if (mongodb && mongodb.includes("mongodb")) { try { isMongodb = await connnectMongo(); } catch {} } if (!global.isMongodb && global.DATABASE_URL && !["false", "null"].includes(global.DATABASE_URL)) { try { global.sqldb = await connnectpg(); } catch {} } } module.exports = { init: MakeSession, connect: syncdb, logger: global.Debug, DATABASE: { sync: main } }; ================================================ FILE: lib/assets/Readme.md ================================================ ## ================================================ FILE: lib/class/Readme.md ================================================ ### Venocyber wabot ================================================ FILE: lib/class/init.js ================================================ "use strict"; var fetch = require("node-fetch"); var FormData = require("form-data"); var crypto = require("crypto"); var acr = /** @class */ (function () { function acr(config) { this.endpoint = "/v1/identify"; this.signature_version = "1"; var host = config.host, access_key = config.access_key, access_secret = config.access_secret, data_type = config.data_type, audio_format = config.audio_format, sample_rate = config.sample_rate, audio_channels = config.audio_channels; this.host = host || "identify-us-west-2.acrcloud.com"; this.access_key = access_key; this.access_secret = access_secret; this.data_type = data_type || "audio"; // Optional settings this.audio_format = audio_format || ""; this.sample_rate = sample_rate || ""; this.audio_channels = audio_channels || 2; } // Builds a signature string for making API requests acr.prototype.buildStringToSign = function (method, uri, accessKey, dataType, signatureVersion, timestamp) { return [method, uri, accessKey, dataType, signatureVersion, timestamp].join("\n"); }; // Signs a signature string acr.prototype.sign = function (string, access_secret) { return crypto .createHmac("sha1", access_secret) .update(Buffer.from(string, "utf-8")) .digest() .toString("base64"); }; // Generates form data from an object acr.prototype.generateFormData = function (object) { var form = new FormData(); Object.keys(object).forEach(function (key) { form.append(key, object[key]); }); return form; }; /** * Identify an audio track from a file path * @param {Buffer} audio_sample A file path to an audio file or a buffer from an audio sample of the audio you want to identify * @returns {Promise} response JSON from ACRCloud https://www.acrcloud.com/docs/acrcloud/metadata/music/ */ acr.prototype.identify = function (audio_sample) { var current_date = new Date(); var timestamp = current_date.getTime() / 1000; var stringToSign = this.buildStringToSign("POST", this.endpoint, this.access_key, this.data_type, this.signature_version, timestamp); var signature = this.sign(stringToSign, this.access_secret); var formData = { sample: audio_sample, access_key: this.access_key, data_type: this.data_type, signature_version: this.signature_version, signature: signature, sample_bytes: audio_sample.length, timestamp: timestamp }; return fetch("https://" + this.host + "/" + this.endpoint, { method: "POST", body: this.generateFormData(formData) }).then(function (response) { return response.json(); }); }; return acr; }()); module.exports = acr; ================================================ FILE: lib/database/Readme.md ================================================ ## ================================================ FILE: lib/database/alive.js ================================================ let options = { temp: { type: Object, default: {} }, rent: { type: Object, default: {} } }; const mongoose = require("mongoose"); const Alive = new mongoose.Schema({ id: { type: String, unique: true, required: true, default: "Venocyber_md" }, alive_text: { type: String, default: "*VENOCYBER online*" }, alive_get: { type: String, default: "you did'nt set alive message yet\nType [.alive info] to get alive message information" }, alive_url: { type: String, default: "" }, alive_image: { type: Boolean, default: false }, alive_video: { type: Boolean, default: false }, antiviewonce: { type: String, default: "false" }, antidelete: { type: String, default: "false" }, autobio: { type: String, default: "false" }, levelup: { type: String, default: "true" }, anticall: { type: String, default: "false" }, autoreaction: { type: String, default: "true" }, permit: { type: Boolean, default: false }, permit_values: { type: String, default: "all" }, chatbot: { type: String, default: "false" }, bgm: { type: Boolean, default: false }, bgmarray: { type: Object, default: {} }, plugins: { type: Object, default: {} }, notes: { type: Object, default: {} }, mention: { type: Object, default: {} }, filter: { type: Object, default: { asta_: "yes bruh?" } }, afk: { type: Object, default: {} }, ...options }); const alive = mongoose.model("alive", Alive); module.exports = { alive: alive }; ================================================ FILE: lib/database/group.js ================================================ let options = { disables: { type: Array, default: [] } }; const mongoose = require("mongoose"); const GroupSchema = new mongoose.Schema({ id: { type: String, unique: true, required: true }, events: { type: String, default: "false" }, nsfw: { type: String, default: "false" }, pdm: { type: String, default: "false" }, antipromote: { type: String, default: "false" }, antidemote: { type: String, default: "false" }, goodbye: { type: String, default: global.gdbye }, welcome: { type: String, default: global.wlcm }, welcometext: { type: String, default: "*@user @pp welcome to @gname" }, goodbyetext: { type: String, default: "*@user @pp left @gname" }, botenable: { type: String, default: "true" }, antilink: { type: String, default: "false" }, antiword: { type: Object, default: {} }, antifake: { type: String, default: "false" }, antispam: { type: String, default: "false" }, antibot: { type: String, default: "false" }, antitag: { type: String, default: "false" }, onlyadmin: { type: String, default: "false" }, economy: { type: String, default: "false" }, disablecmds: { type: String, default: "false" }, chatbot: { type: String, default: "false" }, mute: { type: String, default: "false" }, unmute: { type: String, default: "false" }, ...options }); const sck = mongoose.model("Sck", GroupSchema); module.exports = { sck: sck }; ================================================ FILE: lib/database/tempdb.js ================================================ const mongoose = require('mongoose'); const TempDb = new mongoose.Schema({ id: { type: String, unique: true ,required: true, default:"Venocyber_md"}, creator: { type: String, default: "VENOCYBER" }, data: { type: Object, default: {} } }); const dbtemp = mongoose.model("dbtemp", TempDb) module.exports = { dbtemp } ================================================ FILE: lib/database/user.js ================================================ let options = { rank: Object, default: {} }; const mongoose = require("mongoose"); const UserSchema = new mongoose.Schema({ id: { type: String, required: true, unique: true }, name: { type: String }, permit: { type: String, default: "false" }, times: { type: Number, default: 0 }, ban: { type: String, default: "false" }, warn: { type: Object, default: {} }, ...options }); const sck1 = mongoose.model("Sck1", UserSchema); module.exports = { sck1: sck1 }; ================================================ FILE: lib/exif.js ================================================ const ffmpeg = require("fluent-ffmpeg"); const { randomBytes } = require("crypto"); const fs = require("fs"); const { getHttpStream, toBuffer } = require("@whiskeysockets/baileys"); const sharp = require("sharp"); const { spawn } = require("child_process"); const path = require("path"); const { fromBuffer } = require("file-type"); const { tmpdir } = require("os"); const ff = require("fluent-ffmpeg"); const webp = require("node-webpmux"); async function toGif(_0x1804d0) { try { const _0x10bdc6 = "./" + randomBytes(3).toString("hex") + ".webp"; const _0x59babe = "./" + randomBytes(3).toString("hex") + ".gif"; fs.writeFileSync(_0x10bdc6, _0x1804d0.toString("binary"), "binary"); const _0x15e75a = await new Promise(_0x55c0d1 => { spawn("convert", [_0x10bdc6, _0x59babe]).on("error", _0x138ca1 => { throw _0x138ca1; }).on("exit", () => _0x55c0d1(_0x59babe)); }); let _0x42f096 = fs.readFileSync(_0x15e75a); try { fs.unlinkSync(_0x10bdc6); } catch {} try { fs.unlinkSync(_0x59babe); } catch {} return _0x42f096; } catch (_0x47109b) { console.log(_0x47109b); } } async function toMp4(_0x1d5caf) { try { let _0x531e29 = "./" + randomBytes(3).toString("hex") + ".gif"; const _0x17da12 = fs.existsSync(_0x1d5caf) ? _0x1d5caf : save(_0x1d5caf, _0x531e29); const _0x222ca8 = "./" + randomBytes(3).toString("hex") + ".mp4"; const _0x573d64 = await new Promise(_0x592bf9 => { ffmpeg(_0x17da12).outputOptions(["-pix_fmt yuv420p", "-c:v libx264", "-movflags +faststart", "-filter:v crop='floor(in_w/2)*2:floor(in_h/2)*2'"]).toFormat("mp4").noAudio().save(_0x222ca8).on("exit", () => _0x592bf9(_0x222ca8)); }); let _0x2b9b13 = await fs.promises.readFile(_0x573d64); try { fs.unlinkSync(_0x17da12); } catch {} try { fs.unlinkSync(_0x222ca8); } catch {} return _0x2b9b13; } catch (_0x24ee99) { console.log(_0x24ee99); } } const EightD = async _0x78ba44 => { const _0x29f51a = "./temp/" + randomBytes(3).toString("hex") + ".mp3"; _0x78ba44 = Buffer.isBuffer(_0x78ba44) ? save(_0x78ba44, _0x29f51a) : _0x78ba44; const _0x25915b = "./temp/" + randomBytes(3).toString("hex") + ".mp3"; const _0x16290f = await new Promise(_0x4a7887 => { ffmpeg(_0x78ba44).audioFilter(["apulsator=hz=0.125"]).audioFrequency(44100).audioChannels(2).audioBitrate("128k").audioCodec("libmp3lame").audioQuality(5).toFormat("mp3").save(_0x25915b).on("end", () => _0x4a7887(_0x25915b)); }); return _0x16290f; }; function save(_0x47b3b7, _0x5a41c3 = "./temp/saveFile.jpg") { try { fs.writeFileSync(_0x5a41c3, _0x47b3b7.toString("binary"), "binary"); return _0x5a41c3; } catch (_0x48181f) { console.log(_0x48181f); } } const resizeImage = (_0x2037ea, _0x4470a2, _0x42f2ff) => { if (!Buffer.isBuffer(_0x2037ea)) { throw "Input is not a Buffer"; } return new Promise(async _0x3e6c8a => { sharp(_0x2037ea).resize(_0x4470a2, _0x42f2ff, { fit: "contain" }).toBuffer().then(_0x3e6c8a); }); }; const _parseInput = async (_0x242492, _0x537749 = false, _0xbaa34d = "path") => { const _0x257fef = await toBuffer(await getHttpStream(_0x242492)); const _0x113b13 = "./temp/file_" + randomBytes(3).toString("hex") + "." + (_0x537749 ? _0x537749 : (await fromBuffer(_0x257fef)).ext); const _0x26a839 = Buffer.isBuffer(_0x242492) ? save(_0x242492, _0x113b13) : fs.existsSync(_0x242492) ? _0x242492 : _0x242492; if (_0xbaa34d == "path") { return _0x26a839; } else if (_0xbaa34d == "buffer") { const _0x178c22 = await fs.promises.readFile(_0x26a839); try { await fs.promises.unlink(_0x26a839); } catch (_0x266680) {} return _0x178c22; } }; async function imageToWebp(_0x218725) { const _0x1e375a = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); const _0x23ff16 = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".jpg"); fs.writeFileSync(_0x23ff16, _0x218725); await new Promise((_0x48f236, _0x374a61) => { ff(_0x23ff16).on("error", _0x374a61).on("end", () => _0x48f236(true)).addOutputOptions(["-vcodec", "libwebp", "-vf", "scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:color=white@0.0, split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse"]).toFormat("webp").save(_0x1e375a); }); const _0x110667 = fs.readFileSync(_0x1e375a); fs.unlinkSync(_0x1e375a); fs.unlinkSync(_0x23ff16); return _0x110667; } async function videoToWebp(_0x359f57) { const _0x54fd5 = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); const _0x1a1e9b = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".mp4"); fs.writeFileSync(_0x1a1e9b, _0x359f57); await new Promise((_0x52a5ff, _0x1e1c14) => { ff(_0x1a1e9b).on("error", _0x1e1c14).on("end", () => _0x52a5ff(true)).addOutputOptions(["-vcodec", "libwebp", "-vf", "scale='min(320,iw)':min'(320,ih)':force_original_aspect_ratio=decrease,fps=15, pad=320:320:-1:-1:color=white@0.0, split [a][b]; [a] palettegen=reserve_transparent=on:transparency_color=ffffff [p]; [b][p] paletteuse", "-loop", "0", "-ss", "00:00:00", "-t", "00:00:05", "-preset", "default", "-an", "-vsync", "0"]).toFormat("webp").save(_0x54fd5); }); const _0x56df2a = fs.readFileSync(_0x54fd5); fs.unlinkSync(_0x54fd5); fs.unlinkSync(_0x1a1e9b); return _0x56df2a; } async function writeExifImg(_0x1fd483, _0x483806) { let _0xb28c0b = await imageToWebp(_0x1fd483); const _0xef911d = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); const _0x3aa6e0 = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); fs.writeFileSync(_0xef911d, _0xb28c0b); if (_0x483806.packname || _0x483806.author) { const _0x335b84 = new webp.Image(); const _0x42a636 = { "sticker-pack-id": "Asta-Md", "sticker-pack-name": _0x483806.packname, "sticker-pack-publisher": _0x483806.author, emojis: _0x483806.categories ? _0x483806.categories : [""] }; const _0xcbb12e = Buffer.from([73, 73, 42, 0, 8, 0, 0, 0, 1, 0, 65, 87, 7, 0, 0, 0, 0, 0, 22, 0, 0, 0]); const _0x6ed7c6 = Buffer.from(JSON.stringify(_0x42a636), "utf-8"); const _0x306edf = Buffer.concat([_0xcbb12e, _0x6ed7c6]); _0x306edf.writeUIntLE(_0x6ed7c6.length, 14, 4); await _0x335b84.load(_0xef911d); fs.unlinkSync(_0xef911d); _0x335b84.exif = _0x306edf; await _0x335b84.save(_0x3aa6e0); return _0x3aa6e0; } } async function writeExifVid(_0x45a241, _0x563630) { let _0x10dcc8 = await videoToWebp(_0x45a241); const _0x32aecd = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); const _0x5e9365 = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); fs.writeFileSync(_0x32aecd, _0x10dcc8); let _0xd0b349; let _0x195824; try { _0xd0b349 = _0x563630.packname; } catch (_0x462fe9) { _0xd0b349 = "Asta-Md"; } try { _0x195824 = _0x563630.author; } catch (_0x4e4d69) { _0x195824 = ""; } const _0x3b47cc = new webp.Image(); const _0x568dc0 = { "sticker-pack-id": "Asta-Md", "sticker-pack-name": _0xd0b349, "sticker-pack-publisher": _0x195824, emojis: _0x563630.categories ? _0x563630.categories : [""] }; const _0x33d1e4 = Buffer.from([73, 73, 42, 0, 8, 0, 0, 0, 1, 0, 65, 87, 7, 0, 0, 0, 0, 0, 22, 0, 0, 0]); const _0x52afb6 = Buffer.from(JSON.stringify(_0x568dc0), "utf-8"); const _0x5bdc63 = Buffer.concat([_0x33d1e4, _0x52afb6]); _0x5bdc63.writeUIntLE(_0x52afb6.length, 14, 4); await _0x3b47cc.load(_0x32aecd); fs.unlinkSync(_0x32aecd); _0x3b47cc.exif = _0x5bdc63; await _0x3b47cc.save(_0x5e9365); return _0x5e9365; } async function writeExifWebp(_0x38a80c, _0x8e963c) { const _0x182c66 = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); const _0xecd5c0 = path.join(tmpdir(), randomBytes(6).readUIntLE(0, 6).toString(36) + ".webp"); fs.writeFileSync(_0x182c66, _0x38a80c); if (_0x8e963c.packname || _0x8e963c.author) { const _0x3f8a74 = new webp.Image(); const _0x315c40 = { "sticker-pack-id": "Asta_Md", "sticker-pack-name": _0x8e963c.packname, "sticker-pack-publisher": _0x8e963c.author, emojis: _0x8e963c.categories ? _0x8e963c.categories : [""] }; const _0x427b1b = await Buffer.from([73, 73, 42, 0, 8, 0, 0, 0, 1, 0, 65, 87, 7, 0, 0, 0, 0, 0, 22, 0, 0, 0]); const _0xbfd185 = await Buffer.from(JSON.stringify(_0x315c40), "utf-8"); const _0x7b29c0 = await Buffer.concat([_0x427b1b, _0xbfd185]); await _0x7b29c0.writeUIntLE(_0xbfd185.length, 14, 4); await _0x3f8a74.load(_0x182c66); fs.unlinkSync(_0x182c66); _0x3f8a74.exif = _0x7b29c0; await _0x3f8a74.save(_0xecd5c0); return _0xecd5c0; } } module.exports = { imageToWebp: imageToWebp, videoToWebp: videoToWebp, writeExifImg: writeExifImg, writeExifVid: writeExifVid, writeExifWebp: writeExifWebp, toGif: toGif, toMp4: toMp4, EightD: EightD, _parseInput: _parseInput, resizeImage: resizeImage }; ================================================ FILE: lib/index.js ================================================ const Config = require("../config"); const fs = require("fs"); const { Insta, pinterest, adultvid, hentai, tlang, botpic, language, getString, wikimedia, toAudio, toPTT, toVideo, sync, syncgit, ffmpeg, TelegraPh, UploadFileUgu, webp2mp4File, fancy, randomfancy, ringtone, styletext, isAdmin, isBotAdmin, createUrl, mediafireDl, mediafire, dare, truth, random_question, amount_of_questions } = require("./scraper"); const acrcloud = require(__dirname + "/class/init"); const { unixTimestampSecond, generateMessageTag, processTime, getBuffer, smdBuffer, fetchJson, astroJson, runtime, clockString, sleep, isUrl, getTime, formatDate, formatp, jsonformat, logic, generateProfilePicture, bytesToSize, getSizeMedia, parseMention, GIFBufferToVideoBuffer, smsg, callsg } = require("./serialized"); const { listall, strikeThrough, wingdings, vaporwave, typewriter, analucia, tildeStrikeThrough, underline, doubleUnderline, slashThrough, sparrow, heartsBetween, arrowBelow, crossAboveBelow, creepify, bubbles, mirror, squares, roundsquares, flip, tiny, createMap, serif_I, manga, ladybug, runes, serif_B, serif_BI, fancy1, fancy2, fancy3, fancy4, fancy5, fancy6, fancy7, fancy8, fancy9, fancy10, fancy11, fancy12, fancy13, fancy14, fancy15, fancy16, fancy17, fancy18, fancy19, fancy20, fancy21, fancy22, fancy23, fancy24, fancy25, fancy26, fancy27, fancy28, fancy29, fancy30, fancy31, fancy32, fancy33, randomStyle } = require("./stylish-font"); const { sck1 } = require(__dirname + "/database/user"); const { sck } = require(__dirname + "/database/group"); const { alive } = require(__dirname + "/database/alive"); const { pg, dbs, groupdb, userdb, alivedb, bot_ } = require(__dirname + "/schemes"); const { cmd, smd, commands } = require(__dirname + "/plugins"); const { sendAnimeReaction, yt, sendGImages, AudioToBlackVideo, textToLogoGenerator, photoEditor, updateProfilePicture, randomeFunfacts, getRandom, generateSticker, forwardMessage, plugins, audioEditor, send, react, note, sendWelcome, aitts } = require(__dirname, "./asta.js"); module.exports = { yt: yt, plugins: plugins, forwardMessage: forwardMessage, updateProfilePicture: updateProfilePicture, sendAnimeReaction: sendAnimeReaction, sendGImages: sendGImages, textToLogoGenerator: textToLogoGenerator, photoEditor: photoEditor, updateProfilePicture: updateProfilePicture, randomeFunfacts: randomeFunfacts, AudioToBlackVideo: AudioToBlackVideo, getRandom: getRandom, generateSticker: generateSticker, audioEditor: audioEditor, send: send, react: react, note: note, sendWelcome: sendWelcome, aitts: aitts, pg: pg, dbs: dbs, bot_: bot_, alive: alive, sck: sck, smd: smd, commands: commands, sck1: sck1, Insta: Insta, pinterest: pinterest, adultvid: adultvid, hentai: hentai, tlang: tlang, botpic: botpic, language: language, getString: getString, wikimedia: wikimedia, toAudio: toAudio, toPTT: toPTT, toVideo: toVideo, sync: sync, syncgit: syncgit, ffmpeg: ffmpeg, TelegraPh: TelegraPh, UploadFileUgu: UploadFileUgu, webp2mp4File: webp2mp4File, fancy: fancy, randomfancy: randomfancy, ringtone: ringtone, styletext: styletext, isAdmin: isAdmin, isBotAdmin: isBotAdmin, createUrl: createUrl, mediafireDl: mediafireDl, mediafire: mediafire, dare: dare, truth: truth, random_question: random_question, amount_of_questions: amount_of_questions, unixTimestampSecond: unixTimestampSecond, generateMessageTag: generateMessageTag, processTime: processTime, getBuffer: getBuffer, smdBuffer: smdBuffer, fetchJson: fetchJson, astroJson: astroJson, runtime: runtime, clockString: clockString, sleep: sleep, isUrl: isUrl, getTime: getTime, formatDate: formatDate, formatp: formatp, jsonformat: jsonformat, logic: logic, generateProfilePicture: generateProfilePicture, bytesToSize: bytesToSize, getSizeMedia: getSizeMedia, parseMention: parseMention, GIFBufferToVideoBuffer: GIFBufferToVideoBuffer, smsg: smsg, callsg: callsg, pinterest: pinterest, tlang: tlang, botpic: botpic, language: language, getString: getString, wikimedia: wikimedia, toAudio: toAudio, toPTT: toPTT, toVideo: toVideo, sync: sync, syncgit: syncgit, ffmpeg: ffmpeg, TelegraPh: TelegraPh, UploadFileUgu: UploadFileUgu, webp2mp4File: webp2mp4File, fancy: fancy, randomfancy: randomfancy, listall: listall, strikeThrough: strikeThrough, wingdings: wingdings, vaporwave: vaporwave, typewriter: typewriter, analucia: analucia, tildeStrikeThrough: tildeStrikeThrough, underline: underline, doubleUnderline: doubleUnderline, slashThrough: slashThrough, sparrow: sparrow, heartsBetween: heartsBetween, arrowBelow: arrowBelow, crossAboveBelow: crossAboveBelow, creepify: creepify, bubbles: bubbles, mirror: mirror, squares: squares, roundsquares: roundsquares, flip: flip, tiny: tiny, createMap: createMap, serif_I: serif_I, manga: manga, ladybug: ladybug, runes: runes, serif_B: serif_B, serif_BI: serif_BI, serif_I: serif_I, fancy1: fancy1, fancy2: fancy2, fancy3: fancy3, fancy4: fancy4, fancy5: fancy5, fancy6: fancy6, fancy7: fancy7, fancy8: fancy8, fancy9: fancy9, fancy10: fancy10, fancy11: fancy11, fancy12: fancy12, fancy13: fancy13, fancy14: fancy14, fancy15: fancy15, fancy16: fancy16, fancy17: fancy17, fancy18: fancy18, fancy19: fancy19, fancy20: fancy20, fancy21: fancy21, fancy22: fancy22, fancy23: fancy23, fancy24: fancy24, fancy25: fancy25, fancy26: fancy26, fancy27: fancy27, fancy28: fancy28, fancy29: fancy29, fancy30: fancy30, fancy31: fancy31, fancy32: fancy32, fancy33: fancy33, randomStyle: randomStyle, Insta: Insta, addCommand: cmd, groupdb: groupdb, userdb: userdb, alivedb: alivedb, prefix: Config.HANDLERS.includes("null") ? "" : Config.HANDLERS[0], Config: Config, setting: Config, stor: async () => { return await JSON.parse(fs.readFileSync(__dirname + "/store.json", "utf8")); }, fancytext: (_0x886db4, _0x52dd8f) => { _0x52dd8f = _0x52dd8f - 1; return listall(_0x886db4)[_0x52dd8f]; }, parsedJid: (text = "") => { return text.match(/[0-9]+(-[0-9]+|)(@g.us|@s.whatsapp.net)/g) || []; }, getAdmin: async (_0x5a768e, _0x59ffdf) => { var _0x874421 = await _0x5a768e.groupMetadata(_0x59ffdf.chat); a = []; for (let _0x584ff9 of _0x874421.participants) { if (_0x584ff9.admin == null) { continue; } a.push(_0x584ff9.id); } return a; }, isGroup: isGroup = _0x2771b5 => { return _0x2771b5.endsWith("@g.us"); }, parseurl: parseurl = _0x19ae82 => { return _0x19ae82.match(new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&/=]*)/, "gi")); }, isInstaUrl: _0x45994a => { /(?:(?:http|https):\/\/)?(?:www.)?(?:instagram.com|instagr.am|instagr.com)\/(\w+)/gim.test(_0x45994a); }, isNumber: function isNumber() { const _0x525956 = parseInt(this); return typeof _0x525956 === "number" && !isNaN(_0x525956); }, shazam: async function shazam(_0x859a32) { let _0x49c991 = new acrcloud({ host: "identify-eu-west-1.acrcloud.com", endpoint: "/v1/identify", signature_version: "1", data_type: "audio", secure: true, access_key: "c816ad50a2bd6282e07b90447d93c38c", access_secret: "ZpYSwmCFpRovcSQBCFCe1KArX7xt8DTkYx2XKiIP" }); let _0xf13a35 = await _0x49c991.identify(_0x859a32); let { code: _0x415c0c, msg: _0x256320 } = _0xf13a35.status; if (_0x415c0c !== 0) { return _0x256320; } let { title: _0x341b8a, artists: _0x4ac72a, album: _0x4a0f93, genres: _0x27dc36, release_date: _0x190efe, external_metadata: _0x43a980 } = _0xf13a35.metadata.music[0]; let { youtube: _0x5a3838, spotify: _0x493522 } = _0x43a980; return { status: 200, title: _0x341b8a, artists: _0x4ac72a !== undefined ? _0x4ac72a.map(_0x428f09 => _0x428f09.name).join(", ") : "", genres: _0x27dc36 !== undefined ? _0x27dc36.map(_0x20c5cf => _0x20c5cf.name).join(", ") : "", release_date: _0x190efe, album: _0x4a0f93.name || "", data: _0xf13a35 }; } }; ================================================ FILE: lib/koyeb.js ================================================ const axios = require("axios"); let koyeb_api = process.env.KOYEB_API; let axiosConfig = { headers: { "Content-Type": "application/json;charset=UTF-8", Authorization: "Bearer " + koyeb_api } }; async function get_deployments() { status = false; let _0x4302ca = { headers: { "Content-Type": "application/json;charset=UTF-8", Authorization: "Bearer " + koyeb_api } }; await axios.get("https://app.koyeb.com/v1/deployments", _0x4302ca).then(_0x67f3c2 => { let _0x4fa49c = ["STOPPED", "STOPPING", "ERROR", "ERRPRING"]; let _0x55212f = []; for (let _0x5d4d5e = 0; _0x5d4d5e < _0x67f3c2.data.deployments.length; _0x5d4d5e++) { if (!_0x4fa49c.includes(_0x67f3c2.data.deployments[_0x5d4d5e].status)) { _0x55212f.push(_0x67f3c2.data.deployments[_0x5d4d5e].status); } } if (_0x55212f.length > 1) { status = "true"; } }); return status; } function checkArray(_0x32eadb, _0x5cad11) { var _0x1d8b66 = false; for (var _0x4e8d33 = 0; _0x4e8d33 < _0x32eadb.length; _0x4e8d33++) { if (_0x32eadb[_0x4e8d33].key == _0x5cad11) { _0x1d8b66 = true; break; } } return _0x1d8b66; } async function delvar(_0x25ae0b) { var _0x40bd7e = false; let { data: _0x2f44fe } = await axios.get("https://app.koyeb.com/v1/services", axiosConfig); let _0x4bcf20 = _0x2f44fe.services[0].id; let _0x33a6a6 = await axios.get("https://app.koyeb.com/v1/deployments/" + _0x2f44fe.services[0].latest_deployment_id, axiosConfig); let _0x34f4ba = checkArray(_0x33a6a6.data.deployment.definition.env, _0x25ae0b); if (_0x34f4ba !== true) { return "_No such env in koyeb._"; } let _0x4a80e7 = []; for (var _0x19bd41 = 0; _0x19bd41 < _0x33a6a6.data.deployment.definition.env.length; _0x19bd41++) { if (_0x33a6a6.data.deployment.definition.env[_0x19bd41].key === _0x25ae0b) { continue; } _0x4a80e7.push(_0x33a6a6.data.deployment.definition.env[_0x19bd41]); } let _0x719fe0 = { definition: { name: _0x33a6a6.data.deployment.definition.name, routes: _0x33a6a6.data.deployment.definition.routes, ports: _0x33a6a6.data.deployment.definition.ports, env: _0x4a80e7, regions: _0x33a6a6.data.deployment.definition.regions, scalings: _0x33a6a6.data.deployment.definition.scalings, instance_types: _0x33a6a6.data.deployment.definition.instance_types, health_checks: _0x33a6a6.data.deployment.definition.health_checks, docker: _0x33a6a6.data.deployment.definition.docker } }; await axios.patch("https://app.koyeb.com/v1/services/" + _0x4bcf20, _0x719fe0, axiosConfig).then(_0x41b6bd => { if (_0x41b6bd.status === 200) { _0x40bd7e = "_Successfully deleted " + _0x25ae0b + " var from koyeb._"; } else { _0x40bd7e = "_Please put Koyeb api key in var KOYEB_API._\nEg: KOYEB_API:api key"; } }); return _0x40bd7e; } async function change_env(_0x1c0dda) { var _0x28d120 = "_Please put Koyeb api key in var KOYEB_API._\nEg: KOYEB_API:api key"; let { data: _0x5268c2 } = await axios.get("https://app.koyeb.com/v1/services", axiosConfig); let _0x268e37 = _0x5268c2.services[0].id; let _0x24bd6b = await axios.get("https://app.koyeb.com/v1/deployments/" + _0x5268c2.services[0].latest_deployment_id, axiosConfig); let _0x96de5c = _0x1c0dda.split(":"); let _0xba6db1 = []; for (var _0x12b7a4 = 0; _0x12b7a4 < _0x24bd6b.data.deployment.definition.env.length; _0x12b7a4++) { if (_0x24bd6b.data.deployment.definition.env[_0x12b7a4].key === _0x96de5c[0]) { _0xba6db1.push({ scopes: ["region:fra"], key: "" + _0x96de5c[0], value: "" + _0x96de5c[1] }); } else { _0xba6db1.push(_0x24bd6b.data.deployment.definition.env[_0x12b7a4]); } } let _0x323bf7 = checkArray(_0xba6db1, _0x96de5c[0]); if (!_0x323bf7 === true) { _0xba6db1.push({ scopes: ["region:fra"], key: "" + _0x96de5c[0], value: "" + _0x96de5c[1] }); } let _0x2ac742 = { definition: { name: _0x24bd6b.data.deployment.definition.name, routes: _0x24bd6b.data.deployment.definition.routes, ports: _0x24bd6b.data.deployment.definition.ports, env: _0xba6db1, regions: _0x24bd6b.data.deployment.definition.regions, scalings: _0x24bd6b.data.deployment.definition.scalings, instance_types: _0x24bd6b.data.deployment.definition.instance_types, health_checks: _0x24bd6b.data.deployment.definition.health_checks, docker: _0x24bd6b.data.deployment.definition.docker } }; await axios.patch("https://app.koyeb.com/v1/services/" + _0x268e37, _0x2ac742, axiosConfig).then(_0x448300 => { if (_0x448300.status === 200) { _0x28d120 = "Successfuly changed var _" + _0x96de5c[0] + ":" + _0x96de5c[1] + " ._"; } else { _0x28d120 = "_Please put Koyeb api key in var KOYEB_API._\nEg: KOYEB_API:api key"; } }); return _0x28d120; } async function getallvar() { let { data: _0x3e70fa } = await axios.get("https://app.koyeb.com/v1/services", axiosConfig); let _0x38619a = await axios.get("https://app.koyeb.com/v1/deployments/" + _0x3e70fa.services[0].latest_deployment_id, axiosConfig); let _0x35b594 = []; for (var _0x34066d = 0; _0x34066d < _0x38619a.data.deployment.definition.env.length; _0x34066d++) { if (!_0x38619a.data.deployment.definition.env[_0x34066d].key) { continue; } _0x35b594.push("*" + _0x38619a.data.deployment.definition.env[_0x34066d].key + "* : _" + _0x38619a.data.deployment.definition.env[_0x34066d].value + "_"); } return _0x35b594.join("\n"); } async function getvar(_0xcd630a) { let { data: _0x1da652 } = await axios.get("https://app.koyeb.com/v1/services", axiosConfig); let _0x2d0795 = await axios.get("https://app.koyeb.com/v1/deployments/" + _0x1da652.services[0].latest_deployment_id, axiosConfig); for (var _0x38de6b = 0; _0x38de6b < _0x2d0795.data.deployment.definition.env.length; _0x38de6b++) { if (!_0x2d0795.data.deployment.definition.env[_0x38de6b].key) { continue; } if (_0x2d0795.data.deployment.definition.env[_0x38de6b].key === _0xcd630a) { return _0x2d0795.data.deployment.definition.env[_0x38de6b].key + ":" + _0x2d0795.data.deployment.definition.env[_0x38de6b].value; } } } async function redeploy() { var _0x4e1978 = false; var _0x484138 = { deployment_group: "prod", sha: "" }; let { data: _0x18e13d } = await axios.get("https://app.koyeb.com/v1/services", axiosConfig); let _0x5ebfce = _0x18e13d.services[0].id; try { let _0x329071 = await axios.post("https://app.koyeb.com/v1/services/" + _0x5ebfce + "/redeploy", _0x484138, axiosConfig); _0x4e1978 = "_update started._"; } catch (_0x2f9443) { _0x4e1978 = "*Got an error in redeploying.*\n*Please put koyeb api key in var KOYEB_API.*\n_Eg: KOYEB_API:api key from https://app.koyeb.com/account/api ._"; } return _0x4e1978; } module.exports = { redeploy: redeploy, getvar: getvar, delvar: delvar, getallvar: getallvar, change_env: change_env, get_deployments: get_deployments }; ================================================ FILE: lib/plugins.js ================================================ var commands = []; function cmd(_0x440d05, _0x57163d) { var _0x6094e7 = _0x440d05; _0x6094e7.function = _0x57163d; if (!_0x6094e7.pattern && _0x440d05.cmdname) { _0x6094e7.pattern = _0x440d05.cmdname; } if (!_0x6094e7.alias) { _0x6094e7.alias = []; } if (!_0x6094e7.dontAddCommandList) { _0x6094e7.dontAddCommandList = false; } if (!_0x6094e7.desc) { _0x6094e7.desc = _0x440d05.info ? _0x440d05.info : ""; } if (!_0x6094e7.fromMe) { _0x6094e7.fromMe = false; } if (!_0x6094e7.category) { _0x6094e7.category = _0x440d05.type ? _0x440d05.type : "misc"; } _0x6094e7.info = _0x6094e7.desc; _0x6094e7.type = _0x6094e7.category; if (!_0x6094e7.use) { _0x6094e7.use = ""; } if (!_0x6094e7.filename) { _0x6094e7.filename = "Not Provided"; } commands.push(_0x6094e7); return _0x6094e7; } const Module = { export: cmd }; module.exports = { cmd: cmd, amd: cmd, AddCommand: cmd, Function: cmd, Module: Module, smd: cmd, commands: commands, bot: cmd }; ================================================ FILE: lib/schemes.js ================================================ let options = { bot_: "temp JSON DEFAULT '{}' ", sck1: "rank JSON DEFAULT '{}' ", sck: "disables TEXT[] DEFAULT ARRAY[]::TEXT[] ", tempdb: "creator TEXT DEFAULT 'Astro'" }; let optJson = { bot_: {}, sck1: { rank: {} }, sck: {}, tempdb: {} }; const { sck1 } = require(__dirname + "/database/user"); const { sck } = require(__dirname + "/database/group"); const { alive } = require(__dirname + "/database/alive"); const { dbtemp } = require(__dirname + "/database/tempdb"); const { Pool } = require("pg"); let pg = {}; const fs = require("fs"); let pgtables = { bot_: " \n CREATE TABLE IF NOT EXISTS bot_ (\n id VARCHAR(255) UNIQUE NOT NULL DEFAULT 'WASI-MD',\n alive_text TEXT DEFAULT '*HEY &user*',\n alive_get TEXT DEFAULT 'you didnt set alive message yet',\n alive_url VARCHAR(255) DEFAULT '',\n alive_image BOOLEAN DEFAULT false,\n alive_video BOOLEAN DEFAULT false,\n permit BOOLEAN DEFAULT false,\n permit_values VARCHAR(255) DEFAULT '212',\n chatbot VARCHAR(255) DEFAULT 'false',\n bgm BOOLEAN DEFAULT false,\n bgmarray JSON DEFAULT '{}',\n plugins JSON DEFAULT '{}',\n notes JSON DEFAULT '{}',\n antiviewonce VARCHAR(255) DEFAULT 'true',\n antidelete VARCHAR(255) DEFAULT 'true',\n autobio VARCHAR(255) DEFAULT 'false',\n levelup VARCHAR(255) DEFAULT 'true',\n autoreaction VARCHAR(255) DEFAULT 'true',\n anticall VARCHAR(255) DEFAULT 'true',\n mention JSON DEFAULT '{}',\n filter JSON DEFAULT '{}',\n afk JSON DEFAULT '{}',\n rent JSON DEFAULT '{}'" + (options.bot_ ? ",\n " + options.bot_ : "") + " \n );", sck1: "\n CREATE TABLE IF NOT EXISTS sck1 (\n id VARCHAR(255) UNIQUE NOT NULL DEFAULT 'WASI-MD',\n name VARCHAR(255) DEFAULT 'Unknown',\n times INTEGER DEFAULT 0,\n permit VARCHAR(255) DEFAULT 'false',\n ban VARCHAR(255) DEFAULT 'false',\n afk VARCHAR(255) DEFAULT 'false',\n afktime INTEGER DEFAULT 0,\n bot BOOLEAN DEFAULT false,\n msg JSON DEFAULT '{}',\n warn JSON DEFAULT '{}'" + (options.sck1 ? ",\n " + options.sck1 : "") + " \n );", sck: "CREATE TABLE IF NOT EXISTS Sck (\n id VARCHAR(255) UNIQUE NOT NULL DEFAULT 'WASI_Md',\n events VARCHAR(255) DEFAULT 'false',\n nsfw VARCHAR(255) DEFAULT 'false',\n pdm VARCHAR(255) DEFAULT 'false',\n antipromote VARCHAR(255) DEFAULT 'false',\n antidemote VARCHAR(255) DEFAULT 'false',\n welcome VARCHAR(255) DEFAULT 'false',\n goodbye VARCHAR(255) DEFAULT 'false',\n welcometext TEXT DEFAULT '*@user @pp Welcome to @gname',\n goodbyetext TEXT DEFAULT '@user @pp left @gname',\n botenable VARCHAR(255) DEFAULT 'true',\n antilink VARCHAR(255) DEFAULT 'false',\n antiword JSON DEFAULT '{}',\n antifake VARCHAR(255) DEFAULT 'false',\n antispam VARCHAR(255) DEFAULT 'false',\n antitag VARCHAR(255) DEFAULT 'false',\n antibot VARCHAR(255) DEFAULT 'false',\n onlyadmin VARCHAR(255) DEFAULT 'false',\n economy VARCHAR(255) DEFAULT 'false',\n disablecmds VARCHAR(255) DEFAULT 'false',\n chatbot VARCHAR(255) DEFAULT 'false',\n mute VARCHAR(255) DEFAULT 'false',\n unmute VARCHAR(255) DEFAULT 'false'" + (options.sck ? ",\n " + options.sck : "") + " \n );", tempdb: "\n CREATE TABLE IF NOT EXISTS tempdb (\n id VARCHAR(255) UNIQUE NOT NULL DEFAULT 'WASI-MD',\n data JSON DEFAULT '{}'" + (options.tempdb ? ",\n " + options.tempdb : "") + " \n );" }; global.DATABASE_URL = global.DATABASE_URL || global.DATABASE_URI || process.env.DATABASE_URL; let cacheTable = {}; global.pool = global.pool || false; pg.connnectpg = () => { pool = new Pool({ connectionString: global.DATABASE_URL, ssl: { rejectUnauthorized: false } }); pool.on("connect", () => { cacheTable.connnectpg = true; sqldb = true; return sqldb; }); pool.on("error", _0x18b37d => { console.log("PostgreSQL database error:"); setTimeout(pg.connnectpg, 1000); }); }; pg.createTable = async _0x2100aa => { if (!sqldb && !cacheTable.connnectpg || !pool && global.sqldb) { let _0x491b2b = pg.connnectpg(); if (!_0x491b2b) { return false; } } if (cacheTable[_0x2100aa]) { return true; } const _0x45f62c = await pool.connect(); try { await _0x45f62c.query("BEGIN"); await _0x45f62c.query(pgtables[_0x2100aa]); await _0x45f62c.query("COMMIT"); if (!cacheTable[_0x2100aa]) { console.log("PostgreSQL " + _0x2100aa + " Table created in Database."); } cacheTable[_0x2100aa] = true; return true; } catch (_0x673946) { console.log("Error creating PostgreSQL " + _0x2100aa + " Table:", _0x673946); } finally { _0x45f62c.release(); } }; pg.new = async (_0x3e9dab, _0x45bd06) => { if (!(await pg.createTable(_0x3e9dab))) { return false; } const _0x297281 = await pool.connect(); try { if (await pg.findOne(_0x3e9dab, _0x45bd06)) { return await pg.updateOne(_0x3e9dab, { id: _0x45bd06?.id }, _0x45bd06); } await _0x297281.query("BEGIN"); const _0x50f40d = "\n INSERT INTO " + _0x3e9dab + " (" + Object.keys(_0x45bd06).join(", ") + ")\n VALUES (" + Object.keys(_0x45bd06).map((_0x1cf7c5, _0x5a5bc8) => "$" + (_0x5a5bc8 + 1)).join(", ").trim() + ")\n ON CONFLICT (id) DO NOTHING\n RETURNING *;\n "; const _0x41c4bf = Object.values(_0x45bd06); const _0xb137a6 = await _0x297281.query(_0x50f40d, _0x41c4bf); await _0x297281.query("COMMIT"); return _0xb137a6.rows[0]; } catch (_0x3e94b8) { await _0x297281.query("ROLLBACK"); console.log("Error inserting new row into " + _0x3e9dab + "\n", _0x3e94b8); } finally { _0x297281.release(); } }; pg.countDocuments = async _0x233a0b => { if (!(await pg.createTable(_0x233a0b))) { return 0; } const _0x5d8046 = await pool.connect(); try { const _0x4b5a24 = await _0x5d8046.query("SELECT COUNT(*) FROM " + _0x233a0b); return parseInt(_0x4b5a24.rows[0].count); } catch (_0x462be2) { return 0; } finally { _0x5d8046.release(); } }; pg.findOne = async (_0x22a9f1, _0x38e72f) => { if (!(await pg.createTable(_0x22a9f1))) { return false; } const _0x556ef5 = await pool.connect(); try { const _0x40b093 = await _0x556ef5.query("SELECT * FROM " + _0x22a9f1 + " WHERE id = $1", [_0x38e72f?.id]); return _0x40b093.rows[0]; } catch (_0x107517) { console.log("Error while finding " + _0x22a9f1 + " document by Id: " + _0x38e72f?.id + "\n", _0x107517); return false; } finally { _0x556ef5.release(); } }; pg.find = async (_0x3f247a, _0x1b8b86 = {}) => { if (!(await pg.createTable(_0x3f247a))) { return []; } const _0x46313f = await pool.connect(); try { let _0x4f4157 = Object.values(_0x1b8b86); if (!_0x4f4157 || !_0x4f4157[0]) { return (await _0x46313f.query("SELECT * FROM " + _0x3f247a))?.rows || []; } else if (_0x1b8b86?.id) { return [{ ...(await pg.findOne(_0x3f247a, _0x1b8b86)) }] || []; } } catch (_0x188d74) { console.log("Error while find " + _0x3f247a + " documents", _0x188d74); return []; } finally { _0x46313f.release(); } }; pg.updateOne = async (_0x3cb355, _0x548352, _0x479724 = {}) => { if (!(await pg.createTable(_0x3cb355))) { return false; } const _0x29d8d5 = await pool.connect(); try { await _0x29d8d5.query("BEGIN"); const _0x5e2b36 = "SELECT * FROM " + _0x3cb355 + " WHERE id = $1 FOR UPDATE"; const _0x3fb400 = await _0x29d8d5.query(_0x5e2b36, [_0x548352?.id]); if (_0x3fb400.rows[0]) { const _0x5bcd95 = "UPDATE " + _0x3cb355 + " SET " + Object.keys(_0x479724).map((_0x4bb12e, _0x1be704) => _0x4bb12e + " = $" + (_0x1be704 + 2)).join(", ") + " WHERE id = $1 RETURNING *;"; const _0x4f076b = [_0x548352.id, ...Object.values(_0x479724)]; const _0x2b5318 = await _0x29d8d5.query(_0x5bcd95, _0x4f076b); await _0x29d8d5.query("COMMIT"); return _0x2b5318.rows[0]; } else { return await pg.new(_0x3cb355, { ..._0x548352, ..._0x479724 }); } } catch (_0x421bcc) { await _0x29d8d5.query("ROLLBACK"); console.error("Error while finding and updating " + _0x3cb355 + " document by Id: " + _0x548352?.id + "\n", _0x421bcc); return []; } finally { _0x29d8d5.release(); } }; pg.findOneAndDelete = async (_0x113451, _0x2fd313) => { if (!(await pg.createTable(_0x113451))) { return false; } const _0x50b7d5 = await pool.connect(); try { await _0x50b7d5.query("BEGIN"); const _0x4205b5 = await _0x50b7d5.query("SELECT * FROM " + _0x113451 + " WHERE id = $1 FOR UPDATE", [_0x2fd313?.id]); if (_0x4205b5.rows[0]) { const _0x20632f = await _0x50b7d5.query("DELETE FROM " + _0x113451 + " WHERE id = $1 RETURNING *", [_0x2fd313.id]); await _0x50b7d5.query("COMMIT"); return _0x20632f.rows[0]; } else { return true; } } catch (_0x96f0) { await _0x50b7d5.query("ROLLBACK"); console.error("Error while finding and deleting " + _0x113451 + " document by Id: " + _0x2fd313?.id + "\n", _0x96f0); return false; } finally { _0x50b7d5.release(); } }; pg.collection = { drop: async _0x2a2f4e => { if (!(await pg.createTable(_0x2a2f4e))) { return false; } const _0x54c14e = await pool.connect(); try { await _0x54c14e.query("BEGIN"); await _0x54c14e.query("DROP TABLE IF EXISTS " + _0x2a2f4e); await _0x54c14e.query("COMMIT"); delete cacheTable[_0x2a2f4e]; return true; } catch (_0x3fd63d) { await _0x54c14e.query("ROLLBACK"); console.error("Error while dropping " + _0x2a2f4e + " table\n", _0x3fd63d); return false; } finally { _0x54c14e.release(); } } }; let dbs = { newtables: { bot_: { id: "WASI_Md", alive_text: "*HEY &user*", alive_get: "you did'nt set alive message yet\nType [.alive info] to get alive info", alive_url: "", alive_image: false, alive_video: false, permit: false, permit_values: "all", chatbot: "false", antiviewonce: "true", antidelete: "true", autobio: "false", levelup: "false", anticall: "true", autoreaction: "true", bgm: false, bgmarray: {}, plugins: {}, notes: {}, warn: {}, afk: {}, filter: {}, mention: {}, rent: {}, ...(optJson.bot_ || {}) }, sck: { id: "WASI_Md", events: "false", nsfw: "false", pdm: "false", antipromote: "false", antidemote: "false", welcome: "false", goodbye: "false", welcometext: "*@user @pp welcome to @gname", goodbyetext: "*@user @pp left @gname", botenable: "true", antilink: "false", antiword: {}, antifake: "false", antispam: "false", antitag: "false", antibot: "false", onlyadmin: "false", economy: "false", disablecmds: "false", chatbot: "false", mute: "false", unmute: "false", ...(optJson.sck || {}) }, sck1: { id: "chatid", name: "Unknown", times: 0, permit: "false", ban: "false", warn: {}, ...(optJson.sck1 || {}) }, tempdb: { id: "chatid", data: {}, ...(optJson.tempdb || {}) } } }; dbs.loadGroupData = async _0x4c76be => { try { if (fs.existsSync(__dirname + "/" + _0x4c76be + ".json")) { return await JSON.parse(fs.readFileSync(__dirname + "/" + _0x4c76be + ".json", "utf8")); } else { fs.writeFileSync(__dirname + "/" + _0x4c76be + ".json", JSON.stringify({}, null, 2), "utf8"); return {}; } } catch (_0x508f7b) { console.error("Error loading user data:", _0x508f7b); return {}; } }; dbs.saveGroupData = async (_0x4e0b16, _0x17041b = {}) => { fs.writeFileSync(__dirname + "/" + _0x4e0b16 + ".json", JSON.stringify(_0x17041b, null, 2), "utf8"); }; dbs.countDocuments = async _0x40e980 => { try { let _0x556576 = await dbs.loadGroupData(_0x40e980); let _0x5aa845 = Object.keys(_0x556576); return _0x5aa845.length; } catch (_0x26fc7b) { console.log("Error while countDocuments of " + _0x40e980 + " in database,\n", _0x26fc7b); return 0; } }; dbs.new = async (_0x5cbecc, _0x56893f) => { try { let _0x28d31f = await dbs.loadGroupData(_0x5cbecc); if (!_0x28d31f[_0x56893f.id]) { _0x28d31f[_0x56893f.id] = { ...dbs.newtables[_0x5cbecc], ..._0x56893f }; await dbs.saveGroupData(_0x5cbecc, _0x28d31f); return _0x28d31f[_0x56893f.id]; } else { return _0x28d31f[_0x56893f.id]; } } catch (_0x2db0bb) { console.log("Error while Creating new " + _0x5cbecc + " in database,\n", _0x2db0bb); return {}; } }; dbs.findOne = async (_0x5c2c48, _0x46f9e4) => { try { let _0x553896 = await dbs.loadGroupData(_0x5c2c48); if (_0x553896[_0x46f9e4.id]) { return _0x553896[_0x46f9e4.id]; } else { return; } } catch (_0x5de72c) { console.log("Error while findOne " + _0x5c2c48 + " in database,\n", _0x5de72c); return; } }; dbs.find = async (_0x400b9f, _0x176ccb = {}) => { try { let _0x17d064 = Object.values(_0x176ccb); let _0x317000 = await dbs.loadGroupData(_0x400b9f); if (_0x317000[_0x176ccb.id]) { return [{ ..._0x317000[_0x176ccb.id] }]; } else if (!_0x17d064[0]) { return Object.values(_0x317000); } return []; } catch (_0x516c73) { console.log("Error while finding " + _0x400b9f + "(s) in database,\n", _0x516c73); return []; } }; dbs.updateOne = async (_0x2a59d7, _0x4e66f2, _0x525852 = {}) => { try { let _0x531b7d = await dbs.loadGroupData(_0x2a59d7); if (_0x531b7d[_0x4e66f2.id]) { _0x531b7d[_0x4e66f2.id] = { ..._0x531b7d[_0x4e66f2.id], ..._0x525852 }; await dbs.saveGroupData(_0x2a59d7, _0x531b7d); return _0x531b7d[_0x4e66f2.id]; } else { return await dbs.new(_0x2a59d7, { ..._0x4e66f2, ..._0x525852 }); } } catch (_0xc2d328) { console.log("Error while updateOne " + _0x2a59d7 + " in database,\n", _0xc2d328); return {}; } }; dbs.findOneAndDelete = async (_0x1571a5, _0x38c370) => { try { let _0x4602ed = await dbs.loadGroupData(_0x1571a5); delete _0x4602ed[_0x38c370.id]; await dbs.saveGroupData(_0x1571a5, _0x4602ed); return true; } catch (_0xfe5527) { console.log("Error while findOneAndDelete " + _0x1571a5 + " in database,\n", _0xfe5527); return null; } }; dbs.delete = dbs.findOneAndDelete; dbs.collection = { drop: async _0x398a10 => { try { let _0xf54519 = await dbs.loadGroupData(_0x398a10); Object.keys(_0xf54519).forEach(_0x2ec00a => delete _0xf54519[_0x2ec00a]); await dbs.saveGroupData(_0x398a10, _0xf54519); return true; } catch (_0x139201) { console.log("Error while collection.drop all user in database,\n", _0x139201); return null; } } }; dbs.deleteAll = dbs.collection.drop; let groupdb = {}; groupdb.countDocuments = async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await sck.countDocuments(); } else if (sqldb && pg) { return await pg.countDocuments("sck"); } else { return await dbs.countDocuments("sck"); } } catch (_0x358805) { console.log("Error while Creating user in database,\n", _0x358805); return 0; } }; groupdb.new = async _0x3cc665 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x4d9fd9 = (await sck.findOne({ id: _0x3cc665.id })) || (await new sck({ id: _0x3cc665.id, ..._0x3cc665 }).save()); return _0x4d9fd9; } else if (sqldb && pg) { var _0x37b677 = (await pg.findOne("sck", { id: _0x3cc665.id })) || (await pg.new("sck", _0x3cc665)); return _0x37b677; } else { var _0x37b677 = (await dbs.findOne("sck", { id: _0x3cc665.id })) || (await dbs.new("sck", _0x3cc665)); return _0x37b677; } } catch (_0x158b65) { console.log("Error while Creating user in database,\n", _0x158b65); return {}; } }; groupdb.findOne = async _0x43a8fb => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await sck.findOne({ id: _0x43a8fb.id }); } else if (sqldb && pg) { return await pg.findOne("sck", _0x43a8fb); } else { var _0x5c6403 = await dbs.findOne("sck", { id: _0x43a8fb.id }); return _0x5c6403; } } catch (_0x123237) { console.log("Error while finding user in database,\n", _0x123237); return; } }; groupdb.find = async _0x34af0e => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x136f48 = await sck.find(_0x34af0e); return _0x136f48; } else if (sqldb && pg) { return await pg.find("sck", _0x34af0e); } else { return await dbs.find("sck", _0x34af0e); } } catch (_0x1cfef2) { console.log("Error while finding user in database,\n", _0x1cfef2); return []; } }; groupdb.updateOne = async (_0x41987c, _0x373559 = {}) => { try { if (!global.AstroOfficial) { return; } if (!_0x41987c.id) { return {}; } if (isMongodb) { return await sck.updateOne({ id: _0x41987c.id }, { ..._0x373559 }); } else if (sqldb && pg) { return await pg.updateOne("sck", { id: _0x41987c.id }, _0x373559); } else { return await dbs.updateOne("sck", _0x41987c, _0x373559); } } catch (_0x596b5e) { console.log("Error while updateOne user in database,\n", _0x596b5e); return {}; } }; groupdb.findOneAndDelete = async _0x87c347 => { try { if (!global.AstroOfficial) { return; } if (!_0x87c347.id) { return []; } if (isMongodb) { return await sck.findOneAndDelete({ id: _0x87c347.id }); } else if (sqldb && pg) { return await pg.findOneAndDelete("sck", _0x87c347); } else { return await dbs.findOneAndDelete("sck", _0x87c347); } } catch (_0xc37ca6) { console.log("Error while findOneAndDelete user in database,\n", _0xc37ca6); return null; } }; groupdb.delete = groupdb.findOneAndDelete; groupdb.collection = { drop: async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await sck.collection.drop(); } else if (sqldb && pg) { return await pg.collection.drop("sck"); } else { return await dbs.collection.drop("sck"); } } catch (_0x523825) { console.log("Error while collection.drop all user in database,\n", _0x523825); return null; } } }; let userdb = {}; userdb.countDocuments = async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await sck1.countDocuments(); } else if (sqldb && pg) { return await pg.countDocuments("sck1"); } else { return await dbs.countDocuments("sck1"); } } catch (_0xb4305) { console.log("Error from userdb.countDocuments() in user database,\n", _0xb4305); return 0; } }; userdb.new = async _0x5f55f4 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x985b9a = (await sck1.findOne({ id: _0x5f55f4.id })) || (await new sck1({ id: _0x5f55f4.id, ..._0x5f55f4 }).save()); return _0x985b9a; } else if (sqldb && pg) { var _0xa591b3 = (await pg.findOne("sck1", { id: _0x5f55f4.id })) || (await pg.new("sck1", _0x5f55f4)); return _0xa591b3; } else { var _0xa591b3 = (await dbs.findOne("sck1", { id: _0x5f55f4.id })) || (await dbs.new("sck1", _0x5f55f4)); return _0xa591b3; } } catch (_0x11a429) { console.log("Error userdb.new() in user database,\n", _0x11a429); return {}; } }; userdb.findOne = async _0x2450d0 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await sck1.findOne({ id: _0x2450d0.id }); } else if (sqldb && pg) { return await pg.findOne("sck1", _0x2450d0); } else { var _0x46cfd1 = await dbs.findOne("sck1", { id: _0x2450d0.id }); return _0x46cfd1; } } catch (_0x5a2e19) { console.log("Error userdb.findOne() in user database,\n", _0x5a2e19); return; } }; userdb.find = async _0x5b0712 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x1e2f9e = await sck1.find(_0x5b0712); return _0x1e2f9e; } else if (sqldb && pg) { return await pg.find("sck1", _0x5b0712); } else { return await dbs.find("sck1", _0x5b0712); } } catch (_0x478a2a) { console.log("Error userdb.find() in user database,\n", _0x478a2a); return []; } }; userdb.updateOne = async (_0x234cce, _0x2ecb25 = {}) => { try { if (!global.AstroOfficial) { return; } if (!_0x234cce.id) { return {}; } if (isMongodb) { return await sck1.updateOne({ id: _0x234cce.id }, { ..._0x2ecb25 }); } else if (sqldb && pg) { return await pg.updateOne("sck1", { id: _0x234cce.id }, _0x2ecb25); } else { return await dbs.updateOne("sck1", _0x234cce, _0x2ecb25); } } catch (_0x5066df) { console.log("Error userdb.updateOne() in user database,\n", _0x5066df); return {}; } }; userdb.findOneAndDelete = async _0xdeca22 => { try { if (!global.AstroOfficial) { return; } if (!_0xdeca22.id) { return []; } if (isMongodb) { return await sck1.findOneAndDelete({ id: _0xdeca22.id }); } else if (sqldb && pg) { return await pg.findOneAndDelete("sck1", _0xdeca22); } else { return await dbs.findOneAndDelete("sck1", _0xdeca22); } } catch (_0x46c202) { console.log("Error userdb.findOneAndDelete() in user database,\n", _0x46c202); return null; } }; userdb.delete = userdb.findOneAndDelete; userdb.collection = { drop: async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await sck1.collection.drop(); } else if (sqldb && pg) { return await pg.collection.drop("sck1"); } else { return await dbs.collection.drop("sck1"); } } catch (_0x2969c3) { console.log("Error userdb.collection.drop() in user database,\n", _0x2969c3); return null; } } }; let alivedb = {}; alivedb.countDocuments = async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await alive.countDocuments(); } else if (sqldb && pg) { return await pg.countDocuments("bot_"); } else { return await dbs.countDocuments("bot_"); } } catch (_0x4081dd) { console.log("Error while Creating user in database,\n", _0x4081dd); return 0; } }; alivedb.new = async _0x2bee50 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0xd1aa49 = (await alive.findOne({ id: _0x2bee50.id })) || (await new alive({ id: _0x2bee50.id, ..._0x2bee50 }).save()); return _0xd1aa49; } else if (sqldb && pg) { return (await pg.findOne("bot_", { id: _0x2bee50.id })) || (await pg.new("bot_", _0x2bee50)); } else { var _0x3c13ea = (await dbs.findOne("bot_", { id: _0x2bee50.id })) || (await dbs.new("bot_", _0x2bee50)); return _0x3c13ea; } } catch (_0x5111bd) { console.log("Error while Creating BOT INFO in database,\n", _0x5111bd); return {}; } }; alivedb.findOne = async _0x443ebe => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await alive.findOne({ id: _0x443ebe.id }); } else if (sqldb && pg) { return await pg.findOne("bot_", _0x443ebe); } else { var _0x829297 = await dbs.findOne("bot_", { id: _0x443ebe.id }); return _0x829297; } } catch (_0x3b7a2d) { console.log("Error while finding user in database,\n", _0x3b7a2d); return; } }; alivedb.find = async _0x19e70e => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x2bd607 = await alive.find(_0x19e70e); return _0x2bd607; } else if (sqldb && pg) { return await pg.find("bot_", _0x19e70e); } else { return await dbs.find("bot_", _0x19e70e); } } catch (_0x5d0439) { console.log("Error while finding user in database,\n", _0x5d0439); return []; } }; alivedb.updateOne = async (_0x4f101f, _0xd5825b = {}) => { try { if (!global.AstroOfficial) { return; } if (!_0x4f101f.id) { return {}; } if (isMongodb) { return await alive.updateOne({ id: _0x4f101f.id }, { ..._0xd5825b }); } else if (sqldb && pg) { return await pg.updateOne("bot_", { id: _0x4f101f.id }, _0xd5825b); } else { return await dbs.updateOne("bot_", _0x4f101f, _0xd5825b); } } catch (_0x2bdc25) { console.log("Error while updateOne user in database,\n", _0x2bdc25); return {}; } }; alivedb.findOneAndDelete = async _0x660230 => { try { if (!global.AstroOfficial) { return; } if (!_0x660230.id) { return []; } if (isMongodb) { return await alive.findOneAndDelete({ id: _0x660230.id }); } else if (sqldb && pg) { return await pg.findOneAndDelete("bot_", _0x660230); } else { return await dbs.findOneAndDelete("bot_", _0x660230); } } catch (_0x4492eb) { console.log("Error while findOneAndDelete user in database,\n", _0x4492eb); return null; } }; alivedb.delete = alivedb.findOneAndDelete; alivedb.collection = { drop: async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await alive.collection.drop(); } else if (sqldb && pg) { return await pg.collection.drop("bot_"); } else { return await dbs.collection.drop("bot_"); } } catch (_0x4e2fb0) { console.log("Error while collection.drop all user in database,\n", _0x4e2fb0); return null; } } }; let tempdb = {}; tempdb.countDocuments = async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await dbtemp.countDocuments(); } else if (sqldb && pg) { return await pg.countDocuments("tempdb"); } else { return await dbs.countDocuments("tempdb"); } } catch (_0x4fc8d8) { console.log("Error while Creating user in database,\n", _0x4fc8d8); return 0; } }; tempdb.new = async _0x526942 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x2fd0a9 = (await dbtemp.findOne({ id: _0x526942.id })) || (await new dbtemp({ id: _0x526942.id, ..._0x526942 }).save()); return _0x2fd0a9; } else if (sqldb && pg) { var _0x2b0d8b = (await pg.findOne("tempdb", { id: _0x526942.id })) || (await pg.new("tempdb", _0x526942)); return _0x2b0d8b; } else { var _0x2b0d8b = (await dbs.findOne("tempdb", { id: _0x526942.id })) || (await dbs.new("tempdb", _0x526942)); return _0x2b0d8b; } } catch (_0x389022) { console.log("Error while Creating user in database,\n", _0x389022); return {}; } }; tempdb.findOne = async _0x4058b4 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await dbtemp.findOne({ id: _0x4058b4.id }); } else if (sqldb && pg) { return await pg.findOne("tempdb", _0x4058b4); } else { var _0x1711e3 = await dbs.findOne("tempdb", { id: _0x4058b4.id }); return _0x1711e3; } } catch (_0xda1823) { console.log("Error while finding user in database,\n", _0xda1823); return; } }; tempdb.find = async _0x3f7c16 => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { let _0x143b7e = await dbtemp.find(_0x3f7c16); return _0x143b7e; } else if (sqldb && pg) { return await pg.find("tempdb", _0x3f7c16); } else { return await dbs.find("tempdb", _0x3f7c16); } } catch (_0x5a2fa5) { console.log("Error while finding user in database,\n", _0x5a2fa5); return []; } }; tempdb.updateOne = async (_0x41af4e, _0x92ae4 = {}) => { try { if (!global.AstroOfficial) { return; } if (!_0x41af4e.id) { return {}; } if (isMongodb) { return await dbtemp.updateOne({ id: _0x41af4e.id }, { ..._0x92ae4 }); } else if (sqldb && pg) { return await pg.updateOne("tempdb", { id: _0x41af4e.id }, _0x92ae4); } else { return await dbs.updateOne("tempdb", _0x41af4e, _0x92ae4); } } catch (_0xc75f88) { console.log("Error while updateOne user in database,\n", _0xc75f88); return {}; } }; tempdb.findOneAndDelete = async _0x339ced => { try { if (!global.AstroOfficial) { return; } if (!_0x339ced.id) { return []; } if (isMongodb) { return await dbtemp.findOneAndDelete({ id: _0x339ced.id }); } else if (sqldb && pg) { return await pg.findOneAndDelete("tempdb", _0x339ced); } else { return await dbs.findOneAndDelete("tempdb", _0x339ced); } } catch (_0x55d55b) { console.log("Error while findOneAndDelete user in database,\n", _0x55d55b); return null; } }; tempdb.delete = tempdb.findOneAndDelete; tempdb.collection = { drop: async () => { try { if (!global.AstroOfficial) { return; } if (isMongodb) { return await dbtemp.collection.drop(); } else if (sqldb && pg) { return await pg.collection.drop("tempdb"); } else { return await dbs.collection.drop("tempdb"); } } catch (_0x32ad2c) { console.log("Error while collection.drop all user in database,\n", _0x32ad2c); return null; } } }; module.exports = { tempdb: tempdb, pg: pg, dbs: dbs, groupdb: groupdb, userdb: userdb, alivedb: alivedb, bot_: alivedb }; ================================================ FILE: lib/scraper.js ================================================ const axios = require("axios"); const fs = require("fs-extra"); const path = require("path"); const cheerio = require("cheerio"); const fetch = require("node-fetch"); const BodyForm = require("form-data"); let { fromBuffer } = require("file-type"); const { spawn } = require("child_process"); function pinterest(_0x2f8ba8) { return new Promise(async (_0x291602, _0x50133a) => { axios.get("https://id.pinterest.com/search/pins/?autologin=true&q=" + _0x2f8ba8, { headers: { cookie: "_auth=1; _b=\"AVna7S1p7l1C5I9u0+nR3YzijpvXOPc6d09SyCzO+DcwpersQH36SmGiYfymBKhZcGg=\"; _pinterest_sess=TWc9PSZHamJOZ0JobUFiSEpSN3Z4a2NsMk9wZ3gxL1NSc2k2NkFLaUw5bVY5cXR5alZHR0gxY2h2MVZDZlNQalNpUUJFRVR5L3NlYy9JZkthekp3bHo5bXFuaFZzVHJFMnkrR3lTbm56U3YvQXBBTW96VUgzVUhuK1Z4VURGKzczUi9hNHdDeTJ5Y2pBTmxhc2owZ2hkSGlDemtUSnYvVXh5dDNkaDN3TjZCTk8ycTdHRHVsOFg2b2NQWCtpOWxqeDNjNkk3cS85MkhhSklSb0hwTnZvZVFyZmJEUllwbG9UVnpCYVNTRzZxOXNJcmduOVc4aURtM3NtRFo3STlmWjJvSjlWTU5ITzg0VUg1NGhOTEZzME9SNFNhVWJRWjRJK3pGMFA4Q3UvcHBnWHdaYXZpa2FUNkx6Z3RNQjEzTFJEOHZoaHRvazc1c1UrYlRuUmdKcDg3ZEY4cjNtZlBLRTRBZjNYK0lPTXZJTzQ5dU8ybDdVS015bWJKT0tjTWYyRlBzclpiamdsNmtpeUZnRjlwVGJXUmdOMXdTUkFHRWloVjBMR0JlTE5YcmhxVHdoNzFHbDZ0YmFHZ1VLQXU1QnpkM1FqUTNMTnhYb3VKeDVGbnhNSkdkNXFSMXQybjRGL3pyZXRLR0ZTc0xHZ0JvbTJCNnAzQzE0cW1WTndIK0trY05HV1gxS09NRktadnFCSDR2YzBoWmRiUGZiWXFQNjcwWmZhaDZQRm1UbzNxc21pV1p5WDlabm1UWGQzanc1SGlrZXB1bDVDWXQvUis3elN2SVFDbm1DSVE5Z0d4YW1sa2hsSkZJb1h0MTFpck5BdDR0d0lZOW1Pa2RDVzNySWpXWmUwOUFhQmFSVUpaOFQ3WlhOQldNMkExeDIvMjZHeXdnNjdMYWdiQUhUSEFBUlhUVTdBMThRRmh1ekJMYWZ2YTJkNlg0cmFCdnU2WEpwcXlPOVZYcGNhNkZDd051S3lGZmo0eHV0ZE42NW8xRm5aRWpoQnNKNnNlSGFad1MzOHNkdWtER0xQTFN5Z3lmRERsZnZWWE5CZEJneVRlMDd2VmNPMjloK0g5eCswZUVJTS9CRkFweHc5RUh6K1JocGN6clc1JmZtL3JhRE1sc0NMTFlpMVErRGtPcllvTGdldz0=; _ir=0" } }).then(({ data: _0xef683e }) => { const _0x31d09f = cheerio.load(_0xef683e); const _0x245bdf = []; const _0x582248 = []; _0x31d09f("div > a").get().map(_0x1aadc8 => { const _0x53e6f0 = _0x31d09f(_0x1aadc8).find("img").attr("src"); _0x245bdf.push(_0x53e6f0); }); _0x245bdf.forEach(_0x554807 => { if (_0x554807 == undefined) { return; } _0x582248.push(_0x554807.replace(/236/g, "736")); }); _0x582248.shift(); _0x291602(_0x582248); }); }); } function TelegraPh(_0x2c8f6f) { return new Promise(async (_0x57be54, _0x2325da) => { if (!fs.existsSync(_0x2c8f6f)) { return _0x2325da(new Error("File not Found")); } try { const _0x3b4bf9 = new BodyForm(); _0x3b4bf9.append("file", fs.createReadStream(_0x2c8f6f)); const _0x5dd8d3 = await axios({ url: "https://telegra.ph/upload", method: "POST", headers: { ..._0x3b4bf9.getHeaders() }, data: _0x3b4bf9 }); return _0x57be54("https://telegra.ph" + _0x5dd8d3.data[0].src); } catch (_0x168ebe) { return _0x2325da(new Error(String(_0x168ebe))); } }); } async function UploadFileUgu(_0x443690) { return new Promise(async (_0x3c1093, _0x47a242) => { const _0x4cd7cd = new BodyForm(); _0x4cd7cd.append("files[]", fs.createReadStream(_0x443690)); await axios({ url: "https://uguu.se/upload.php", method: "POST", headers: { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36", ..._0x4cd7cd.getHeaders() }, data: _0x4cd7cd }).then(_0x378d64 => { _0x3c1093(_0x378d64.data.files[0]); }).catch(_0x2574f5 => _0x47a242(_0x2574f5)); }); } async function createUrl(_0x128c16, _0x4f4112 = "1") { try { if (!_0x128c16) { return; } if (!_0x4f4112 || _0x4f4112 === "1" || _0x4f4112.toLowerCase() === "telegraph") { return await TelegraPh(_0x128c16); } if (_0x4f4112 === "2" || _0x4f4112.toLowerCase().includes("ugu")) { return await UploadFileUgu(_0x128c16); } } catch (_0x21a973) { console.log("ERROR IN SCRAPPING FOR CREATE URL()\n", _0x21a973); } } function webp2mp4File(_0x30cb53) { return new Promise((_0x4ebaf9, _0x4bc015) => { const _0x22cf6f = new BodyForm(); _0x22cf6f.append("new-image-url", ""); _0x22cf6f.append("new-image", fs.createReadStream(_0x30cb53)); axios({ method: "post", url: "https://s6.ezgif.com/webp-to-mp4", data: _0x22cf6f, headers: { "Content-Type": "multipart/form-data; boundary=" + _0x22cf6f._boundary } }).then(({ data: _0x3dfa4a }) => { const _0x1851a6 = new BodyForm(); const _0x5c4599 = cheerio.load(_0x3dfa4a); const _0x10df29 = _0x5c4599("input[name=\"file\"]").attr("value"); _0x1851a6.append("file", _0x10df29); _0x1851a6.append("convert", "Convert WebP to MP4!"); axios({ method: "post", url: "https://ezgif.com/webp-to-mp4/" + _0x10df29, data: _0x1851a6, headers: { "Content-Type": "multipart/form-data; boundary=" + _0x1851a6._boundary } }).then(({ data: _0x560f16 }) => { const _0x3247d2 = cheerio.load(_0x560f16); const _0x2c0ca3 = "https:" + _0x3247d2("div#output > p.outfile > video > source").attr("src"); _0x4ebaf9({ status: true, message: "Created By Secktor Botto", result: _0x2c0ca3 }); }).catch(_0x4bc015); }).catch(_0x4bc015); }); } function wikimedia(_0x1868ba) { return new Promise((_0x2bc707, _0xd97134) => { axios.get("https://commons.wikimedia.org/w/index.php?search=" + _0x1868ba + "&title=Special:MediaSearch&go=Go&type=image").then(_0x1f54aa => { let _0x35752e = cheerio.load(_0x1f54aa.data); let _0xd58fd2 = []; _0x35752e(".sdms-search-results__list-wrapper > div > a").each(function (_0x2e6c41, _0x3093a8) { _0xd58fd2.push({ title: _0x35752e(_0x3093a8).find("img").attr("alt"), source: _0x35752e(_0x3093a8).attr("href"), image: _0x35752e(_0x3093a8).find("img").attr("data-src") || _0x35752e(_0x3093a8).find("img").attr("src") }); }); _0x2bc707(_0xd58fd2); }); }); } function ffmpeg(_0x3f259d, _0x31af2c = [], _0x5729b0 = "", _0x357d10 = "") { return new Promise(async (_0xba570a, _0x502055) => { try { let _0x5a9045 = path.join(__dirname, "./", +new Date() + "." + _0x5729b0); let _0x2352fa = _0x5a9045 + "." + _0x357d10; await fs.promises.writeFile(_0x5a9045, _0x3f259d); spawn("ffmpeg", ["-y", "-i", _0x5a9045, ..._0x31af2c, _0x2352fa]).on("error", _0x502055).on("close", async _0xf77d97 => { try { await fs.promises.unlink(_0x5a9045); if (_0xf77d97 !== 0) { return _0x502055(_0xf77d97); } _0xba570a(await fs.promises.readFile(_0x2352fa)); await fs.promises.unlink(_0x2352fa); } catch (_0x3e53b9) { _0x502055(_0x3e53b9); } }); } catch (_0x485d65) { _0x502055(_0x485d65); } }); } function toAudio(_0x5f1e7e, _0x12b262) { return ffmpeg(_0x5f1e7e, ["-vn", "-ac", "2", "-b:a", "128k", "-ar", "44100", "-f", "mp3"], _0x12b262, "mp3"); } function toPTT(_0x5a80de, _0x24cd47) { return ffmpeg(_0x5a80de, ["-vn", "-c:a", "libopus", "-b:a", "128k", "-vbr", "on", "-compression_level", "10"], _0x24cd47, "opus"); } function toVideo(_0x1f7083, _0x142ba6) { return ffmpeg(_0x1f7083, ["-c:v", "libx264", "-c:a", "aac", "-ab", "128k", "-ar", "44100", "-crf", "32", "-preset", "slow"], _0x142ba6, "mp4"); } const Config = require("../config"); if (fs.existsSync("./source/" + Config.LANG + ".json")) { var json = JSON.parse(fs.readFileSync("./source/" + Config.LANG + ".json")); } else { var json = JSON.parse(fs.readFileSync("./source/WASI.json")); } function ffancy(_0x48e16e) { return new Promise((_0x321dba, _0x34268c) => { axios.get("http://qaz.wtf/u/convert.cgi?text=" + _0x48e16e).then(({ data: _0x3a4376 }) => { let _0x3dacf1 = cheerio.load(_0x3a4376); let _0x2a2436 = []; _0x3dacf1("table > tbody > tr").each(function (_0x5b4a04, _0xc640ea) { _0x2a2436.push({ name: _0x3dacf1(_0xc640ea).find("td:nth-child(1) > span").text(), result: _0x3dacf1(_0xc640ea).find("td:nth-child(2)").text().trim() }); }); _0x321dba(_0x2a2436); }); }); } async function fancy(_0x5b1e58, _0x13e0d0) { try { let _0x1830de = await ffancy(_0x5b1e58); return _0x1830de[_0x13e0d0].result; } catch (_0x40ef2a) { console.log(_0x40ef2a); } } async function randomfancy(_0x5c5181) { try { let _0x5ac180 = await ffancy(_0x5c5181); return _0x5ac180[0].result; } catch (_0x61d17) { console.log("ERRO IN RANDOME FANCY SCRAPPER\n", _0x61d17); return _0x5c5181; } } function getString(_0x51273c) { return json.STRINGS[_0x51273c]; } function tlang(_0x241740 = false) { let _0x4e9dfc = getString("global"); if (_0x241740) { return _0x4e9dfc[_0x241740]; } else { return _0x4e9dfc; } } function botpic() { return new Promise((_0x2b19e2, _0x596d7c) => { let _0x169afc = getString("global"); let _0x255444 = ["" + _0x169afc.pic1, "" + _0x169afc.pic2, "" + _0x169afc.pic3, "" + _0x169afc.pic4, "" + _0x169afc.pic5, "" + _0x169afc.pic6]; const _0x33f510 = _0x255444[Math.floor(Math.random() * _0x255444.length)]; _0x2b19e2(_0x33f510); }); } async function isAdmin(_0x234375, _0x5b87cc, _0x509e42) { let _0x44a379 = await _0x234375.groupMetadata(_0x5b87cc); let _0x4f5480 = _0x44a379.participants.reduce((_0x598567, _0x16141e) => (_0x16141e.admin ? _0x598567.push({ id: _0x16141e.id, admin: _0x16141e.admin }) : [..._0x598567]) && _0x598567, []); var _0x111c5f = _0x4f5480.find(_0x19416a => _0x19416a.id === _0x509e42); return _0x111c5f; } async function syncgit() { const _0x5e22e2 = require("simple-git"); const _0x1d13cb = _0x5e22e2(); await _0x1d13cb.fetch(); var _0xecb7fc = await _0x1d13cb.log(["main..origin/main"]); return _0xecb7fc; } async function sync() { const _0x5ce6b3 = require("simple-git"); const _0xcf079d = _0x5ce6b3(); await _0xcf079d.fetch(); var _0x3f267e = await _0xcf079d.log(["main..origin/main"]); var _0x3af3b6 = ""; _0x3f267e.all.map(_0x4602cd => { _0x3af3b6 += "● [" + _0x4602cd.date.substring(0, 10) + "]: " + _0x4602cd.message + "\n- By:" + _0x4602cd.author_name + "\n"; }); return _0x3af3b6; } function ringtone(_0x2fc4c5) { return new Promise((_0x28e1d8, _0x2d6a77) => { axios.get("https://meloboom.com/en/search/" + _0x2fc4c5).then(_0x3dc63c => { let _0x5eb95f = cheerio.load(_0x3dc63c.data); let _0x450043 = []; _0x5eb95f("#__next > main > section > div.jsx-2244708474.container > div > div > div > div:nth-child(4) > div > div > div > ul > li").each(function (_0x212a7f, _0x2abbe0) { _0x450043.push({ title: _0x5eb95f(_0x2abbe0).find("h4").text(), source: "https://meloboom.com/" + _0x5eb95f(_0x2abbe0).find("a").attr("href"), audio: _0x5eb95f(_0x2abbe0).find("audio").attr("src") }); }); _0x28e1d8(_0x450043); }); }); } function styletext(_0x546f44) { return new Promise((_0x452fff, _0xb199b7) => { axios.get("http://qaz.wtf/u/convert.cgi?text=" + _0x546f44).then(({ data: _0x52dd9a }) => { let _0x1e1fdb = cheerio.load(_0x52dd9a); let _0x2b4436 = []; _0x1e1fdb("table > tbody > tr").each(function (_0x3d0567, _0x5e0acf) { _0x2b4436.push({ name: _0x1e1fdb(_0x5e0acf).find("td:nth-child(1) > span").text(), result: _0x1e1fdb(_0x5e0acf).find("td:nth-child(2)").text().trim() }); }); _0x452fff(_0x2b4436); }); }); } function adultvid() { return new Promise((_0x75660e, _0x481c10) => { axios.get("https://tikporntok.com/?random=1").then(_0x2aa3c0 => { const _0x5a9f62 = cheerio.load(_0x2aa3c0.data); const _0x10ea21 = {}; _0x10ea21.title = _0x5a9f62("article > h1").text(); _0x10ea21.source = _0x5a9f62("article > div.video-wrapper.vxplayer").attr("data-post") || "Web Not Response"; _0x10ea21.thumb = _0x5a9f62("article > div.video-wrapper.vxplayer > div.vx_el").attr("data-poster") || "https://4.bp.blogspot.com/-hyMqjmQQq4o/W6al-Rk4IpI/AAAAAAAADJ4/m-lVBA_GC9Q5d4BIQg8ZO3fYmQQC3LqSACLcBGAs/s1600/404_not_found.png"; _0x10ea21.desc = _0x5a9f62("article > div.intro").text(); _0x10ea21.upload = _0x5a9f62("article > div.single-pre-meta.ws.clearfix > time").text(); _0x10ea21.like = _0x5a9f62("article > div.single-pre-meta.ws.clearfix > div > span:nth-child(1) > span").text(); _0x10ea21.dislike = _0x5a9f62("article > div.single-pre-meta.ws.clearfix > div > span:nth-child(2) > span").text(); _0x10ea21.favorite = _0x5a9f62("article > div.single-pre-meta.ws.clearfix > div > span:nth-child(3) > span").text(); _0x10ea21.views = _0x5a9f62("article > div.single-pre-meta.ws.clearfix > div > span:nth-child(4) > span").text(); _0x10ea21.tags = _0x5a9f62("article > div.post-tags").text(); _0x10ea21.video = _0x5a9f62("article > div.video-wrapper.vxplayer > div.vx_el").attr("src") || _0x5a9f62("article > div.video-wrapper.vxplayer > div.vx_el").attr("data-src") || "https://4.bp.blogspot.com/-hyMqjmQQq4o/W6al-Rk4IpI/AAAAAAAADJ4/m-lVBA_GC9Q5d4BIQg8ZO3fYmQQC3LqSACLcBGAs/s1600/404_not_found.png"; _0x75660e(_0x10ea21); }); }); } function hentai() { return new Promise((_0x24384b, _0x48739c) => { const _0x6f78c6 = Math.floor(Math.random() * 1153); axios.get("https://sfmcompile.club/page/" + _0x6f78c6).then(_0x4d532c => { const _0x3596b1 = cheerio.load(_0x4d532c.data); const _0x4210e7 = []; _0x3596b1("#primary > div > div > ul > li > article").each(function (_0xbb4011, _0x525d04) { _0x4210e7.push({ title: _0x3596b1(_0x525d04).find("header > h2").text(), link: _0x3596b1(_0x525d04).find("header > h2 > a").attr("href"), category: _0x3596b1(_0x525d04).find("header > div.entry-before-title > span > span").text().replace("in ", ""), share_count: _0x3596b1(_0x525d04).find("header > div.entry-after-title > p > span.entry-shares").text(), views_count: _0x3596b1(_0x525d04).find("header > div.entry-after-title > p > span.entry-views").text(), type: _0x3596b1(_0x525d04).find("source").attr("type") || "image/jpeg", video_1: _0x3596b1(_0x525d04).find("source").attr("src") || _0x3596b1(_0x525d04).find("img").attr("data-src"), video_2: _0x3596b1(_0x525d04).find("video > a").attr("href") || "" }); }); _0x24384b(_0x4210e7); }); }); } async function Insta(_0x492c6f) { const _0x217316 = []; try { const _0x42cb1e = { url: _0x492c6f, submit: "" }; const { data: _0x5c0f46 } = await axios("https://downloadgram.org/", { method: "POST", data: _0x42cb1e }); const _0x550bbd = cheerio.load(_0x5c0f46); _0x550bbd("#downloadhere > a").each(function (_0x4eb611, _0xeb3309) { var _0x2bc433 = _0x550bbd(_0xeb3309).attr("href"); if (_0x2bc433) { _0x217316.push(_0x2bc433); } }); } catch (_0x31b4d0) { console.log("ERROR IN INSTA SCRAPING()\n", _0x31b4d0); return; } return _0x217316; } const mediafireDl = async _0x3c3223 => { const _0x41b949 = await axios.get(_0x3c3223); const _0x283931 = cheerio.load(_0x41b949.data); const _0x48ce58 = []; const _0x4206a5 = _0x283931("a#downloadButton").attr("href"); const _0x2c0400 = _0x283931("a#downloadButton").text().replace("Download", "").replace("(", "").replace(")", "").replace("\n", "").replace("\n", "").replace(" ", ""); const _0x23f6b6 = _0x4206a5.split("/"); const _0x5aa112 = _0x23f6b6[5]; mime = _0x5aa112.split("."); mime = mime[1]; _0x48ce58.push({ nama: _0x5aa112, mime: mime, size: _0x2c0400, link: _0x4206a5 }); return _0x48ce58; }; const embarrassing_questions_truth = "What was the last thing you searched for on your phone?,If you had to choose between going naked or having your thoughts appear in thought bubbles above your head for everyone to read which would you choose?,Have you ever walked in on your parents doing it?,After you've dropped a piece of food what's the longest time you've left it on the ground and then ate it?,Have you ever tasted a booger?,Have you ever played Cards Against Humanity with your parents?,What's the first thing you would do if you woke up one day as the opposite sex?,Have you ever peed in the pool?,Who do you think is the worst dressed person in this room?,Have you ever farted in an elevator?,Of the people in this room who do you want to trade lives with?,What are some things you think about when sitting on the toilet?,Did you have an imaginary friend growing up?,Do you cover your eyes during a scary part in a movie?,Have you ever practiced kissing in a mirror?,Did your parents ever give you the “birds and the bees” talk?,What is your guilty pleasure?,What is your worst habit?,Has anyone ever walked in on you when going #2 in the bathroom?,Have you ever had a wardrobe malfunction?,Have you ever walked into a wall?,Do you pick your nose?,Do you sing in the shower?,Have you ever peed yourself?,What was your most embarrassing moment in public?,Have you ever farted loudly in class?,Do you ever talk to yourself in the mirror?,You’re in a public restroom and just went #2 then you realized your stall has no toilet paper. What do you do?,What would be in your web history that you’d be embarrassed if someone saw?,Have you ever tried to take a sexy picture of yourself?,Do you sleep with a stuffed animal?,Do you drool in your sleep?,Do you talk in your sleep?,Who is your secret crush?,Who do you like the least in this room and why?,What does your dream boy or girl look like?,What is your go-to song for the shower?,Who is the sexiest person in this room?,How would you rate your looks on a scale of 1 to 10?,Would you rather have sex with [insert name] in secret or not have sex with that person but everyone thinks you did?,What don't you like about me?,What color underwear are you wearing right now?,What was the last thing you texted?,If you were rescuing people from a burning building and you had to leave one person behind from this room who would it be?,Do you think you'll marry your current girlfriend/boyfriend?,How often do you wash your undergarments?,Have you ever tasted ear wax?,Have you ever farted and then blamed someone else?,Have you ever tasted your sweat?,What is the most illegal thing you have ever done?,Who is your favorite? Mom or Dad?,Would you trade your sibling in for a million dollars?,Would you trade in your dog for a million dollars?,What is your biggest pet peeve?,If you were allowed to marry more than one person would you? Who would you choose to marry?,Would you rather lose your sex organs forever or gain 200 pounds?,Would you choose to save 100 people without anyone knowing about it or not save them but have everyone praise you for it?,If you could only hear one song for the rest of your life what would it be?,If you lost one day of your life every time you said a swear word would you try not to do it?,Who in this room would be the worst person to date? Why?,Would you rather live with no internet or no A/C or heating?,If someone offered you $1 million to break up with your girlfriend/boyfriend would you do it?,If you were reborn what decade would you want to be born in?,If you could go back in time in erase one thing you said or did what would it be?,Has your boyfriend or girlfriend ever embarrassed you?,Have you ever thought about cheating on your partner?,If you could suddenly become invisible what would you do?,Have you ever been caught checking someone out?,Have you ever waved at someone thinking they saw you when really they didn't? What did you do when you realized it?,What's the longest time you've stayed in the bathroom and why did you stay for that long?,What's the most unflattering school picture of you?,Have you ever cried because you missed your parents so much?,Would you rather be caught picking your nose or picking a wedgie?,Describe the strangest dream you've ever had. Did you like it?,Have you ever posted something on social media that you regret?,What is your biggest fear?,Do you pee in the shower?,Have you ever ding dong ditched someone?,The world ends next week and you can do anything you want (even if it's illegal). What would you do?,Would you wear your shirt inside out for a whole day if someone paid you $100?,What is the most childish thing that you still do?,How far would you go to land the guy or girl of your dreams?,Tell us about a time you embarrassed yourself in front of a crush.,Have you ever kept a library book?,Who is one person you pretend to like but actually don’t?,What children’s movie could you watch over and over again?,Do you have bad foot odor?,Do you have any silly nicknames?,When was the last time you wet the bed?,How many pancakes have you eaten in a single sitting?,Have you ever accidentally hit something with your car?,If you had to make out with any Disney character who would it be?,Have you ever watched a movie you knew you shouldn’t?,Have you ever wanted to try LARP (Live Action Role-Play)?,What app on your phone do you waste the most time on?,Have you ever pretended to be sick to get out of something? If so what was it?,What is the most food you’ve eaten in a single sitting?,Do you dance when you’re by yourself?,Would you have voted for or against Trump?,What song on the radio do you sing with every time it comes on?,Do you sleep with a stuffed animal?,Do you own a pair of footie pajamas?,Are you scared of the dark?,What ‘As seen on TV’ product do you secretly want to buy?,Do you still take bubble baths?,If you were home by yourself all day what would you do?,How many selfies do you take a day?,What is something you’ve done to try to be ‘cooler’?,When was the last time you brushed your teeth?,Have you ever used self-tanner?,What do your favorite pajamas look like?,Do you have a security blanket?,Have you ever eaten something off the floor?,Have you ever butt-dialed someone?,Do you like hanging out with your parents?,Have you ever got caught doing something you shouldn’t?,What part of your body do you love and which part do you hate?,Have you ever had lice?,Have you ever pooped your pants?,What was the last R-rated movie you watched?,Do you lick your plate?,What is something that no one else knows about you?,Do you write in a diary?".split(","); const truth_girl_questions = "What is the worst date you’ve ever been on?,Have you ever had a crush on a friend’s boyfriend/girlfriend?,If you had to make out with a boy at school who would it be?,Would you rather go for a month without washing your hair or go for a day without wearing a bra?,Have you ever asked someone out?,Have you ever had a crush on a person at least 10 years older than you?,Who is the worst kisser you’ve kissed?,What size is your bra?,Do you wear tighty whities or granny panties?,Do you ever admire yourself in the mirror?,Has a crush ever found out you liked them and turned you down?,Have you ever been stood up on a date?,What’s the most embarrassing thing you’ve done regarding your crush?,Do you secretly love Twilight?,Have you ever wanted to be a cheerleader?,If you could marry any celebrity who would it be?,What do you do to get yourself \"sexy\"?,Who is your current crush?,What hairstyle have you always wanted but never been willing to try?,What’s the most embarrassing thing you’ve said or done in front of someone you like?,What part of your body do you love and which part do you hate?,Who is your celebrity crush?,If you could change one thing about your body what would it be?,Who was your first kiss? Did you like it?,Who are you jealous of?,If you could be another girl at our school who would you be?,Would you kiss a guy on the first date? Would you do more than that?,Who are the top five cutest guys in our class? Rank them.,How many kids do you want to have in the future?,Who do you hate the most?,If you could go out on a date with a celebrity who would it be?,If you were stranded on a deserted island who would you want to be stranded with from our school?,Have you ever flirted with your best friend’s siblings?,Have you ever been dumped? What was the reason for it?,Jock nerd or bad guy?,Have you ever had a crush on friend's boyfriend?,Who is your first pick for prom?,What's the sexiest thing about a guy?,What's the sexiest thing about a girl?,What's one physical feature that you would change on yourself if you could?,Would you rather be a guy than a girl? Why?,Describe your dream career.,If you could eat anything you wanted without getting fat what would that food be?,If you had to do a game show with someone in this room who would you pick?,Would you go a year without your phone if it meant you could marry the person of your dreams?,You are going to be stuck on a desert island and you can only bring five things. List them.,If you could only wear one hairstyle for the rest of your life would you choose curly hair or straight hair?,You have to give up one makeup item for the rest of your life. What is it?,Would you date someone shorter than you?,If someone paid you $1000 to wear your bra outside your shirt would you do it?".split(","); const tord_friend_questions = "Who would you hate to see naked?,How long have you gone without a shower?,If you could only text one person for the rest of your life but you could never talk to that person face to face who would that be?,How long have you gone without brushing your teeth?,What's one thing you would never eat on a first date?,What have you seen that you wish you could unsee?,If you could be reincarnated into anyone's body who would you want to become?,If you switched genders for the day what would you do?,What's one food that you will never order at a restaurant?,What's the worst weather to be stuck outside in if all you could wear was a bathing suit?,If your car broke down in the middle of the road who in this room would be the last person you would call? Why?,What's the most useless piece of knowledge you know?,What did you learn in school that you wish you could forget?,Is it better to use shampoo as soap or soap as shampoo?,If you ran out of toilet paper would you consider wiping with the empty roll?,What would be the worst part about getting pantsed in front of your crush?,If you could only use one swear word for the rest of your life which one would you choose?,What's the best thing to say to your friend that would be the worst thing to say to your crush?,Who do you think is the Beyonce of the group?,Would you rather eat dog food or cat food?,If you had nine lives what would you do that you wouldn't do now?,If you could play a prank on anyone without getting caught who would you play it on?,What would the prank be?,Have you ever pretended to like a gift? How did you pretend?,Would you rather not shower for a month or eat the same meal every day for a month?,What animal most closely resembles your eating style?,If you could choose to never sweat for the rest of your life or never have to use the bathroom which would you choose?,If you could spend every waking moment with your gf or bf would you?".split(","); const truth_guy_questions = "If you had to choose between dating someone ugly who was good in bed or dating someone hot who was bad in bed which would you choose?,If you could be invisible who would you spy on?,Who are the top 5 hottest girls at our school? In our class?,Who in this room would you make out with?,If you could date one of your bro's girlfriends who would it be?,What your favorite body part?,When was the last time you flexed in the mirror?,Describe your perfect partner.,Have you ever been in love?,Blonde or brunette?,What turns you on the most?,If your parents hated your girlfriend would you dump her?,If your girlfriend hated your best friend what would you do?,Who is your biggest celebrity crush?,Would you take steroids?,Have you ever had a crush on a friend's girlfriend?,Who are you jealous of?,Who do you think is the hottest in our group?,What is your biggest turn-off?,Have you ever been rejected by someone?,If you had to choose between being poor and smart or being rich and dumb what would you choose?,What have you lied to your partner about?,Have you ever cheated on your partner?,Would you go out with an older woman?,Do you have a crush on someone from another school?,Boxers or briefs?,When was the last time you cried?,Have you ever had a crush on a friend's girlfriend?,If you could make out with someone else's girl who would it be?,If every time you checked out a girl's body you would gain 5 pounds how often would you do it?,Have you ever lied about your age?,Have you ever fallen in love at first sight?,If a girl you didn't like had a crush on you how would you act around her?,What if she was your friend?,What would you do if you found out your girlfriend liked someone else?,If we formed a boy band who here would make the best lead singer?".split(","); const flirty_questions = "Who do you want to make out with the most?,If you had to flash just one person in this room who would it be?,If you haven't had your first kiss yet who in this room do you want to have your first kiss with?,Of the people in this room who would you go out with?,Describe the most attractive thing about each person in this room.,Who here do you think is the best flirt?,Who has the best smile?,Who has the cutest nose?,How about prettiest eyes?,Who's the funniest in this room?,What's one thing you would never do in front of someone you had a crush on?,How often do you check yourself out in the mirror when you're on a date?,Who here do you think would be the best kisser?,Who has the best dance moves?,If you could have one physical feature of someone in this room what would that be?,What is your wildest fantasy?,How far would you go with someone you just met and will never see again?,Rate me on a scale of 1 to 10 with 10 being the hottest.,If I was a food what would I be and how would you eat me?,Would you choose a wild hot relationship or a calm and stable one?,If you had one week to live and you had to marry someone in this room who would it be?,If you only had 24 hours to live and you could do anything with anyone in this room who would it be and what would you do with that person?,What's your biggest turn-on?,And your biggest turn-off?,Would you go out with me if I was the last person on earth?,What's the most flirtatious thing you've ever done?,What's the sexiest thing about [fill in the name of a person in the room]?,If you could go on a romantic date with anyone in this room who would you pick?".split(","); const dirty_questions = "Have you ever flashed someone?,Have you ever sexted anyone?,Have you ever been to a nudist beach? Would you consider going?,Would you ever consider posing for Playboy?,Who has seen you without clothes on?,Have you ever seen a naughty magazine?,Have you ever sent a nude selfie? Who would you send it to?,Have you ever searched for something dirty on the internet?,Who do you most want to sleep with out of everyone here?,What's your favorite body part on your partner?,How many people have you kissed?,Have you ever been attracted to the same sex?,When and where was your first kiss? Who was it with?,When did you lose your virginity and to whom did you lose it?,What's your ultimate sexual fantasy?,Would you go out with an older guy? How old is too old?,Do you sleep in the nude?,How much money would we have to pay you for you to agree to flash your boobs?,Have you ever been in a \"friends with benefits\" situation?,If you had to go skinny dipping with someone who in this room would you choose?,If I paid you $100 would you wear your sexiest clothes to class?".split(","); const dare_normal_questions = "Do a free-style rap for the next minute.,Let another person post a status on your behalf.,Hand over your phone to another player who can send a single text saying anything they want to anyone they want.,Let the other players go through your phone for one minute.,Smell another player's armpit.,Smell another player's bare foot.,Eat a bite of a banana peel.,Do an impression of another player until someone can figure out who it is.,Say pickles at the end of every sentence you say until it's your turn again.,Imitate a YouTube star until another player guesses who you're portraying.,Act like a chicken until your next turn.,Talk in a British accent until your next turn.,Call a friend, pretend it's their birthday, and sing them Happy Birthday to You.,Name a famous person that looks like each player in the room.,Show us your best dance moves.,Eat a packet of hot sauce straight.,Let another person draw a tattoo on your back with a permanent marker.,Put on a blindfold and touch the other players' faces until you can figure out who's who.,Serenade the person to your right for a full minute.,Do 20 squats.,Let the other players redo your hairstyle.,Gulp down a raw egg.,Dump out your purse' backpack' or pockets and do a show and tell of what's inside.,Let the player to your right redo your makeup.,Do a prank call on one of your family members.,Let another player create a hat out of toilet paper — and you've got to wear it for the rest of the game.,Do a plank for a full minute.,Let someone give you a wedgie.,Put five cubes in your mouth (you can't chew them, you just have to let them melt—brrr).,Bark like a dog.,Draw your favorite movie and have the other person guess it (Pictionary-style).,Repeat everything the person to your right says until your next turn.,Demonstrate how you style your hair in the mirror (without actually using the mirror).,Play air guitar for one minute.,Empty a glass of cold water onto your head outside.,Lay on the floor and act like a sizzling piece of bacon.,In the next ten minutes, find a way to scare another player and make it a surprise.,Lick a bar of soap.,Eat a teaspoon of mustard.".split(","); const more_normal_dare_questions = "Show the most embarrassing photo on your phone,Show the last five people you texted and what the messages said,Let the rest of the group DM someone from your Instagram account,Eat a raw piece of garlic,Do 100 squats,Show us your screen time report,Keep three ice cubes in your mouth until they melt,Say something dirty to the person on your left,Give a foot massage to the person on your right,Put 10 different available liquids into a cup and drink it,Yell out the first word that comes to your mind,Give a lap dance to someone of your choice,Remove four items of clothing,Like the first 15 posts on your Facebook newsfeed,Eat a spoonful of mustard,Keep your eyes closed until it's your go again,Send a sext to the last person in your phonebook,Show your orgasm face,Seductively eat a banana,Empty out your wallet/purse and show everyone what's inside,Do your best sexy crawl,Pretend to be the person to your right for 10 minutes,Eat a snack without using your hands,Say two honest things about everyone else in the group,Twerk for a minute,Try and make the group laugh as quickly as possible,Try to put your whole fist in your mouth,Tell everyone an embarrassing story about yourself,Try to lick your elbow,Post the oldest selfie on your phone on Instagram Stories,Tell the saddest story you know,Howl like a wolf for two minutes,Dance without music for two minutes,Pole dance with an imaginary pole,Let someone else tickle you and try not to laugh,Put as many snacks into your mouth at once as you can,Scroll through your phone book until someone says stop. You either have to call or delete that person.,Down your drink (responsibly),Try and make yourself cry in front of the group,Tell the group two truths and a lie, and they have to guess which one the lie is,Show off your secret talent,Reply to the first five Instagram Stories on your timeline,Share the first celebrity on your timeline's Instagram to your Story,Put on as many layers as possible in 60 seconds,Fill your mouth with drink and gargle your answer to the next Truth,Smile as widely as you can and hold it for two minutes".split(","); const dirty_dare_questions_part_2 = "Eat a piece of fruit in the most sensual way possible.,Play me a song you’d like to have sex to.,Using your fingers, find a way to give me goosebumps right now.,Demonstrate a move on me that you saw and liked while watching porn.,Give me a sensual massage. Start at my feet and work your way up.,For the next 60 seconds, touch yourself like you’d like to touch me.,Spell out a short, sultry message on my body…with your tongue.,Pretend I’m a stranger at a bar. Try to pick me up and convince me to come home with you.,I’m going to go into the other room and dab perfume or cologne somewhere on my body. You have to sniff everywhere until you figure out where I put it on.,Pop an ice cube in your mouth and go down on me for 15 seconds.,Put my cell on vibrate, then place it somewhere on my body. Now, call me.,Pour a trail of sugar from the small of my back to my neck. Now, lick it up.,Meet me in the closet for a round of seven minutes in heaven. The rules? You must keep the making out above the belt.,Take off my underwear…with your mouth.,Dip your fingertips in mouthwash and then rub my nipples, so I’ll get an erotic, tingly sensation the moment you touch me.,Pick a spot on my body that isn’t usually considered sexual—elbows, knees, ankles—and lavish it with kisses until I’m turned on.".split(","); const dirty_dare_questions_part_1 = "You have ten seconds to excite me just by kissing. Hint: You're not limited to my lips.,Imitate my most flexible sex move.,Make out with me like we used to before we started having sex.,Go find your old Halloween costume and put it on for me. Then, let's decide what to role play.,Place whipped cream on your favorite parts of my body. Now, lick it off.,Eat a strawberry in the most sensual way possible.,Engage in foreplay with me for five minutes with one rule: You're allowed to kiss me anywhere but my mouth.,Give me a massage anywhere on my body for 10 minutes.,Do something to me right now that you've been fantasizing about.,Find something sweet to swipe across your lips and give me a passionate kiss.,Drag me to the closet for an adult round of seven minutes in heaven. You must keep the making out above the belt.,Stimulate two parts of my body at once. Use your hands on one part and lips on another.,Using your mouth, make your way from my wrist to my ear. Take your time!,In your most sultry voice, tell me what you loved about the last time we had sex.,Hop in the shower with me and wash my body, making sure not to miss any hard spots.".split(","); function dare() { const _0xdc4ba6 = [dare_normal_questions, more_normal_dare_questions, dirty_dare_questions_part_1, dirty_dare_questions_part_2]; const _0x56ff1c = _0xdc4ba6[Math.floor(Math.random() * _0xdc4ba6.length)]; const _0x4fce1d = _0x56ff1c[Math.floor(Math.random() * _0x56ff1c.length)]; return _0x4fce1d; } function truth() { const _0x24cfff = [embarrassing_questions_truth, truth_girl_questions, tord_friend_questions, truth_guy_questions, flirty_questions, dirty_questions]; const _0x319043 = _0x24cfff[Math.floor(Math.random() * _0x24cfff.length)]; const _0x9d720f = _0x319043[Math.floor(Math.random() * _0x319043.length)]; return _0x9d720f; } function random_question() { const _0x3bdbe5 = [embarrassing_questions_truth, truth_girl_questions, tord_friend_questions, truth_guy_questions, flirty_questions, dirty_questions, dare_normal_questions, more_normal_dare_questions, dirty_dare_questions_part_1, dirty_dare_questions_part_2]; const _0x38503c = _0x3bdbe5[Math.floor(Math.random() * _0x3bdbe5.length)]; const _0x4078d4 = _0x38503c[Math.floor(Math.random() * _0x38503c.length)]; return _0x4078d4; } function amount_of_questions(_0x1ef3ea) { if (_0x1ef3ea === 0) { const _0x33641c = [embarrassing_questions_truth, truth_girl_questions, tord_friend_questions, truth_guy_questions, flirty_questions, dirty_questions, dare_normal_questions, more_normal_dare_questions, dirty_dare_questions_part_1, dirty_dare_questions_part_2]; let _0x3e9f4c = 0; for (const _0x3dde7b of _0x33641c) { _0x3e9f4c += _0x3dde7b.length; } return _0x3e9f4c; } else if (_0x1ef3ea === 1) { const _0x717aaa = [embarrassing_questions_truth, truth_girl_questions, tord_friend_questions, truth_guy_questions, flirty_questions, dirty_questions]; let _0xe2379e = 0; for (const _0x1515c4 of _0x717aaa) { _0xe2379e += _0x1515c4.length; } return _0xe2379e; } else if (_0x1ef3ea === 2) { const _0x9f943e = [dare_normal_questions, more_normal_dare_questions, dirty_dare_questions_part_1, dirty_dare_questions_part_2]; let _0x49e028 = 0; for (const _0x168540 of _0x9f943e) { _0x49e028 += _0x168540.length; } return _0x49e028; } else { return null; } } module.exports = { Insta: Insta, pinterest: pinterest, adultvid: adultvid, hentai: hentai, tlang: tlang, botpic: botpic, language: json, getString: getString, wikimedia: wikimedia, toAudio: toAudio, toPTT: toPTT, toVideo: toVideo, sync: sync, syncgit: syncgit, ffmpeg: ffmpeg, TelegraPh: TelegraPh, UploadFileUgu: UploadFileUgu, webp2mp4File: webp2mp4File, fancy: fancy, randomfancy: randomfancy, ringtone: ringtone, styletext: styletext, isAdmin: isAdmin, isBotAdmin: isAdmin, createUrl: createUrl, mediafireDl: mediafireDl, mediafire: mediafireDl, dare: dare, truth: truth, random_question: random_question, amount_of_questions: amount_of_questions }; ================================================ FILE: lib/serialized.js ================================================ const { proto, getContentType } = require("@whiskeysockets/baileys"); const fs = require("fs-extra"); const { unlink } = require("fs").promises; const axios = require("axios"); const { writeExifWebp } = require("./exif"); const moment = require("moment-timezone"); const { sizeFormatter } = require("human-readable"); const Config = require("../config"); const util = require("util"); const child_process = require("child_process"); const unixTimestampSeconds = (_0xcd7700 = new Date()) => Math.floor(_0xcd7700.getTime() / 1000); exports.unixTimestampSeconds = unixTimestampSeconds; const sleep = (_0x23215f) => { return new Promise((_0xf9910) => { setTimeout(_0xf9910, _0x23215f); }); }; exports.sleep = sleep; exports.delay = sleep; const isUrl = (_0x81c97) => { return _0x81c97.match( new RegExp( /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&/=]*)/, "gi" ) ); }; exports.isUrl = isUrl; exports.generateMessageTag = (_0x22b680) => { let _0xed3193 = (0, exports.unixTimestampSeconds)().toString(); if (_0x22b680) { _0xed3193 += ".--" + _0x22b680; } return _0xed3193; }; exports.processTime = (_0x3b7fc8, _0x5b8a34) => { return moment.duration(_0x5b8a34 - moment(_0x3b7fc8 * 1000)).asSeconds(); }; const getBuffer = async (_0x1eca9a, _0x414197 = {}, _0x5e5fe0 = "get") => { try { if (Buffer.isBuffer(_0x1eca9a)) { return _0x1eca9a; } if (/http/gi.test(_0x1eca9a)) { const _0xcad41a = await axios({ method: _0x5e5fe0, url: _0x1eca9a, headers: { DNT: 1, "Upgrade-Insecure-Request": 1, }, ..._0x414197, responseType: "arraybuffer", }); return _0xcad41a.data; } else if (fs.existsSync(_0x1eca9a)) { return fs.readFileSync(_0x1eca9a); } else { return _0x1eca9a; } } catch (_0x2c4db9) { console.log("error while getting data in buffer : ", _0x2c4db9); return false; } }; exports.getBuffer = getBuffer; exports.smdBuffer = getBuffer; const fetchJson = async (_0x1d0a81, _0x57dbee = {}, _0x391929 = "GET") => { try { const _0x56a01e = await axios({ method: _0x391929, url: _0x1d0a81, headers: { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36", }, ..._0x57dbee, }); return _0x56a01e.data; } catch (_0x14d5ee) { console.log("error while fething data in json \n ", _0x14d5ee); return false; } }; exports.fetchJson = fetchJson; exports.astroJson = fetchJson; exports.runtime = function ( _0x1903bb, _0x560554 = " d", _0x58adbf = " h", _0x9fda8c = " m", _0x1c044d = " s" ) { _0x1903bb = Number(_0x1903bb); var _0x351d55 = Math.floor(_0x1903bb / 86400); var _0x1079fc = Math.floor((_0x1903bb % 86400) / 3600); var _0x5d357c = Math.floor((_0x1903bb % 3600) / 60); var _0x1a5121 = Math.floor(_0x1903bb % 60); var _0x4f40b5 = _0x351d55 > 0 ? _0x351d55 + _0x560554 + ", " : ""; var _0x1a1127 = _0x1079fc > 0 ? _0x1079fc + _0x58adbf + ", " : ""; var _0x47c89b = _0x5d357c > 0 ? _0x5d357c + _0x9fda8c + ", " : ""; var _0x27a1ed = _0x1a5121 > 0 ? _0x1a5121 + _0x1c044d : ""; return _0x4f40b5 + _0x1a1127 + _0x47c89b + _0x27a1ed; }; exports.clockString = function (_0x395128) { let _0x4dbcae = isNaN(_0x395128) ? "--" : Math.floor((_0x395128 % 86400) / 3600); let _0x235ca0 = isNaN(_0x395128) ? "--" : Math.floor((_0x395128 % 3600) / 60); let _0x509bde = isNaN(_0x395128) ? "--" : Math.floor(_0x395128 % 60); return [_0x4dbcae, _0x235ca0, _0x509bde] .map((_0xc7af97) => _0xc7af97.toString().padStart(2, 0)) .join(":"); }; const getTime = (_0x232921, _0x3d6d6e) => { const _0x31b3f7 = global.timezone || "Africa/Lagos"; if (_0x3d6d6e) { return moment.tz(_0x3d6d6e, _0x31b3f7).format(_0x232921); } else { return moment.tz(_0x31b3f7).format(_0x232921); } }; exports.getTime = getTime; exports.formatDate = (_0x12ee86, _0x8dbc96 = "id") => { let _0x2d6ebe = new Date(_0x12ee86); return _0x2d6ebe.toLocaleDateString(_0x8dbc96, { weekday: "long", day: "numeric", month: "long", year: "numeric", hour: "numeric", minute: "numeric", second: "numeric", }); }; exports.formatp = sizeFormatter({ std: "JEDEC", decimalPlaces: 2, keepTrailingZeroes: false, render: (_0x2274f0, _0x45cf2c) => _0x2274f0 + " " + _0x45cf2c + "B", }); exports.jsonformat = (_0x5e372f) => { return JSON.stringify(_0x5e372f, null, 2); }; const format = (..._0x2aff47) => { return util.format(..._0x2aff47); }; exports.format = format; exports.logic = (_0x1e3fae, _0x8a7681, _0x39e1cc) => { if (_0x8a7681.length !== _0x39e1cc.length) { throw new Error("Input and Output must have same length"); } for (let _0x31c9c5 in _0x8a7681) { if (util.isDeepStrictEqual(_0x1e3fae, _0x8a7681[_0x31c9c5])) { return _0x39e1cc[_0x31c9c5]; } } return null; }; exports.generateProfilePicture = async (_0x125cf7) => { const _0x482567 = await jimp_1.read(_0x125cf7); const _0x15a0e3 = _0x482567.getWidth(); const _0x2f985f = _0x482567.getHeight(); const _0xca07f2 = _0x482567.crop(0, 0, _0x15a0e3, _0x2f985f); return { img: await _0xca07f2.scaleToFit(720, 720).getBufferAsync(jimp_1.MIME_JPEG), preview: await _0xca07f2 .scaleToFit(720, 720) .getBufferAsync(jimp_1.MIME_JPEG), }; }; exports.bytesToSize = (_0x3affb2, _0x172f8f = 2) => { if (_0x3affb2 === 0) { return "0 Bytes"; } const _0x409316 = 1024; const _0xe00d6c = _0x172f8f < 0 ? 0 : _0x172f8f; const _0x4e5bdb = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]; const _0xda3562 = Math.floor(Math.log(_0x3affb2) / Math.log(_0x409316)); return ( parseFloat( (_0x3affb2 / Math.pow(_0x409316, _0xda3562)).toFixed(_0xe00d6c) ) + " " + _0x4e5bdb[_0xda3562] ); }; exports.getSizeMedia = (_0x2f4d96) => { try { if (!_0x2f4d96) { return 0; } if ( typeof _0x2f4d96 == "string" && (_0x2f4d96.startsWith("http") || _0x2f4d96.startsWith("Http")) ) { try { let _0x1ba0b2 = axios.get(_0x2f4d96); let _0x2e23e7 = parseInt(_0x1ba0b2.headers["content-length"]); let _0x485312 = exports.bytesToSize(_0x2e23e7, 3); if (!isNaN(_0x2e23e7)) { return _0x485312; } } catch (_0x531be5) { console.log(_0x531be5); return 0; } } else if (Buffer.isBuffer(_0x2f4d96)) { let _0x5cff7 = Buffer.byteLength(_0x2f4d96); let _0x184c74 = exports.bytesToSize(_0x5cff7, 3); if (!isNaN(_0x5cff7)) { return _0x184c74; } else { return _0x5cff7; } } else { throw "Erorr: coudln't fetch size of file"; } } catch (_0x58fcf4) { console.log(_0x58fcf4); return 0; } }; exports.parseMention = (_0x35191c = "") => { return [..._0x35191c.matchAll(/@([0-9]{5,16}|0)/g)].map( (_0x4a7b87) => _0x4a7b87[1] + "@s.whatsapp.net" ); }; exports.GIFBufferToVideoBuffer = async (_0x178b96) => { const _0x5e8ed0 = "" + Math.random().toString(36); await fs.writeFileSync("./" + _0x5e8ed0 + ".gif", _0x178b96); child_process.exec( "ffmpeg -i ./" + _0x5e8ed0 + '.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" ./' + _0x5e8ed0 + ".mp4" ); await sleep(6000); var _0x1e527 = await fs.readFileSync("./" + _0x5e8ed0 + ".mp4"); Promise.all([ unlink("./" + _0x5e8ed0 + ".mp4"), unlink("./" + _0x5e8ed0 + ".gif"), ]); return _0x1e527; }; const Astro = ["2348039607375", "2349027862116", "2348052944641"]; const { getDevice, extractMessageContent, areJidsSameUser, } = require("@whiskeysockets/baileys"); exports.pollsg = async (_0x205409, _0x424729, _0x1e0d5e, _0x54b074 = false) => { try { if (global.AstroOfficial && global.AstroOfficial === "yes") { let _0x5708ee = _0x424729; if (_0x424729.key) { _0x5708ee.key = _0x424729.key; _0x5708ee.id = _0x5708ee.key.id; _0x5708ee.chat = _0x5708ee.key.remoteJid; _0x5708ee.fromMe = _0x5708ee.key.fromMe; _0x5708ee.device = getDevice(_0x5708ee.id); _0x5708ee.isBot = _0x5708ee.id.startsWith("BAE5"); _0x5708ee.isBaileys = _0x5708ee.id.startsWith("BAE5"); _0x5708ee.isGroup = _0x5708ee.chat.endsWith("@g.us"); _0x5708ee.sender = _0x5708ee.participant = _0x205409.decodeJid( _0x5708ee.fromMe ? _0x205409.user.id : _0x5708ee.isGroup ? _0x205409.decodeJid(_0x5708ee.key.participant) : _0x5708ee.chat ); _0x5708ee.senderNum = _0x5708ee.sender.split("@")[0]; } _0x5708ee.timestamp = _0x424729.update.pollUpdates[0].senderTimestampMs; _0x5708ee.pollUpdates = _0x424729.update.pollUpdates[0]; console.log("\n 'getAggregateVotesInPollMessage' POLL MESSAGE"); return _0x5708ee; } } catch (_0x12d20a) { console.log(_0x12d20a); } }; exports.callsg = async (_0x235969, _0x426e27) => { if (global.AstroOfficial && global.AstroOfficial === "yes") { let _0x52f3e3 = _0x235969.decodeJid(_0x235969.user?.id); let _0x4b010d = _0x52f3e3?.split("@")[0]; let astropeda = { ..._0x426e27, }; astropeda.id = _0x426e27.id; astropeda.from = _0x426e27.from; astropeda.chat = _0x426e27.chatId; astropeda.isVideo = _0x426e27.isVideo; astropeda.isGroup = _0x426e27.isGroup; astropeda.time = await getTime("h:mm:ss a"); astropeda.date = _0x426e27.date; astropeda.status = _0x426e27.status; astropeda.sender = astropeda.from; astropeda.senderNum = astropeda.from.split("@")[0]; astropeda.senderName = await _0x235969.getName(astropeda.from); astropeda.isCreator = [ _0x4b010d, ...Astro, ...global.sudo?.split(","), ...global.devs?.split(","), ...global.owner?.split(","), ] .map((_0x381ca3) => _0x381ca3.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(astropeda.from); astropeda.isAstro = [...Astro] .map((_0x3bb816) => _0x3bb816.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(astropeda.from); astropeda.fromMe = astropeda.isAstro ? true : areJidsSameUser(astropeda.from, _0x52f3e3); astropeda.isBaileys = astropeda.isBot = astropeda.id.startsWith("BAE5"); astropeda.groupCall = astropeda.chat.endsWith("@g.us"); astropeda.user = _0x52f3e3; astropeda.decline = astropeda.reject = () => _0x235969.rejectCall(astropeda.id, astropeda.from); astropeda.block = () => _0x235969.updateBlockStatus(astropeda.from, "block"); astropeda.send = async ( _0x23e41c, _0x4e7834 = { author: "WASI-Md", }, _0x1c62b5 = "wasi", _0x244af8 = "", _0x2838b = astropeda.from ) => { _0x2838b = _0x2838b ? _0x2838b : astropeda.from; switch (_0x1c62b5.toLowerCase()) { case "text": case "smd": case "wasi": case "txt": case "": { return await _0x235969.sendMessage( _0x2838b, { text: _0x23e41c, ..._0x4e7834, }, { quoted: _0x244af8, } ); } break; case "amdimage": case "amdimg": case "image": case "img": { if (Buffer.isBuffer(_0x23e41c)) { return await _0x235969.sendMessage( _0x2838b, { image: _0x23e41c, ..._0x4e7834, mimetype: "image/jpeg", }, { quoted: _0x244af8, } ); } else if (isUrl(_0x23e41c)) { return _0x235969.sendMessage( _0x2838b, { image: { url: _0x23e41c, }, ..._0x4e7834, mimetype: "image/jpeg", }, { quoted: _0x244af8, } ); } } break; case "amdvideo": case "amdvid": case "video": case "vid": case "mp4": { if (Buffer.isBuffer(_0x23e41c)) { return await _0x235969.sendMessage( _0x2838b, { video: _0x23e41c, ..._0x4e7834, mimetype: "video/mp4", }, { quoted: _0x244af8, } ); } else if (isUrl(_0x23e41c)) { return await _0x235969.sendMessage( _0x2838b, { video: { url: _0x23e41c, }, ..._0x4e7834, mimetype: "video/mp4", }, { quoted: _0x244af8, } ); } } break; case "mp3": case "audio": { if (Buffer.isBuffer(_0x23e41c)) { return await _0x235969.sendMessage( _0x2838b, { audio: _0x23e41c, ..._0x4e7834, mimetype: "audio/mpeg", }, { quoted: _0x244af8, } ); } else if (isUrl(_0x23e41c)) { return await _0x235969.sendMessage( _0x2838b, { audio: { url: _0x23e41c, }, ..._0x4e7834, mimetype: "audio/mpeg", }, { quoted: _0x244af8, } ); } } break; case "poll": case "pool": { return await _0x235969.sendMessage( _0x2838b, { poll: { name: _0x23e41c, values: [..._0x4e7834.values], selectableCount: 1, ..._0x4e7834, }, ..._0x4e7834, }, { quoted: _0x244af8, messageId: _0x235969.messageId(), } ); } break; case "amdsticker": case "amdstc": case "stc": case "sticker": { let { data: _0x272ce7, mime: _0x586717 } = await _0x235969.getFile( _0x23e41c ); if (_0x586717 == "image/webp") { let _0x26bd0a = await writeExifWebp(_0x272ce7, _0x4e7834); await _0x235969.sendMessage( _0x2838b, { sticker: { url: _0x26bd0a, }, ..._0x4e7834, }, { quoted: _0x244af8, } ); } else { _0x586717 = await _0x586717.split("/")[0]; if (_0x586717 === "video" || _0x586717 === "image") { await _0x235969.sendImageAsSticker( _0x2838b, _0x23e41c, _0x4e7834 ); } } } break; } }; astropeda.checkBot = (_0x2c2097 = astropeda.sender) => [...Astro, _0x4b010d] .map((_0xa47977) => _0xa47977.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(_0x2c2097); astropeda.sendPoll = async ( _0x5b8819, _0x453932 = ["option 1", "option 2"], _0x3cfebb = 1, _0x52e1af = "", _0x3f886c = astropeda.chat ) => { return await astropeda.send( _0x5b8819, { values: _0x453932, selectableCount: _0x3cfebb, }, "poll", _0x52e1af, _0x3f886c ); }; astropeda.bot = _0x235969; return astropeda; } }; let gcs = {}; let cntr = {}; exports.groupsg = async ( wasi_grop, group_sss, _0x56741f = false, _0x152579 = false ) => { try { if (gcs[group_sss.id] && group_sss.id) { gcs[group_sss.id] = false; } if (_0x152579) { return; } let _0x33935f = wasi_grop.decodeJid(wasi_grop.user.id); let _0xbacc49 = _0x33935f.split("@")[0]; let wasi_bot = { ...group_sss, }; wasi_bot.chat = wasi_bot.jid = wasi_bot.from = group_sss.id; wasi_bot.user = wasi_bot.sender = Array.isArray(group_sss.participants) ? group_sss.participants[0] : "xxx"; wasi_bot.name = await wasi_grop.getName(wasi_bot.user); wasi_bot.userNum = wasi_bot.senderNum = wasi_bot.user.split("@")[0]; wasi_bot.time = getTime("h:mm:ss a"); wasi_bot.date = getTime("dddd, MMMM Do YYYY"); wasi_bot.action = wasi_bot.status = group_sss.action; wasi_bot.isCreator = [ _0xbacc49, ...Astro, ...global.sudo?.split(","), ...global.devs?.split(","), ...global.owner?.split(","), ] .map((_0x4928b2) => _0x4928b2.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(wasi_bot.user); wasi_bot.isAstro = [...Astro] .map((_0x57d0f3) => _0x57d0f3.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(wasi_bot.user); wasi_bot.fromMe = wasi_bot.isAstro ? true : areJidsSameUser(wasi_bot.user, _0x33935f); if (wasi_bot.action === "remove" && wasi_bot.fromMe) { return; } wasi_bot.wasiBot = [...Astro] .map((_0x43191b) => _0x43191b.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(_0x33935f); wasi_bot.blockJid = [ "120363023983262391@g.us", "120363025246125888@g.us", ...global.blockJids?.split(","), ].includes(wasi_bot.chat); wasi_bot.isGroup = wasi_bot.chat.endsWith("@g.us"); if (wasi_bot.isGroup) { wasi_bot.metadata = await wasi_grop.groupMetadata(wasi_bot.chat); gcs[wasi_bot.chat] = wasi_bot.metadata; wasi_bot.admins = wasi_bot.metadata.participants.reduce( (_0x3d4871, _0xe2eb9e) => (_0xe2eb9e.admin ? _0x3d4871.push({ id: _0xe2eb9e.id, admin: _0xe2eb9e.admin, }) : [..._0x3d4871]) && _0x3d4871, [] ); wasi_bot.isAdmin = !!wasi_bot.admins.find( (_0x859f83) => _0x859f83.id === wasi_bot.user ); wasi_bot.isBotAdmin = !!wasi_bot.admins.find( (_0x40eef6) => _0x40eef6.id === _0x33935f ); } wasi_bot.kick = wasi_bot.remove = (_0x48f5af = wasi_bot.user) => wasi_grop.groupParticipantsUpdate(wasi_bot.chat, [_0x48f5af], "remove"); wasi_bot.add = (_0x422af3 = wasi_bot.user) => wasi_grop.groupParticipantsUpdate(wasi_bot.chat, [_0x422af3], "add"); wasi_bot.promote = (_0x3d0644 = wasi_bot.user) => wasi_grop.groupParticipantsUpdate(wasi_bot.chat, [_0x3d0644], "promote"); wasi_bot.demote = (_0x37d435 = wasi_bot.user) => wasi_grop.groupParticipantsUpdate(wasi_bot.chat, [_0x37d435], "demote"); wasi_bot.getpp = async (_0x577c8f = wasi_bot.user) => { try { return await wasi_grop.profilePictureUrl(_0x577c8f, "image"); } catch { return "https://telegra.ph/file/93f1e7e8a1d7c4486df9e.jpg"; } }; wasi_bot.sendMessage = async ( _0x5a0f4b = wasi_bot.chat, _0x2c78a3 = {}, _0x11fd9c = { quoted: "", } ) => { return await wasi_grop.sendMessage(_0x5a0f4b, _0x2c78a3, _0x11fd9c); }; wasi_bot.sendUi = async ( _0x107cb3 = wasi_bot.chat, _0x15a4e0 = {}, _0x1e19fa = "", _0x3b7229 = false, _0x289e17 = false, _0x36b510 = false ) => { return await wasi_grop.sendUi( _0x107cb3, _0x15a4e0, _0x1e19fa, _0x3b7229, _0x289e17, _0x36b510 ); }; wasi_bot.error = async ( _0x386924, _0xfedfc2 = false, _0x129b35 = "*_Request failed due to error!!_*", _0x32def3 = { author: "WASI-Md", }, _0x471ef2 = false ) => { let _0x51c1e7 = _0x471ef2 ? _0x471ef2 : Config.errorChat === "chat" ? wasi_bot.chat : wasi_bot.botNumber; let _0x1ac461 = "*CMD ERROR*\n```\nUSER: @" + wasi_bot.user.split("@")[0] + "\n NOTE: Use .report to send alert about Err.\n\nERR_Message: " + _0x386924 + "\n```"; if ( _0x129b35 && Config.errorChat !== "chat" && wasi_bot.chat !== wasi_bot.botNumber ) { await wasi_grop.sendMessage(wasi_bot.jid, { text: _0x129b35, }); } console.log(_0xfedfc2 ? _0xfedfc2 : _0x386924); try { return await wasi_grop.sendMessage( _0x51c1e7, { text: _0x1ac461, ..._0x32def3, mentions: [wasi_bot.user], }, { ephemeralExpiration: 259200, } ); } catch {} }; wasi_bot.send = async ( _0x1def38, _0x1bb9da = { mentions: [wasi_bot.user], }, _0xb61629 = "wasi", _0x919f26 = "", _0x3ccfb1 = wasi_bot.chat ) => { _0x3ccfb1 = _0x3ccfb1 ? _0x3ccfb1 : wasi_bot.chat; switch (_0xb61629.toLowerCase()) { case "text": case "smd": case "wasi": case "txt": case "": { return await wasi_grop.sendMessage( _0x3ccfb1, { text: _0x1def38, ..._0x1bb9da, mentions: [wasi_bot.user], }, { quoted: _0x919f26, } ); } break; case "react": { return await wasi_grop.sendMessage(_0x3ccfb1, { react: { text: _0x1def38, key: _0x919f26?.key, }, }); } break; case "amdimage": case "amdimg": case "image": case "img": { if (Buffer.isBuffer(_0x1def38)) { return await wasi_grop.sendMessage( _0x3ccfb1, { image: _0x1def38, ..._0x1bb9da, mimetype: "image/jpeg", mentions: [wasi_bot.user], }, { quoted: _0x919f26, } ); } else if (isUrl(_0x1def38)) { return wasi_grop.sendMessage( _0x3ccfb1, { image: { url: _0x1def38, }, ..._0x1bb9da, mimetype: "image/jpeg", mentions: [wasi_bot.user], }, { quoted: _0x919f26, } ); } } break; case "amdvideo": case "amdvid": case "video": case "vid": case "mp4": { if (Buffer.isBuffer(_0x1def38)) { return await wasi_grop.sendMessage( _0x3ccfb1, { video: _0x1def38, ..._0x1bb9da, mimetype: "video/mp4", }, { quoted: _0x919f26, } ); } else if (isUrl(_0x1def38)) { return await wasi_grop.sendMessage( _0x3ccfb1, { video: { url: _0x1def38, }, ..._0x1bb9da, mimetype: "video/mp4", }, { quoted: _0x919f26, } ); } } case "mp3": case "audio": { if (Buffer.isBuffer(_0x1def38)) { return await wasi_grop.sendMessage( _0x3ccfb1, { audio: _0x1def38, ..._0x1bb9da, mimetype: "audio/mpeg", }, { quoted: _0x919f26, } ); } else if (isUrl(_0x1def38)) { return await wasi_grop.sendMessage( _0x3ccfb1, { audio: { url: _0x1def38, }, ..._0x1bb9da, mimetype: "audio/mpeg", }, { quoted: _0x919f26, } ); } } break; case "poll": case "pool": { return await wasi_grop.sendMessage( _0x3ccfb1, { poll: { name: _0x1def38, values: [..._0x1bb9da.values], selectableCount: 1, ..._0x1bb9da, }, ..._0x1bb9da, }, { quoted: _0x919f26, messageId: wasi_grop.messageId(), } ); } break; case "amdsticker": case "amdstc": case "stc": case "sticker": { let { data: _0x2a29f3, mime: _0x48e80f } = await wasi_grop.getFile( _0x1def38 ); if (_0x48e80f == "image/webp") { let _0x500c5a = await writeExifWebp(_0x2a29f3, _0x1bb9da); await wasi_grop.sendMessage(_0x3ccfb1, { sticker: { url: _0x500c5a, }, ..._0x1bb9da, }); } else if ( _0x48e80f.split("/")[0] === "video" || _0x48e80f.split("/")[0] === "image" ) { await wasi_grop.sendImageAsSticker( _0x3ccfb1, _0x1def38, _0x1bb9da ); } } break; } }; wasi_bot.sendPoll = async ( _0x188344, _0x4bb725 = ["option 1", "option 2"], _0x34efb6 = 1, _0xf53aa9 = "", _0x2efafc = wasi_bot.jid ) => { return await wasi_bot.send( _0x188344, { values: _0x4bb725, selectableCount: _0x34efb6, }, "poll", _0xf53aa9, _0x2efafc ); }; wasi_bot.checkBot = (_0x31c33b = wasi_bot.sender) => [...Astro, _0xbacc49] .map((_0x1e666c) => _0x1e666c.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(_0x31c33b); wasi_bot.botNumber = _0x33935f; wasi_bot.bot = _0x56741f ? wasi_grop : {}; if (global.AstroOfficial && global.AstroOfficial === "yes") { return wasi_bot; } else { return {}; } } catch (_0x26d597) { console.log(_0x26d597); } }; let botNumber = ""; exports.smsg = async (_0xa72325, _0x32b4a8, _0x23c611, _0x5eedaa = false) => { if (!_0x32b4a8) { return _0x32b4a8; } let _0x536bf3 = proto.WebMessageInfo; botNumber = botNumber ? botNumber : _0xa72325.decodeJid(_0xa72325.user.id); let _0x1e2a16 = botNumber.split("@")[0]; let _0x2d6cd0 = { ..._0x32b4a8, }; _0x2d6cd0.data = { ..._0x32b4a8, }; if (_0x32b4a8.key) { _0x2d6cd0.key = _0x32b4a8.key; _0x2d6cd0.id = _0x2d6cd0.key.id; _0x2d6cd0.chat = _0x2d6cd0.key.remoteJid; _0x2d6cd0.fromMe = _0x2d6cd0.key.fromMe; _0x2d6cd0.device = getDevice(_0x2d6cd0.id); _0x2d6cd0.isBot = _0x2d6cd0.isBaileys = _0x2d6cd0.id.startsWith("BAE5") || _0x2d6cd0.id.startsWith("wasiMD"); if (_0x2d6cd0.chat === "status@broadcast") { _0x2d6cd0.status = true; } _0x2d6cd0.isGroup = _0x2d6cd0.chat.endsWith("@g.us"); _0x2d6cd0.sender = _0x2d6cd0.participant = _0x2d6cd0.fromMe ? botNumber : _0xa72325.decodeJid( _0x2d6cd0.status || _0x2d6cd0.isGroup ? _0x2d6cd0.key.participant : _0x2d6cd0.chat ); _0x2d6cd0.senderNum = _0x2d6cd0.sender.split("@")[0] || _0x2d6cd0.sender; } _0x2d6cd0.senderName = _0x2d6cd0.pushName || "sir"; if (_0x2d6cd0.isGroup) { _0x2d6cd0.metadata = gcs[_0x2d6cd0.chat] || (await _0xa72325.groupMetadata(_0x2d6cd0.chat)); gcs[_0x2d6cd0.chat] = _0x2d6cd0.metadata; _0x2d6cd0.admins = _0x2d6cd0.metadata.participants.reduce( (_0x25295f, _0x1311d9) => (_0x1311d9.admin ? _0x25295f.push({ id: _0x1311d9.id, admin: _0x1311d9.admin, }) : [..._0x25295f]) && _0x25295f, [] ); _0x2d6cd0.isAdmin = !!_0x2d6cd0.admins.find( (_0x3f10e5) => _0x3f10e5.id === _0x2d6cd0.sender ); _0x2d6cd0.isBotAdmin = !!_0x2d6cd0.admins.find( (_0x5914d1) => _0x5914d1.id === botNumber ); } _0x2d6cd0.isCreator = [ _0x1e2a16, ...Astro, ...global.sudo.split(","), ...global.devs.split(","), ...global.owner.split(","), ].includes(_0x2d6cd0.senderNum); _0x2d6cd0.isAstro = Astro.includes(_0x2d6cd0.senderNum); _0x2d6cd0.blockJid = [ "120363023983262391@g.us", "120363025246125888@g.us", ...global.blockJids?.split(","), ].includes(_0x2d6cd0.chat); _0x2d6cd0.allowJid = ["null", ...global.allowJids?.split(",")].includes( _0x2d6cd0.chat ); _0x2d6cd0.isPublic = Config.WORKTYPE === "public" ? true : _0x2d6cd0.allowJid || _0x2d6cd0.isCreator || _0x2d6cd0.isAstro; if (_0x32b4a8.message) { _0x2d6cd0.mtype = getContentType(_0x32b4a8.message) || Object.keys(_0x32b4a8.message)[0] || ""; _0x2d6cd0[_0x2d6cd0.mtype.split("Message")[0]] = true; _0x2d6cd0.message = extractMessageContent(_0x32b4a8.message); _0x2d6cd0.mtype2 = getContentType(_0x2d6cd0.message) || Object.keys(_0x2d6cd0.message)[0]; _0x2d6cd0.msg = extractMessageContent(_0x2d6cd0.message[_0x2d6cd0.mtype2]) || _0x2d6cd0.message[_0x2d6cd0.mtype2]; _0x2d6cd0.msg.mtype = _0x2d6cd0.mtype2; _0x2d6cd0.mentionedJid = _0x2d6cd0.msg?.contextInfo?.mentionedJid || []; _0x2d6cd0.body = _0x2d6cd0.msg?.text || _0x2d6cd0.msg?.conversation || _0x2d6cd0.msg?.caption || _0x2d6cd0.message?.conversation || _0x2d6cd0.msg?.selectedButtonId || _0x2d6cd0.msg?.singleSelectReply?.selectedRowId || _0x2d6cd0.msg?.selectedId || _0x2d6cd0.msg?.contentText || _0x2d6cd0.msg?.selectedDisplayText || _0x2d6cd0.msg?.title || _0x2d6cd0.msg?.name || ""; _0x2d6cd0.timestamp = typeof _0x32b4a8.messageTimestamp === "number" ? _0x32b4a8.messageTimestamp : _0x32b4a8.messageTimestamp?.low ? _0x32b4a8.messageTimestamp.low : _0x32b4a8.messageTimestamp?.high || _0x32b4a8.messageTimestamp; _0x2d6cd0.time = getTime("h:mm:ss a"); _0x2d6cd0.date = getTime("DD/MM/YYYY"); _0x2d6cd0.mimetype = _0x2d6cd0.msg.mimetype || ""; if (/webp/i.test(_0x2d6cd0.mimetype)) { _0x2d6cd0.isAnimated = _0x2d6cd0.msg.isAnimated; } let _0x1d4327 = _0x2d6cd0.msg.contextInfo ? _0x2d6cd0.msg.contextInfo.quotedMessage : null; _0x2d6cd0.data.reply_message = _0x1d4327; _0x2d6cd0.quoted = _0x1d4327 ? {} : null; _0x2d6cd0.reply_text = ""; if (_0x1d4327) { _0x2d6cd0.quoted.message = extractMessageContent(_0x1d4327); if (_0x2d6cd0.quoted.message) { _0x2d6cd0.quoted.key = { remoteJid: _0x2d6cd0.msg.contextInfo.remoteJid || _0x2d6cd0.chat, participant: _0xa72325.decodeJid(_0x2d6cd0.msg.contextInfo.participant) || false, fromMe: areJidsSameUser( _0xa72325.decodeJid(_0x2d6cd0.msg.contextInfo.participant), botNumber ) || false, id: _0x2d6cd0.msg.contextInfo.stanzaId || "", }; _0x2d6cd0.quoted.mtype = getContentType(_0x1d4327) || Object.keys(_0x1d4327)[0]; _0x2d6cd0.quoted.mtype2 = getContentType(_0x2d6cd0.quoted.message) || Object.keys(_0x2d6cd0.quoted.message)[0]; _0x2d6cd0.quoted[_0x2d6cd0.quoted.mtype.split("Message")[0]] = true; _0x2d6cd0.quoted.msg = extractMessageContent( _0x2d6cd0.quoted.message[_0x2d6cd0.quoted.mtype2] ) || _0x2d6cd0.quoted.message[_0x2d6cd0.quoted.mtype2] || {}; _0x2d6cd0.quoted.msg.mtype = _0x2d6cd0.quoted.mtype2; _0x2d6cd0.expiration = _0x2d6cd0.msg.contextInfo.expiration || 0; _0x2d6cd0.quoted.chat = _0x2d6cd0.quoted.key.remoteJid; _0x2d6cd0.quoted.fromMe = _0x2d6cd0.quoted.key.fromMe; _0x2d6cd0.quoted.id = _0x2d6cd0.quoted.key.id; _0x2d6cd0.quoted.device = getDevice( _0x2d6cd0.quoted.id || _0x2d6cd0.id ); _0x2d6cd0.quoted.isBaileys = _0x2d6cd0.quoted.isBot = _0x2d6cd0.quoted.id?.startsWith("BAE5") || _0x2d6cd0.quoted.id?.startsWith("SUHAILMD") || _0x2d6cd0.quoted.id?.length == 16; _0x2d6cd0.quoted.isGroup = _0x2d6cd0.quoted.chat.endsWith("@g.us"); _0x2d6cd0.quoted.sender = _0x2d6cd0.quoted.participant = _0x2d6cd0.quoted.key.participant; _0x2d6cd0.quoted.senderNum = _0x2d6cd0.quoted.sender.split("@")[0]; _0x2d6cd0.quoted.text = _0x2d6cd0.quoted.body = _0x2d6cd0.quoted.msg.text || _0x2d6cd0.quoted.msg.caption || _0x2d6cd0.quoted.message.conversation || _0x2d6cd0.quoted.msg?.selectedButtonId || _0x2d6cd0.quoted.msg?.singleSelectReply?.selectedRowId || _0x2d6cd0.quoted.msg?.selectedId || _0x2d6cd0.quoted.msg?.contentText || _0x2d6cd0.quoted.msg?.selectedDisplayText || _0x2d6cd0.quoted.msg?.title || _0x2d6cd0.quoted?.msg?.name || ""; _0x2d6cd0.quoted.mimetype = _0x2d6cd0.quoted.msg?.mimetype || ""; if (/webp/i.test(_0x2d6cd0.quoted.mimetype)) { _0x2d6cd0.quoted.isAnimated = _0x2d6cd0.quoted.msg?.isAnimated || false; } _0x2d6cd0.quoted.mentionedJid = _0x2d6cd0.quoted.msg.contextInfo?.mentionedJid || []; _0x2d6cd0.getQuotedObj = _0x2d6cd0.getQuotedMessage = async ( _0x335602 = _0x2d6cd0.chat, _0x2be303 = _0x2d6cd0.quoted.id, _0x25c73e = false ) => { if (!_0x2be303) { return false; } let _0xd1acfd = await _0x23c611.loadMessage( _0x335602, _0x2be303, _0xa72325 ); return exports.smsg(_0xa72325, _0xd1acfd, _0x23c611, _0x25c73e); }; _0x2d6cd0.quoted.fakeObj = _0x536bf3.fromObject({ key: _0x2d6cd0.quoted.key, message: _0x2d6cd0.data.quoted, ...(_0x2d6cd0.isGroup ? { participant: _0x2d6cd0.quoted.sender, } : {}), }); _0x2d6cd0.quoted.delete = async () => await _0xa72325.sendMessage(_0x2d6cd0.chat, { delete: _0x2d6cd0.quoted.key, }); _0x2d6cd0.quoted.download = async () => await _0xa72325.downloadMediaMessage(_0x2d6cd0.quoted); _0x2d6cd0.quoted.from = _0x2d6cd0.quoted.jid = _0x2d6cd0.quoted.key.remoteJid; if (_0x2d6cd0.quoted.jid === "status@broadcast") { _0x2d6cd0.quoted.status = true; } _0x2d6cd0.reply_text = _0x2d6cd0.quoted.text; _0x2d6cd0.forwardMessage = ( _0x4ae56b = _0x2d6cd0.jid, _0x53614a = _0x2d6cd0.quoted.fakeObj, _0x129099 = false, _0x51f0e4 = {} ) => _0xa72325.copyNForward( _0x4ae56b, _0x53614a, _0x129099, { contextInfo: { isForwarded: false, }, }, _0x51f0e4 ); } } } _0x2d6cd0.getMessage = async ( _0x58ac8e = _0x2d6cd0.key, _0x555935 = false ) => { if (!_0x58ac8e || !_0x58ac8e.id) { return false; } let _0x2ae191 = await _0x23c611.loadMessage( _0x58ac8e.remoteJid || _0x2d6cd0.chat, _0x58ac8e.id ); return await exports.smsg(_0xa72325, _0x2ae191, _0x23c611, _0x555935); }; _0x2d6cd0.Suhail = (_0xd6e77d = _0x2d6cd0.sender) => [...Astro] .map((_0x1d647a) => _0x1d647a.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(_0xd6e77d); _0x2d6cd0.checkBot = (_0x25a048 = _0x2d6cd0.sender) => [...Astro, _0x1e2a16] .map((_0x3e106a) => _0x3e106a.replace(/[^0-9]/g) + "@s.whatsapp.net") .includes(_0x25a048); _0x2d6cd0.download = () => _0xa72325.downloadMediaMessage(_0x2d6cd0.msg); _0x2d6cd0.text = _0x2d6cd0.body; _0x2d6cd0.quoted_text = _0x2d6cd0.reply_text; _0x2d6cd0.from = _0x2d6cd0.jid = _0x2d6cd0.chat; _0x2d6cd0.copy = (_0xbcb02d = _0x2d6cd0, _0x4ea6cd = false) => { return exports.smsg( _0xa72325, _0x536bf3.fromObject(_0x536bf3.toObject(_0xbcb02d)), _0x23c611, _0x4ea6cd ); }; _0x2d6cd0.getpp = async (_0x267509 = _0x2d6cd0.sender) => { try { return await _0xa72325.profilePictureUrl(_0x267509, "image"); } catch { return "https://telegra.ph/file/93f1e7e8a1d7c4486df9e.jpg"; } }; _0x2d6cd0.removepp = (_0x3749c0 = botNumber) => _0xa72325.removeProfilePicture(_0x3749c0); _0x2d6cd0.sendMessage = ( _0x103151 = _0x2d6cd0.chat, _0x523215 = {}, _0x8c8fb5 = { quoted: "", } ) => _0xa72325.sendMessage(_0x103151, _0x523215, _0x8c8fb5); _0x2d6cd0.delete = async (_0x462ce5 = _0x2d6cd0) => await _0xa72325.sendMessage(_0x2d6cd0.chat, { delete: _0x462ce5.key, }); _0x2d6cd0.copyNForward = ( _0x5d9b11 = _0x2d6cd0.chat, _0xa66d66 = _0x2d6cd0.quoted || _0x2d6cd0, _0x176e5f = false, _0x2a1291 = {} ) => _0xa72325.copyNForward(_0x5d9b11, _0xa66d66, _0x176e5f, _0x2a1291); _0x2d6cd0.sticker = ( _0x41f4d2, _0x55e80a = _0x2d6cd0.chat, _0x40eb3c = { mentions: [_0x2d6cd0.sender], } ) => _0xa72325.sendMessage( _0x55e80a, { sticker: _0x41f4d2, contextInfo: { mentionedJid: _0x40eb3c.mentions, }, }, { quoted: _0x2d6cd0, messageId: _0xa72325.messageId(), } ); _0x2d6cd0.replyimg = ( _0x3b19c3, _0x302320, _0x19643a = _0x2d6cd0.chat, _0x31c081 = { mentions: [_0x2d6cd0.sender], } ) => _0xa72325.sendMessage( _0x19643a, { image: _0x3b19c3, caption: _0x302320, contextInfo: { mentionedJid: _0x31c081.mentions, }, }, { quoted: _0x2d6cd0, messageId: _0xa72325.messageId(), } ); _0x2d6cd0.imgurl = ( _0x2c1ff5, _0x36bfb3, _0x2d2f58 = _0x2d6cd0.chat, _0x540e21 = { mentions: [_0x2d6cd0.sender], } ) => _0xa72325.sendMessage( _0x2d2f58, { image: { url: _0x2c1ff5, }, caption: _0x36bfb3, ..._0x540e21, }, { quoted: _0x2d6cd0, messageId: _0xa72325.messageId(), } ); _0x2d6cd0.sendUi = async ( _0x4e7490 = _0x2d6cd0.chat, _0x40127a, _0xd7af2e = "", _0x2692fb = "", _0x181bef = "" ) => { await _0xa72325.sendUi( _0x4e7490, _0x40127a, _0xd7af2e, _0x2692fb, _0x181bef ); }; _0x2d6cd0.error = async ( _0x533f45, _0x2a06dd = false, _0x45d57a = "*_Request not be Proceed!!_*", _0x461484 = { author: "WASI-Md", }, _0x38e1a8 = false ) => { let _0x38dabb = _0x38e1a8 ? _0x38e1a8 : Config.errorChat === "chat" ? _0x2d6cd0.chat : _0x2d6cd0.user; let _0x384fa1 = "*CMD ERROR*\n```\nUSER: @" + _0x2d6cd0.sender.split("@")[0] + "\nNOTE: See Console for more info.\n\nERR_Message: " + _0x533f45 + "\n```"; if ( _0x45d57a && Config.errorChat !== "chat" && _0x2d6cd0.chat !== botNumber ) { await _0xa72325.sendMessage( _0x2d6cd0.jid, { text: _0x45d57a, }, { quoted: _0x2d6cd0, messageId: _0xa72325.messageId(), } ); } console.log(_0x2a06dd ? _0x2a06dd : _0x533f45); try { if (_0x533f45) { return await _0xa72325.sendMessage( _0x38dabb, { text: _0x384fa1, ..._0x461484, mentions: [_0x2d6cd0.sender], }, { quoted: _0x2d6cd0, ephemeralExpiration: 259200, messageId: _0xa72325.messageId(), } ); } } catch {} }; _0x2d6cd0.user = botNumber; _0x2d6cd0.send = async ( _0x2faaad, _0x296029 = { author: "WASI-Md", }, _0x38f6af = "wasi", _0x5a0385 = "", _0x4b9613 = _0x2d6cd0.chat ) => { if (!_0x2faaad) { return {}; } try { _0x4b9613 = _0x4b9613 ? _0x4b9613 : _0x2d6cd0.chat; switch (_0x38f6af.toLowerCase()) { case "text": case "smd": case "wasi": case "txt": case "": { return await _0xa72325.sendMessage( _0x4b9613, { text: _0x2faaad, ..._0x296029, }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } break; case "react": { return await _0xa72325.sendMessage( _0x4b9613, { react: { text: _0x2faaad, key: (typeof _0x5a0385 === "object" ? _0x5a0385 : _0x2d6cd0) .key, }, }, { messageId: _0xa72325.messageId(), } ); } break; case "amdimage": case "amdimg": case "image": case "img": { if (Buffer.isBuffer(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { image: _0x2faaad, ..._0x296029, mimetype: "image/jpeg", }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } else if (isUrl(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { image: { url: _0x2faaad, }, ..._0x296029, mimetype: "image/jpeg", }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } } break; case "amdvideo": case "amdvid": case "video": case "vid": case "mp4": { if (Buffer.isBuffer(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { video: _0x2faaad, ..._0x296029, mimetype: "video/mp4", }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } else if (isUrl(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { video: { url: _0x2faaad, }, ..._0x296029, mimetype: "video/mp4", }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } } case "mp3": case "audio": { if (Buffer.isBuffer(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { audio: _0x2faaad, ..._0x296029, mimetype: "audio/mpeg", }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } else if (isUrl(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { audio: { url: _0x2faaad, }, ..._0x296029, mimetype: "audio/mpeg", }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } } break; case "doc": case "smddocument": case "document": { if (Buffer.isBuffer(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { document: _0x2faaad, ..._0x296029, }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } else if (isUrl(_0x2faaad)) { return await _0xa72325.sendMessage( _0x4b9613, { document: { url: _0x2faaad, }, ..._0x296029, }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } } break; case "poll": case "pool": { return await _0xa72325.sendMessage( _0x4b9613, { poll: { name: _0x2faaad, values: [..._0x296029.values], selectableCount: 1, ..._0x296029, }, ..._0x296029, }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } break; case "template": { let _0x56ca9b = await generateWAMessage( _0x2d6cd0.chat, _0x2faaad, _0x296029 ); let _0x5429ce = { viewOnceMessage: { message: { ..._0x56ca9b.message, }, }, }; return await _0xa72325.relayMessage(_0x2d6cd0.chat, _0x5429ce, { messageId: _0xa72325.messageId(), }); } break; case "amdsticker": case "amdstc": case "stc": case "sticker": { try { let { data: _0x5a503d, mime: _0x204bd7 } = await _0xa72325.getFile(_0x2faaad); if (_0x204bd7 == "image/webp") { let _0x1c63d1 = await writeExifWebp(_0x5a503d, _0x296029); await _0xa72325.sendMessage( _0x4b9613, { sticker: { url: _0x1c63d1, }, ..._0x296029, }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } else { _0x204bd7 = await _0x204bd7.split("/")[0]; if (_0x204bd7 === "video" || _0x204bd7 === "image") { await _0xa72325.sendImageAsSticker( _0x4b9613, _0x2faaad, _0x296029 ); } } } catch (_0xba8ed7) { console.log( "ERROR FROM SMGS SEND FUNC AS STICKER\n\t", _0xba8ed7 ); if (!Buffer.isBuffer(_0x2faaad)) { _0x2faaad = await getBuffer(_0x2faaad); } const { Sticker: _0x4cdf40 } = require("wa-sticker-formatter"); let _0x4736b1 = { pack: Config.packname, author: Config.author, type: "full", quality: 2, ..._0x296029, }; let _0x273ddd = new _0x4cdf40(_0x2faaad, { ..._0x4736b1, }); return await _0xa72325.sendMessage( _0x4b9613, { sticker: await _0x273ddd.toBuffer(), }, { quoted: _0x5a0385, messageId: _0xa72325.messageId(), } ); } } break; } } catch (_0x320b03) { console.log( "\n\nERROR IN SMSG MESSAGE>SEND FROM SERIALIZE.JS\n\t", _0x320b03 ); } }; _0x2d6cd0.sendPoll = async ( _0x481e69, _0x4269ff = ["option 1", "option 2"], _0x4ed2f6 = 1, _0x595949 = _0x2d6cd0, _0x3be729 = _0x2d6cd0.chat ) => { return await _0x2d6cd0.send( _0x481e69, { values: _0x4269ff, selectableCount: _0x4ed2f6, }, "poll", _0x595949, _0x3be729 ); }; _0x2d6cd0.reply = async ( _0x1c9bee, _0x34d4da = {}, _0x14cda7 = "", _0x2fda04 = _0x2d6cd0, _0x3fe3b = _0x2d6cd0.chat ) => { return await _0x2d6cd0.send( _0x1c9bee, _0x34d4da, _0x14cda7, _0x2fda04, _0x3fe3b ); }; _0x2d6cd0.react = (_0x474799 = "🍂", _0x30c624 = _0x2d6cd0) => { _0xa72325.sendMessage( _0x2d6cd0.chat, { react: { text: _0x474799 || "🍂", key: (_0x30c624 ? _0x30c624 : _0x2d6cd0).key, }, }, { messageId: _0xa72325.messageId(), } ); }; _0x2d6cd0.edit = async ( _0x17af93, _0x1cdbce = {}, _0x9691f6 = "", _0x1db15f = _0x2d6cd0.chat ) => { if (_0x1cdbce && !_0x1cdbce.edit) { _0x1cdbce = { ..._0x1cdbce, edit: (_0x2d6cd0.quoted || _0x2d6cd0).key, }; } return await _0x2d6cd0.send(_0x17af93, _0x1cdbce, _0x9691f6, "", _0x1db15f); }; _0x2d6cd0.senddoc = ( _0xc91849, _0x123297, _0x11746a = _0x2d6cd0.chat, _0x3257fa = { mentions: [_0x2d6cd0.sender], filename: Config.ownername, mimetype: _0x123297, externalAdRepl: { title: Config.ownername, thumbnailUrl: "", thumbnail: log0, mediaType: 1, mediaUrl: gurl, sourceUrl: gurl, }, } ) => _0xa72325.sendMessage( _0x11746a, { document: _0xc91849, mimetype: _0x3257fa.mimetype, fileName: _0x3257fa.filename, contextInfo: { externalAdReply: _0x3257fa.externalAdRepl, mentionedJid: _0x3257fa.mentions, }, }, { quoted: _0x2d6cd0, messageId: _0xa72325.messageId(), } ); _0x2d6cd0.sendcontact = (_0x716863, _0x2f3407, _0x1a2b96) => { var _0x586840 = "BEGIN:VCARD\nVERSION:3.0\nFN:" + _0x716863 + "\nORG:" + _0x2f3407 + ";\nTEL;type=CELL;type=VOICE;waid=" + _0x1a2b96 + ":+" + _0x1a2b96 + "\nEND:VCARD"; return _0xa72325.sendMessage( _0x2d6cd0.chat, { contacts: { displayName: _0x716863, contacts: [ { vcard: _0x586840, }, ], }, }, { quoted: _0x2d6cd0, messageId: _0xa72325.messageId(), } ); }; _0x2d6cd0.loadMessage = async (_0x143141 = _0x2d6cd0.key) => { if (!_0x143141) { return false; } let _0x5e265c = await _0x23c611.loadMessage( _0x2d6cd0.chat, _0x143141.id, _0xa72325 ); return await exports.smsg(_0xa72325, _0x5e265c, _0x23c611, false); }; if (_0x2d6cd0.mtype == "protocolMessage" && _0x2d6cd0.msg.type === "REVOKE") { _0x2d6cd0.getDeleted = async () => { let _0x192e7d = await _0x23c611.loadMessage( _0x2d6cd0.chat, _0x2d6cd0.msg.key.id, _0xa72325 ); return await exports.smsg(_0xa72325, _0x192e7d, _0x23c611, false); }; } _0x2d6cd0.reply_message = _0x2d6cd0.quoted; _0x2d6cd0.bot = _0x5eedaa ? _0xa72325 : {}; if (global.AstroOfficial && global.AstroOfficial === "yes") { return _0x2d6cd0; } else { return {}; } }; let file = require.resolve(__filename); fs.watchFile(file, () => { console.log("Update " + __filename); }); ================================================ FILE: lib/start.sh ================================================ while true do echo "Starting Venocyber-md!" node . done ================================================ FILE: lib/stylish-font.js ================================================ var style = new StyleText(); style.tools.creepify.options.maxHeight = 10; function createMap(_0x46213b) { var _0x2664ae = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; var _0x1c384e = 0; var _0x380042 = {}; for (var _0x1743e2 of _0x46213b) { _0x380042[_0x2664ae[_0x1c384e]] = _0x1743e2; _0x1c384e++; } return JSON.stringify(_0x380042); } const mangaCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "卂", b: "乃", c: "匚", d: "ᗪ", e: "乇", f: "千", g: "ᘜ", h: "卄", i: "|", j: "フ", k: "Ҝ", l: "ㄥ", m: "爪", n: "几", o: "ㄖ", p: "卩", q: "Ҩ", r: "尺", s: "丂", t: "ㄒ", u: "ㄩ", v: "ᐯ", w: "山", x: "乂", y: "ㄚ", z: "乙", A: "卂", B: "乃", C: "匚", D: "ᗪ", E: "乇", F: "千", G: "ᘜ", H: "卄", I: "|", J: "フ", K: "Ҝ", L: "ㄥ", M: "爪", N: "几", O: "ㄖ", P: "卩", Q: "Ҩ", R: "尺", S: "丂", T: "ㄒ", U: "ㄩ", V: "ᐯ", W: "山", X: "乂", Y: "ㄚ", Z: "乙" }; const ladybugCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ꍏ", b: "ꌃ", c: "ꏳ", d: "ꀷ", e: "ꏂ", f: "ꎇ", g: "ꁅ", h: "ꀍ", i: "ꀤ", j: "꒻", k: "ꀘ", l: "꒒", m: "ꎭ", n: "ꈤ", o: "ꂦ", p: "ᖘ", q: "ꆰ", r: "ꋪ", s: "ꌚ", t: "꓄", u: "ꀎ", v: "꒦", w: "ꅐ", x: "ꉧ", y: "ꌩ", z: "ꁴ", A: "ꍏ", B: "ꌃ", C: "ꏳ", D: "ꀷ", E: "ꏂ", F: "ꎇ", G: "ꁅ", H: "ꀍ", I: "ꀤ", J: "꒻", K: "ꀘ", L: "꒒", M: "ꎭ", N: "ꈤ", O: "ꂦ", P: "ᖘ", Q: "ꆰ", R: "ꋪ", S: "ꌚ", T: "꓄", U: "ꀎ", V: "꒦", W: "ꅐ", X: "ꉧ", Y: "ꌩ", Z: "ꁴ" }; const runesCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ል", b: "ጌ", c: "ር", d: "ዕ", e: "ቿ", f: "ቻ", g: "ኗ", h: "ዘ", i: "ጎ", j: "ጋ", k: "ጕ", l: "ረ", m: "ጠ", n: "ክ", o: "ዐ", p: "የ", q: "ዒ", r: "ዪ", s: "ነ", t: "ፕ", u: "ሁ", v: "ሀ", w: "ሠ", x: "ሸ", y: "ሃ", z: "ጊ", A: "ል", B: "ጌ", C: "ር", D: "ዕ", E: "ቿ", F: "ቻ", G: "ኗ", H: "ዘ", I: "ጎ", J: "ጋ", K: "ጕ", L: "ረ", M: "ጠ", N: "ክ", O: "ዐ", P: "የ", Q: "ዒ", R: "ዪ", S: "ነ", T: "ፕ", U: "ሁ", V: "ሀ", W: "ሠ", X: "ሸ", Y: "ሃ", Z: "ጊ" }; const serif_BCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "𝐚", b: "𝐛", c: "𝐜", d: "𝐝", e: "𝐞", f: "𝐟", g: "𝐠", h: "𝐡", i: "𝐢", j: "𝐣", k: "𝐤", l: "𝐥", m: "𝐦", n: "𝐧", o: "𝐨", p: "𝐩", q: "𝐪", r: "𝐫", s: "𝐬", t: "𝐭", u: "𝐮", v: "𝐯", w: "𝐰", x: "𝐱", y: "𝐲", z: "𝐳", A: "𝐀", B: "𝐁", C: "𝐂", D: "𝐃", E: "𝐄", F: "𝐅", G: "𝐆", H: "𝐇", I: "𝐈", J: "𝐉", K: "𝐊", L: "𝐋", M: "𝐌", N: "𝐍", O: "𝐎", P: "𝐏", Q: "𝐐", R: "𝐑", S: "𝐒", T: "𝐓", U: "𝐔", V: "𝐕", W: "𝐖", X: "𝐗", Y: "𝐘", Z: "𝐙" }; const serif_BICharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "𝒂", b: "𝒃", c: "𝒄", d: "𝒅", e: "𝒆", f: "𝒇", g: "𝒈", h: "𝒉", i: "𝒊", j: "𝒋", k: "𝒌", l: "𝒍", m: "𝒎", n: "𝒏", o: "𝒐", p: "𝒑", q: "𝒒", r: "𝒓", s: "𝒔", t: "𝒕", u: "𝒖", v: "𝒗", w: "𝒘", x: "𝒙", y: "𝒚", z: "𝒛", A: "𝑨", B: "𝑩", C: "𝑪", D: "𝑫", E: "𝑬", F: "𝑭", G: "𝑮", H: "𝑯", I: "𝑰", J: "𝑱", K: "𝑲", L: "𝑳", M: "𝑴", N: "𝑵", O: "𝑶", P: "𝑷", Q: "𝑸", R: "𝑹", S: "𝑺", T: "𝑻", U: "𝑼", V: "𝑽", W: "𝑾", X: "𝑿", Y: "𝒀", Z: "𝒁" }; const serif_ICharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "𝑎", b: "𝑏", c: "𝑐", d: "𝑑", e: "𝑒", f: "𝑓", g: "𝑔", h: "ℎ", i: "𝑖", j: "𝑗", k: "𝑘", l: "𝑙", m: "𝑚", n: "𝑛", o: "𝑜", p: "𝑝", q: "𝑞", r: "𝑟", s: "𝑠", t: "𝑡", u: "𝑢", v: "𝑣", w: "𝑤", x: "𝑥", y: "𝑦", z: "𝑧", A: "𝐴", B: "𝐵", C: "𝐶", D: "𝐷", E: "𝐸", F: "𝐹", G: "𝐺", H: "𝐻", I: "𝐼", J: "𝐽", K: "𝐾", L: "𝐿", M: "𝑀", N: "𝑁", O: "𝑂", P: "𝑃", Q: "𝑄", R: "𝑅", S: "𝑆", T: "𝑇", U: "𝑈", V: "𝑉", W: "𝑊", X: "𝑋", Y: "𝑌", Z: "𝑍" }; const wingdingsCharMap = { 0: "📁︎", 1: "📂︎", 2: "📄︎", 3: "🗏︎", 4: "🗐︎", 5: "🗄︎", 6: "⌛︎", 7: "🖮︎", 8: "🖰︎", 9: "🖲︎", "!": "✏︎", "\"": "✂︎", "#": "✁︎", $: "👓︎", "%": "🕭︎", "&": "🕮︎", "'": "🕯︎", "(": "🕿︎", ")": "✆︎", "*": "🖂︎", "+": "🖃︎", ",": "📪︎", "-": "📫︎", ".": "📬︎", "/": "📭︎", ":": "🖳︎", ";": "🖴︎", "<": "🖫︎", "=": "🖬︎", ">": "✇︎", "?": "✍︎", A: "✌︎", B: "👌︎", C: "👍︎", D: "👎︎", E: "☜︎", F: "☞︎", G: "☝︎", H: "☟︎", I: "✋︎", J: "☺︎", K: "😐︎", L: "☹︎", M: "💣︎", N: "☠︎", O: "⚐︎", P: "🏱︎", Q: "✈︎", R: "☼︎", S: "💧︎", T: "❄︎", U: "🕆︎", V: "✞︎", W: "🕈︎", X: "✠︎", Y: "✡︎", Z: "☪︎", "[": "☯︎", "\\": "ॐ︎", "]": "☸︎", "^": "♈︎", _: "♉︎", "`": "♊︎", a: "♋︎", b: "♌︎", c: "♍︎", d: "♎︎", e: "♏︎", f: "♐︎", g: "♑︎", h: "♒︎", i: "♓︎", j: "🙰", k: "🙵", l: "●︎", m: "❍︎", n: "■︎", o: "□︎", p: "◻︎", q: "❑︎", r: "❒︎", s: "⬧︎", t: "⧫︎", u: "◆︎", v: "❖︎", w: "⬥︎", x: "⌧︎", y: "⍓︎", z: "⌘︎", "{": "❀︎", "|": "✿︎", "}": "❝︎", "~": "❞︎", "": "▯︎", "€": "⓪︎", "": "①︎", "‚": "②︎", ƒ: "③︎", "„": "④︎", "…": "⑤︎", "†": "⑥︎", "‡": "⑦︎", ˆ: "⑧︎", "‰": "⑨︎", Š: "⑩︎", "‹": "⓿︎", Œ: "❶︎", "": "❷︎", Ž: "❸︎", "": "❹︎", "": "❺︎", "‘": "❻︎", "’": "❼︎", "“": "❽︎", "”": "❾︎", "•": "❿︎", "–": "◻︎", "—": "◻︎", "˜": "◻︎", "™": "◻︎", š: "◻︎", "›": "◻︎", œ: "◻︎", "": "◻︎", ž: "·︎", Ÿ: "•︎", "¡": "○︎", "¢": "⭕︎", "£": "◻︎", "¤": "◉︎", "¥": "◎︎", "¦": "◻︎", "§": "▪︎", "¨": "◻︎", "©": "◻︎", ª: "✦︎", "«": "★︎", "¬": "✶︎", "®": "✹︎", "¯": "✵︎", "°": "◻︎", "±": "⌖︎", "²": "⟡︎", "³": "⌑︎", "´": "◻︎", µ: "✪︎", "¶": "✰︎", "·": "🕐︎", "¸": "🕑︎", "¹": "🕒︎", º: "🕓︎", "»": "🕔︎", "¼": "🕕︎", "½": "🕖︎", "¾": "🕗︎", "¿": "🕘︎", À: "🕙︎", Á: "🕚︎", Â: "🕛︎", Ã: "◻︎", Ä: "◻︎", Å: "◻︎", Æ: "◻︎", Ç: "◻︎", È: "◻︎", É: "◻︎", Ê: "◻︎", Ë: "◻︎", Ì: "◻︎", Í: "◻︎", Î: "◻︎", Ï: "◻︎", Ð: "◻︎", Ñ: "◻︎", Ò: "◻︎", Ó: "◻︎", Ô: "◻︎", Õ: "⌫︎", Ö: "⌦︎", "×": "◻︎", Ø: "➢︎", Ù: "◻︎", Ú: "◻︎", Û: "◻︎", Ü: "➲︎", Ý: "◻︎", Þ: "◻︎", ß: "◻︎", à: "◻︎", á: "◻︎", â: "◻︎", ã: "◻︎", ä: "◻︎", å: "◻︎", æ: "◻︎", ç: "◻︎", è: "➔︎", é: "◻︎", ê: "◻︎", ë: "◻︎", ì: "◻︎", í: "◻︎", î: "◻︎", ï: "⇦︎", ð: "⇨︎", ñ: "⇧︎", ò: "⇩︎", ó: "⬄︎", ô: "⇳︎", õ: "⬀︎", ö: "⬁︎", "÷": "⬃︎", ø: "⬂︎", ù: "▭︎", ú: "▫︎", û: "✗︎", ü: "✓︎", ý: "☒︎", þ: "☑︎", ÿ: "◻︎" }; const vaporwaveCharMap = { " ": " ", "`": "`", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", 0: "0", "-": "-", "=": "=", "~": "~", "!": "!", "@": "@", "#": "#", $: "$", "%": "%", "^": "^", "&": "&", "*": "*", "(": "(", ")": ")", _: "_", "+": "+", q: "q", w: "w", e: "e", r: "r", t: "t", y: "y", u: "u", i: "i", o: "o", p: "p", "[": "[", "]": "]", "\\": "\\", Q: "Q", W: "W", E: "E", R: "R", T: "T", Y: "Y", U: "U", I: "I", O: "O", P: "P", "{": "{", "}": "}", "|": "|", a: "a", s: "s", d: "d" }; const sparrowCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "Δ", b: "β", c: "C", d: "D", e: "Σ", f: "Ғ", g: "G", h: "H", i: "I", j: "J", k: "Ҝ", l: "L", m: "M", n: "Π", o: "Ω", p: "P", q: "Q", r: "R", s: "S", t: "T", u: "U", v: "∇", w: "Ш", x: "X", y: "Ψ", z: "Z", A: "Δ", B: "β", C: "C", D: "D", E: "Σ", F: "Ғ", G: "G", H: "H", I: "I", J: "J", K: "Ҝ", L: "L", M: "M", N: "Π", O: "Ω", P: "P", Q: "Q", R: "R", S: "S", T: "T", U: "U", V: "∇", W: "Ш", X: "X", Y: "Ψ", Z: "Z" }; const typewriterCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "𝚊", b: "𝚋", c: "𝚌", d: "𝚍", e: "𝚎", f: "𝚏", g: "𝚐", h: "𝚑", i: "𝚒", j: "𝚓", k: "𝚔", l: "𝚕", m: "𝚖", n: "𝚗", o: "𝚘", p: "𝚙", q: "𝚚", r: "𝚛", s: "𝚜", t: "𝚝", u: "𝚞", v: "𝚟", w: "𝚠", x: "𝚡", y: "𝚢", z: "𝚣", A: "𝙰", B: "𝙱", C: "𝙲", D: "𝙳", E: "𝙴", F: "𝙵", G: "𝙶", H: "𝙷", I: "𝙸", J: "𝙹", K: "𝙺", L: "𝙻", M: "𝙼", N: "𝙽", O: "𝙾", P: "𝙿", Q: "𝚀", R: "𝚁", S: "𝚂", T: "𝚃", U: "𝚄", V: "𝚅", W: "𝚆", X: "𝚇", Y: "𝚈", Z: "𝚉" }; const analuciaCharMap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ꪖ", b: "᥇", c: "ᥴ", d: "ᦔ", e: "ꫀ", f: "ᠻ", g: "ᧁ", h: "ꫝ", i: "𝓲", j: "𝓳", k: "𝘬", l: "ꪶ", m: "ꪑ", n: "ꪀ", o: "ꪮ", p: "ρ", q: "𝘲", r: "𝘳", s: "𝘴", t: "𝓽", u: "ꪊ", v: "ꪜ", w: "᭙", x: "᥊", y: "ꪗ", z: "ɀ", A: "ꪖ", B: "᥇", C: "ᥴ", D: "ᦔ", E: "ꫀ", F: "ᠻ", G: "ᧁ", H: "ꫝ", I: "𝓲", J: "𝓳", K: "𝘬", L: "ꪶ", M: "ꪑ", N: "ꪀ", O: "ꪮ", P: "ρ", Q: "𝘲", R: "𝘳", S: "𝘴", T: "𝓽", U: "ꪊ", V: "ꪜ", W: "᭙", X: "᥊", Y: "ꪗ", Z: "ɀ" }; function listall(_0x2c92d3) { _0x2c92d3 = _0x2c92d3.trim(); if (_0x2c92d3 === "") { return ""; } var _0x2fd24e = []; _0x2fd24e.push(tiny(_0x2c92d3)); _0x2fd24e.push(flip(_0x2c92d3)); _0x2fd24e.push(roundsquares(_0x2c92d3)); _0x2fd24e.push(squares(_0x2c92d3)); _0x2fd24e.push(mirror(_0x2c92d3)); _0x2fd24e.push(bubbles(_0x2c92d3)); _0x2fd24e.push(strikeThrough(_0x2c92d3)); _0x2fd24e.push(tildeStrikeThrough(_0x2c92d3)); _0x2fd24e.push(slashThrough(_0x2c92d3)); _0x2fd24e.push(underline(_0x2c92d3)); _0x2fd24e.push(doubleUnderline(_0x2c92d3)); _0x2fd24e.push(heartsBetween(_0x2c92d3)); _0x2fd24e.push(arrowBelow(_0x2c92d3)); _0x2fd24e.push(crossAboveBelow(_0x2c92d3)); _0x2fd24e.push(wingdings(_0x2c92d3)); _0x2fd24e.push(vaporwave(_0x2c92d3)); _0x2fd24e.push(sparrow(_0x2c92d3)); _0x2fd24e.push(manga(_0x2c92d3)); _0x2fd24e.push(ladybug(_0x2c92d3)); _0x2fd24e.push(runes(_0x2c92d3)); _0x2fd24e.push(serif_B(_0x2c92d3)); _0x2fd24e.push(serif_BI(_0x2c92d3)); _0x2fd24e.push(serif_I(_0x2c92d3)); _0x2fd24e.push(analucia(_0x2c92d3)); _0x2fd24e.push(typewriter(_0x2c92d3)); _0x2fd24e.push(fancy1(_0x2c92d3)); _0x2fd24e.push(fancy2(_0x2c92d3)); _0x2fd24e.push(fancy3(_0x2c92d3)); _0x2fd24e.push(fancy4(_0x2c92d3)); _0x2fd24e.push(fancy5(_0x2c92d3)); _0x2fd24e.push(fancy6(_0x2c92d3)); _0x2fd24e.push(fancy7(_0x2c92d3)); _0x2fd24e.push(fancy8(_0x2c92d3)); _0x2fd24e.push(fancy9(_0x2c92d3)); _0x2fd24e.push(fancy10(_0x2c92d3)); _0x2fd24e.push(fancy11(_0x2c92d3)); _0x2fd24e.push(fancy12(_0x2c92d3)); _0x2fd24e.push(fancy13(_0x2c92d3)); _0x2fd24e.push(fancy14(_0x2c92d3)); _0x2fd24e.push(fancy15(_0x2c92d3)); _0x2fd24e.push(fancy16(_0x2c92d3)); _0x2fd24e.push(fancy17(_0x2c92d3)); _0x2fd24e.push(fancy18(_0x2c92d3)); _0x2fd24e.push(fancy19(_0x2c92d3)); _0x2fd24e.push(fancy20(_0x2c92d3)); _0x2fd24e.push(fancy21(_0x2c92d3)); _0x2fd24e.push(fancy22(_0x2c92d3)); _0x2fd24e.push(fancy23(_0x2c92d3)); _0x2fd24e.push(fancy24(_0x2c92d3)); _0x2fd24e.push(fancy25(_0x2c92d3)); _0x2fd24e.push(fancy26(_0x2c92d3)); _0x2fd24e.push(fancy27(_0x2c92d3)); _0x2fd24e.push(fancy28(_0x2c92d3)); _0x2fd24e.push(fancy29(_0x2c92d3)); _0x2fd24e.push(fancy30(_0x2c92d3)); _0x2fd24e.push(fancy31(_0x2c92d3)); _0x2fd24e.push(fancy32(_0x2c92d3)); _0x2fd24e.push(fancy33(_0x2c92d3)); return _0x2fd24e; } function flip(_0xf6a82b) { return style.tools.flip.encode(_0xf6a82b); } function roundsquares(_0x490b9d) { return style.tools.roundsquares.encode(_0x490b9d); } function squares(_0x40976a) { return style.tools.squares.encode(_0x40976a); } function mirror(_0x3f5dc8) { return style.tools.mirror.encode(_0x3f5dc8); } function creepify(_0x1cff59) { return style.tools.creepify.encode(_0x1cff59); } function bubbles(_0x1ebe09) { return style.tools.bubbles.encode(_0x1ebe09); } function strikeThrough(_0xd3a44c) { return _0xd3a44c.split("").join("̶") + "̶"; } function tildeStrikeThrough(_0x331687) { return _0x331687.split("").join("̴") + "̴"; } function underline(_0x155300) { return _0x155300.split("").join("̲") + "̲"; } function doubleUnderline(_0x10ec89) { return _0x10ec89.split("").join("̳") + "̳"; } function slashThrough(_0x32ae0f) { return _0x32ae0f.split("").join("̷") + "̷"; } function heartsBetween(_0x1110ea) { return _0x1110ea.split("").join("♥"); } function arrowBelow(_0x3e53b2) { return _0x3e53b2.split("").join("͎") + "͎"; } function crossAboveBelow(_0x5b3eb4) { return _0x5b3eb4.split("").join("͓̽") + "͓̽"; } function manga(_0x35b349) { return _0x35b349.split("").map(function (_0x144be6) { if (mangaCharMap[_0x144be6]) { return mangaCharMap[_0x144be6]; } else { return _0x144be6; } }).join(""); } const fancy1chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ค", b: "๖", c: "¢", d: "໓", e: "ē", f: "f", g: "ງ", h: "h", i: "i", j: "ว", k: "k", l: "l", m: "๓", n: "ຖ", o: "໐", p: "p", q: "๑", r: "r", s: "Ş", t: "t", u: "น", v: "ง", w: "ຟ", x: "x", y: "ฯ", z: "ຊ", A: "ค", B: "๖", C: "¢", D: "໓", E: "ē", F: "f", G: "ງ", H: "h", I: "i", J: "ว", K: "k", L: "l", M: "๓", N: "ຖ", O: "໐", P: "p", Q: "๑", R: "r", S: "Ş", T: "t", U: "น", V: "ง", W: "ຟ", X: "x", Y: "ฯ", Z: "ຊ" }; function fancy1(_0x195831) { return _0x195831.split("").map(function (_0xb657bc) { if (fancy1chrmap[_0xb657bc]) { return fancy1chrmap[_0xb657bc]; } else { return _0xb657bc; } }).join(""); } const fancy2chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ą", b: "ც", c: "ƈ", d: "ɖ", e: "ɛ", f: "ʄ", g: "ɠ", h: "ɧ", i: "ı", j: "ʝ", k: "ƙ", l: "Ɩ", m: "ɱ", n: "ŋ", o: "ơ", p: "℘", q: "զ", r: "ཞ", s: "ʂ", t: "ɬ", u: "ų", v: "۷", w: "ῳ", x: "ҳ", y: "ყ", z: "ʑ", A: "ą", B: "ც", C: "ƈ", D: "ɖ", E: "ɛ", F: "ʄ", G: "ɠ", H: "ɧ", I: "ı", J: "ʝ", K: "ƙ", L: "Ɩ", M: "ɱ", N: "ŋ", O: "ơ", P: "℘", Q: "զ", R: "ཞ", S: "ʂ", T: "ɬ", U: "ų", V: "۷", W: "ῳ", X: "ҳ", Y: "ყ", Z: "ʑ" }; function fancy2(_0x508f75) { return _0x508f75.split("").map(function (_0x74b60e) { if (fancy2chrmap[_0x74b60e]) { return fancy2chrmap[_0x74b60e]; } else { return _0x74b60e; } }).join(""); } const fancy3chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ム", b: "乃", c: "ᄃ", d: "り", e: "乇", f: "キ", g: "ム", h: "ん", i: "ノ", j: "フ", k: "ズ", l: "レ", m: "ᄊ", n: "刀", o: "の", p: "ア", q: "ゐ", r: "尺", s: "丂", t: "イ", u: "ひ", v: "√", w: "W", x: "メ", y: "リ", z: "乙", A: "ム", B: "乃", C: "ᄃ", D: "り", E: "乇", F: "キ", G: "ム", H: "ん", I: "ノ", J: "フ", K: "ズ", L: "レ", M: "ᄊ", N: "刀", O: "の", P: "ア", Q: "ゐ", R: "尺", S: "丂", T: "イ", U: "ひ", V: "√", W: "W", X: "メ", Y: "リ", Z: "乙" }; function fancy3(_0x4c61df) { return _0x4c61df.split("").map(function (_0x1e082f) { if (fancy3chrmap[_0x1e082f]) { return fancy3chrmap[_0x1e082f]; } else { return _0x1e082f; } }).join(""); } const fancy4chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "卂", b: "乃", c: "匚", d: "ᗪ", e: "乇", f: "千", g: "Ꮆ", h: "卄", i: "丨", j: "フ", k: "Ҝ", l: "ㄥ", m: "爪", n: "几", o: "ㄖ", p: "卩", q: "Ɋ", r: "尺", s: "丂", t: "ㄒ", u: "ㄩ", v: "ᐯ", w: "山", x: "乂", y: "ㄚ", z: "乙", A: "卂", B: "乃", C: "匚", D: "ᗪ", E: "乇", F: "千", G: "Ꮆ", H: "卄", I: "丨", J: "フ", K: "Ҝ", L: "ㄥ", M: "爪", N: "几", O: "ㄖ", P: "卩", Q: "Ɋ", R: "尺", S: "丂", T: "ㄒ", U: "ㄩ", V: "ᐯ", W: "山", X: "乂", Y: "ㄚ", Z: "乙" }; function fancy4(_0x9af47e) { return _0x9af47e.split("").map(function (_0x59f876) { if (fancy4chrmap[_0x59f876]) { return fancy4chrmap[_0x59f876]; } else { return _0x59f876; } }).join(""); } const fancy5chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "🄰", b: "🄱", c: "🄲", d: "🄳", e: "🄴", f: "🄵", g: "🄶", h: "🄷", i: "🄸", j: "🄹", k: "🄺", l: "🄻", m: "🄼", n: "🄽", o: "🄾", p: "🄿", q: "🅀", r: "🅁", s: "🅂", t: "🅃", u: "🅄", v: "🅅", w: "🅆", x: "🅇", y: "🅈", z: "🅉", A: "🄰", B: "🄱", C: "🄲", D: "🄳", E: "🄴", F: "🄵", G: "🄶", H: "🄷", I: "🄸", J: "🄹", K: "🄺", L: "🄻", M: "🄼", N: "🄽", O: "🄾", P: "🄿", Q: "🅀", R: "🅁", S: "🅂", T: "🅃", U: "🅄", V: "🅅", W: "🅆", X: "🅇", Y: "🅈", Z: "🅉" }; function fancy5(_0x10347b) { return _0x10347b.split("").map(function (_0x557906) { if (fancy5chrmap[_0x557906]) { return fancy5chrmap[_0x557906]; } else { return _0x557906; } }).join(""); } const fancy6chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "Ꮧ", b: "Ᏸ", c: "ፈ", d: "Ꮄ", e: "Ꮛ", f: "Ꭶ", g: "Ꮆ", h: "Ꮒ", i: "Ꭵ", j: "Ꮰ", k: "Ꮶ", l: "Ꮭ", m: "Ꮇ", n: "Ꮑ", o: "Ꭷ", p: "Ꭾ", q: "Ꭴ", r: "Ꮢ", s: "Ꮥ", t: "Ꮦ", u: "Ꮼ", v: "Ꮙ", w: "Ꮗ", x: "ጀ", y: "Ꭹ", z: "ፚ", A: "Ꮧ", B: "Ᏸ", C: "ፈ", D: "Ꮄ", E: "Ꮛ", F: "Ꭶ", G: "Ꮆ", H: "Ꮒ", I: "Ꭵ", J: "Ꮰ", K: "Ꮶ", L: "Ꮭ", M: "Ꮇ", N: "Ꮑ", O: "Ꭷ", P: "Ꭾ", Q: "Ꭴ", R: "Ꮢ", S: "Ꮥ", T: "Ꮦ", U: "Ꮼ", V: "Ꮙ", W: "Ꮗ", X: "ጀ", Y: "Ꭹ", Z: "ፚ" }; function fancy6(_0xc32a5e) { return _0xc32a5e.split("").map(function (_0x772a51) { if (fancy6chrmap[_0x772a51]) { return fancy6chrmap[_0x772a51]; } else { return _0x772a51; } }).join(""); } const fancy7chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ᗩ", b: "ᗷ", c: "ᑕ", d: "ᗪ", e: "E", f: "ᖴ", g: "G", h: "ᕼ", i: "I", j: "ᒍ", k: "K", l: "ᒪ", m: "ᗰ", n: "ᑎ", o: "O", p: "ᑭ", q: "ᑫ", r: "ᖇ", s: "ᔕ", t: "T", u: "ᑌ", v: "ᐯ", w: "ᗯ", x: "᙭", y: "Y", z: "ᘔ", A: "ᗩ", B: "ᗷ", C: "ᑕ", D: "ᗪ", E: "E", F: "ᖴ", G: "G", H: "ᕼ", I: "I", J: "ᒍ", K: "K", L: "ᒪ", M: "ᗰ", N: "ᑎ", O: "O", P: "ᑭ", Q: "ᑫ", R: "ᖇ", S: "ᔕ", T: "T", U: "ᑌ", V: "ᐯ", W: "ᗯ", X: "᙭", Y: "Y", Z: "ᘔ" }; function fancy7(_0x43b5c9) { return _0x43b5c9.split("").map(function (_0x2e9881) { if (fancy7chrmap[_0x2e9881]) { return fancy7chrmap[_0x2e9881]; } else { return _0x2e9881; } }).join(""); } const fancy8chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "ǟ", b: "ɮ", c: "ƈ", d: "ɖ", e: "ɛ", f: "ʄ", g: "ɢ", h: "ɦ", i: "ɨ", j: "ʝ", k: "ӄ", l: "ʟ", m: "ʍ", n: "ռ", o: "օ", p: "ք", q: "զ", r: "ʀ", s: "ֆ", t: "ȶ", u: "ʊ", v: "ʋ", w: "ա", x: "Ӽ", y: "ʏ", z: "ʐ", A: "ǟ", B: "ɮ", C: "ƈ", D: "ɖ", E: "ɛ", F: "ʄ", G: "ɢ", H: "ɦ", I: "ɨ", J: "ʝ", K: "ӄ", L: "ʟ", M: "ʍ", N: "ռ", O: "օ", P: "ք", Q: "զ", R: "ʀ", S: "ֆ", T: "ȶ", U: "ʊ", V: "ʋ", W: "ա", X: "Ӽ", Y: "ʏ", Z: "ʐ" }; function fancy8(_0x401edd) { return _0x401edd.split("").map(function (_0x22c748) { if (fancy8chrmap[_0x22c748]) { return fancy8chrmap[_0x22c748]; } else { return _0x22c748; } }).join(""); } const fancy9chrmap = { 0: "𝟶", 1: "𝟷", 2: "𝟸", 3: "𝟹", 4: "𝟺", 5: "𝟻", 6: "𝟼", 7: "𝟽", 8: "𝟾", 9: "𝟿", a: "𝚊", b: "𝚋", c: "𝚌", d: "𝚍", e: "𝚎", f: "𝚏", g: "𝚐", h: "𝚑", i: "𝚒", j: "𝚓", k: "𝚔", l: "𝚕", m: "𝚖", n: "𝚗", o: "𝚘", p: "𝚙", q: "𝚚", r: "𝚛", s: "𝚜", t: "𝚝", u: "𝚞", v: "𝚟", w: "𝚠", x: "𝚡", y: "𝚢", z: "𝚣", A: "𝙰", B: "𝙱", C: "𝙲", D: "𝙳", E: "𝙴", F: "𝙵", G: "𝙶", H: "𝙷", I: "𝙸", J: "𝙹", K: "𝙺", L: "𝙻", M: "𝙼", N: "𝙽", O: "𝙾", P: "𝙿", Q: "𝚀", R: "𝚁", S: "𝚂", T: "𝚃", U: "𝚄", V: "𝚅", W: "𝚆", X: "𝚇", Y: "𝚈", Z: "𝚉" }; function fancy9(_0x50bd7b) { return _0x50bd7b.split("").map(function (_0x3311ea) { if (fancy9chrmap[_0x3311ea]) { return fancy9chrmap[_0x3311ea]; } else { return _0x3311ea; } }).join(""); } const fancy10chrmap = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", a: "𝙖", b: "𝙗", c: "𝙘", d: "𝙙", e: "𝙚", f: "𝙛", g: "𝙜", h: "𝙝", i: "𝙞", j: "𝙟", k: "𝙠", l: "𝙡", m: "𝙢", n: "𝙣", o: "𝙤", p: "𝙥", q: "𝙦", r: "𝙧", s: "𝙨", t: "𝙩", u: "𝙪", v: "𝙫", w: "𝙬", x: "𝙭", y: "𝙮", z: "𝙯", A: "𝘼", B: "𝘽", C: "𝘾", D: "𝘿", E: "𝙀", F: "𝙁", G: "𝙂", H: "𝙃", I: "𝙄", J: "𝙅", K: "𝙆", L: "𝙇", M: "𝙈", N: "𝙉", O: "𝙊", P: "𝙋", Q: "𝙌", R: "𝙍", S: "𝙎", T: "𝙏", U: "𝙐", V: "𝙑", W: "𝙒", X: "𝙓", Y: "𝙔", Z: "𝙕" }; function fancy10(_0x3f195e) { return _0x3f195e.split("").map(function (_0x46df38) { if (fancy10chrmap[_0x46df38]) { return fancy10chrmap[_0x46df38]; } else { return _0x46df38; } }).join(""); } const fancy11chrmap = { 0: "𝟬", 1: "𝟭", 2: "𝟮", 3: "𝟯", 4: "𝟰", 5: "𝟱", 6: "𝟲", 7: "𝟳", 8: "𝟴", 9: "𝟵", a: "𝗮", b: "𝗯", c: "𝗰", d: "𝗱", e: "𝗲", f: "𝗳", g: "𝗴", h: "𝗵", i: "𝗶", j: "𝗷", k: "𝗸", l: "𝗹", m: "𝗺", n: "𝗻", o: "𝗼", p: "𝗽", q: "𝗾", r: "𝗿", s: "𝘀", t: "𝘁", u: "𝘂", v: "𝘃", w: "𝘄", x: "𝘅", y: "𝘆", z: "𝘇", A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" }; function fancy11(_0x2aadf7) { return _0x2aadf7.split("").map(function (_0x5074e4) { if (fancy11chrmap[_0x5074e4]) { return fancy11chrmap[_0x5074e4]; } else { return _0x5074e4; } }).join(""); } const fancy12chrmap = { 0: "𝟎", 1: "𝟏", 2: "𝟐", 3: "𝟑", 4: "𝟒", 5: "𝟓", 6: "𝟔", 7: "𝟕", 8: "𝟖", 9: "𝟗", a: "𝐚", b: "𝐛", c: "𝐜", d: "𝐝", e: "𝐞", f: "𝐟", g: "𝐠", h: "𝐡", i: "𝐢", j: "𝐣", k: "𝐤", l: "𝐥", m: "𝐦", n: "𝐧", o: "𝐨", p: "𝐩", q: "𝐪", r: "𝐫", s: "𝐬", t: "𝐭", u: "𝐮", v: "𝐯", w: "𝐰", x: "𝐱", y: "𝐲", z: "𝐳", A: "𝐀", B: "𝐁", C: "𝐂", D: "𝐃", E: "𝐄", F: "𝐅", G: "𝐆", H: "𝐇", I: "𝐈", J: "𝐉", K: "𝐊", L: "𝐋", M: "𝐌", N: "𝐍", O: "𝐎", P: "𝐏", Q: "𝐐", R: "𝐑", S: "𝐒", T: "𝐓", U: "𝐔", V: "𝐕", W: "𝐖", X: "𝐗", Y: "𝐘", Z: "𝐙" }; function fancy12(_0x2cfd93) { return _0x2cfd93.split("").map(function (_0x491b2d) { if (fancy12chrmap[_0x491b2d]) { return fancy12chrmap[_0x491b2d]; } else { return _0x491b2d; } }).join(""); } const fancy13chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝘢", b: "𝘣", c: "𝘤", d: "𝘥", e: "𝘦", f: "𝘧", g: "𝘨", h: "𝘩", i: "𝘪", j: "𝘫", k: "𝘬", l: "𝘭", m: "𝘮", n: "𝘯", o: "𝘰", p: "𝘱", q: "𝘲", r: "𝘳", s: "𝘴", t: "𝘵", u: "𝘶", v: "𝘷", w: "𝘸", x: "𝘹", y: "𝘺", z: "𝘻", A: "𝘈", B: "𝘉", C: "𝘊", D: "𝘋", E: "𝘌", F: "𝘍", G: "𝘎", H: "𝘏", I: "𝘐", J: "𝘑", K: "𝘒", L: "𝘓", M: "𝘔", N: "𝘕", O: "𝘖", P: "𝘗", Q: "𝘘", R: "𝘙", S: "𝘚", T: "𝘛", U: "𝘜", V: "𝘝", W: "𝘞", X: "𝘟", Y: "𝘠", Z: "𝘡" }; function fancy13(_0x25d9c5) { return _0x25d9c5.split("").map(function (_0x56ac37) { if (fancy13chrmap[_0x56ac37]) { return fancy13chrmap[_0x56ac37]; } else { return _0x56ac37; } }).join(""); } const fancy14chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "α", b: "Ⴆ", c: "ƈ", d: "ԃ", e: "ҽ", f: "ϝ", g: "ɠ", h: "ԋ", i: "ι", j: "ʝ", k: "ƙ", l: "ʅ", m: "ɱ", n: "ɳ", o: "σ", p: "ρ", q: "ϙ", r: "ɾ", s: "ʂ", t: "ƚ", u: "υ", v: "ʋ", w: "ɯ", x: "x", y: "ყ", z: "ȥ", A: "A", B: "B", C: "C", D: "D", E: "E", F: "F", G: "G", H: "H", I: "I", J: "J", K: "K", L: "L", M: "M", N: "N", O: "O", P: "P", Q: "Q", R: "R", S: "S", T: "T", U: "U", V: "V", W: "W", X: "X", Y: "Y", Z: "Z" }; function fancy14(_0x242d75) { return _0x242d75.split("").map(function (_0x5ce867) { if (fancy14chrmap[_0x5ce867]) { return fancy14chrmap[_0x5ce867]; } else { return _0x5ce867; } }).join(""); } const fancy15chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "₳", b: "฿", c: "₵", d: "Đ", e: "Ɇ", f: "₣", g: "₲", h: "Ⱨ", i: "ł", j: "J", k: "₭", l: "Ⱡ", m: "₥", n: "₦", o: "Ø", p: "₱", q: "Q", r: "Ɽ", s: "₴", t: "₮", u: "Ʉ", v: "V", w: "₩", x: "Ӿ", y: "Ɏ", z: "Ⱬ", A: "₳", B: "฿", C: "₵", D: "Đ", E: "Ɇ", F: "₣", G: "₲", H: "Ⱨ", I: "ł", J: "J", K: "₭", L: "Ⱡ", M: "₥", N: "₦", O: "Ø", P: "₱", Q: "Q", R: "Ɽ", S: "₴", T: "₮", U: "Ʉ", V: "V", W: "₩", X: "Ӿ", Y: "Ɏ", Z: "Ⱬ" }; function fancy15(_0x3df05c) { return _0x3df05c.split("").map(function (_0x529888) { if (fancy15chrmap[_0x529888]) { return fancy15chrmap[_0x529888]; } else { return _0x529888; } }).join(""); } const fancy16chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "å", b: "ß", c: "¢", d: "Ð", e: "ê", f: "£", g: "g", h: "h", i: "ï", j: "j", k: "k", l: "l", m: "m", n: "ñ", o: "ð", p: "þ", q: "q", r: "r", s: "§", t: "†", u: "µ", v: "v", w: "w", x: "x", y: "¥", z: "z", A: "Ä", B: "ß", C: "Ç", D: "Ð", E: "È", F: "£", G: "G", H: "H", I: "Ì", J: "J", K: "K", L: "L", M: "M", N: "ñ", O: "Ö", P: "þ", Q: "Q", R: "R", S: "§", T: "†", U: "Ú", V: "V", W: "W", X: "×", Y: "¥", Z: "Z" }; function fancy16(_0x1fbe1e) { return _0x1fbe1e.split("").map(function (_0x24feaa) { if (fancy16chrmap[_0x24feaa]) { return fancy16chrmap[_0x24feaa]; } else { return _0x24feaa; } }).join(""); } const fancy17chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "α", b: "в", c: "¢", d: "∂", e: "є", f: "ƒ", g: "g", h: "н", i: "ι", j: "נ", k: "к", l: "ℓ", m: "м", n: "η", o: "σ", p: "ρ", q: "q", r: "я", s: "ѕ", t: "т", u: "υ", v: "ν", w: "ω", x: "χ", y: "у", z: "z", A: "α", B: "в", C: "¢", D: "∂", E: "є", F: "ƒ", G: "g", H: "н", I: "ι", J: "נ", K: "к", L: "ℓ", M: "м", N: "η", O: "σ", P: "ρ", Q: "q", R: "я", S: "ѕ", T: "т", U: "υ", V: "ν", W: "ω", X: "χ", Y: "у", Z: "z" }; function fancy17(_0x5a3d6f) { return _0x5a3d6f.split("").map(function (_0x2966be) { if (fancy17chrmap[_0x2966be]) { return fancy17chrmap[_0x2966be]; } else { return _0x2966be; } }).join(""); } const fancy18chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "Λ", b: "B", c: "ᄃ", d: "D", e: "Σ", f: "F", g: "G", h: "Ή", i: "I", j: "J", k: "K", l: "ᄂ", m: "M", n: "П", o: "Ө", p: "P", q: "Q", r: "Я", s: "Ƨ", t: "Ƭ", u: "Ц", v: "V", w: "Щ", x: "X", y: "Y", z: "Z", A: "Λ", B: "B", C: "ᄃ", D: "D", E: "Σ", F: "F", G: "G", H: "Ή", I: "I", J: "J", K: "K", L: "ᄂ", M: "M", N: "П", O: "Ө", P: "P", Q: "Q", R: "Я", S: "Ƨ", T: "Ƭ", U: "Ц", V: "V", W: "Щ", X: "X", Y: "Y", Z: "Z" }; function fancy18(_0x3584fe) { return _0x3584fe.split("").map(function (_0x4f0fa0) { if (fancy18chrmap[_0x4f0fa0]) { return fancy18chrmap[_0x4f0fa0]; } else { return _0x4f0fa0; } }).join(""); } const fancy19chrmap = { "0": "⊘", "1": "𝟙", "2": "ϩ", "3": "Ӡ", "4": "५", "5": "Ƽ", "6": "Ϭ", "7": "7", "8": "𝟠", "9": "९", a: "ą", b: "ҍ", c: "ç", d: "ժ", e: "ҽ", f: "ƒ", g: "ց", h: "հ", i: "ì", j: "ʝ", k: "ҟ", l: "Ӏ", m: "ʍ", n: "ղ", o: "օ", p: "ք", q: "զ", r: "ɾ", s: "ʂ", t: "է", u: "մ", v: "ѵ", w: "ա", x: "×", y: "վ", z: "Հ", A: "Ⱥ", B: "β", C: "↻", D: "Ꭰ", E: "Ɛ", F: "Ƒ", G: "Ɠ", H: "Ƕ", I: "į", J: "ل", K: "Ҡ", L: "Ꝉ", M: "Ɱ", N: "ហ", O: "ට", P: "φ", Q: "Ҩ", R: "འ", S: "Ϛ", T: "Ͳ", U: "Ա", V: "Ỽ", W: "చ", X: "ჯ", Y: "Ӌ", Z: "ɀ" }; function fancy19(_0x7c912d) { return _0x7c912d.split("").map(function (_0x5be886) { if (fancy19chrmap[_0x5be886]) { return fancy19chrmap[_0x5be886]; } else { return _0x5be886; } }).join(""); } const fancy20chrmap = { "0": "₀", "1": "₁", "2": "₂", "3": "₃", "4": "₄", "5": "₅", "6": "₆", "7": "₇", "8": "₈", "9": "₉", a: "ₐ", b: "b", c: "c", d: "d", e: "ₑ", f: "f", g: "g", h: "ₕ", i: "ᵢ", j: "ⱼ", k: "ₖ", l: "ₗ", m: "ₘ", n: "ₙ", o: "ₒ", p: "ₚ", q: "q", r: "ᵣ", s: "ₛ", t: "ₜ", u: "ᵤ", v: "ᵥ", w: "w", x: "ₓ", y: "y", z: "z", A: "ₐ", B: "B", C: "C", D: "D", E: "ₑ", F: "F", G: "G", H: "ₕ", I: "ᵢ", J: "ⱼ", K: "ₖ", L: "ₗ", M: "ₘ", N: "ₙ", O: "ₒ", P: "ₚ", Q: "Q", R: "ᵣ", S: "ₛ", T: "ₜ", U: "ᵤ", V: "ᵥ", W: "W", X: "ₓ", Y: "Y", Z: "Z" }; function fancy20(_0x1bcf44) { return _0x1bcf44.split("").map(function (_0x19fc08) { if (fancy20chrmap[_0x19fc08]) { return fancy20chrmap[_0x19fc08]; } else { return _0x19fc08; } }).join(""); } const fancy21chrmap = { "0": "⁰", "1": "¹", "2": "²", "3": "³", "4": "⁴", "5": "⁵", "6": "⁶", "7": "⁷", "8": "⁸", "9": "⁹", a: "ᵃ", b: "ᵇ", c: "ᶜ", d: "ᵈ", e: "ᵉ", f: "ᶠ", g: "ᵍ", h: "ʰ", i: "ⁱ", j: "ʲ", k: "ᵏ", l: "ˡ", m: "ᵐ", n: "ⁿ", o: "ᵒ", p: "ᵖ", q: "q", r: "ʳ", s: "ˢ", t: "ᵗ", u: "ᵘ", v: "ᵛ", w: "ʷ", x: "ˣ", y: "ʸ", z: "ᶻ", A: "ᴬ", B: "ᴮ", C: "ᶜ", D: "ᴰ", E: "ᴱ", F: "ᶠ", G: "ᴳ", H: "ᴴ", I: "ᴵ", J: "ᴶ", K: "ᴷ", L: "ᴸ", M: "ᴹ", N: "ᴺ", O: "ᴼ", P: "ᴾ", Q: "Q", R: "ᴿ", S: "ˢ", T: "ᵀ", U: "ᵁ", V: "ⱽ", W: "ᵂ", X: "ˣ", Y: "ʸ", Z: "ᶻ" }; function fancy21(_0x2d407d) { return _0x2d407d.split("").map(function (_0x523eea) { if (fancy21chrmap[_0x523eea]) { return fancy21chrmap[_0x523eea]; } else { return _0x523eea; } }).join(""); } const fancy22chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "ค", b: "๒", c: "ς", d: "๔", e: "є", f: "Ŧ", g: "ﻮ", h: "ђ", i: "เ", j: "ן", k: "к", l: "ɭ", m: "๓", n: "ภ", o: "๏", p: "ק", q: "ợ", r: "г", s: "ร", t: "Շ", u: "ย", v: "ש", w: "ฬ", x: "א", y: "ץ", z: "չ", A: "ค", B: "๒", C: "ς", D: "๔", E: "є", F: "Ŧ", G: "ﻮ", H: "ђ", I: "เ", J: "ן", K: "к", L: "ɭ", M: "๓", N: "ภ", O: "๏", P: "ק", Q: "ợ", R: "г", S: "ร", T: "Շ", U: "ย", V: "ש", W: "ฬ", X: "א", Y: "ץ", Z: "չ" }; function fancy22(_0x10a050) { return _0x10a050.split("").map(function (_0x4c4272) { if (fancy22chrmap[_0x4c4272]) { return fancy22chrmap[_0x4c4272]; } else { return _0x4c4272; } }).join(""); } ; const fancy23chrmap = { "0": "𝟘", "1": "𝟙", "2": "𝟚", "3": "𝟛", "4": "𝟜", "5": "𝟝", "6": "𝟞", "7": "𝟟", "8": "𝟠", "9": "𝟡", a: "𝕒", b: "𝕓", c: "𝕔", d: "𝕕", e: "𝕖", f: "𝕗", g: "𝕘", h: "𝕙", i: "𝕚", j: "𝕛", k: "𝕜", l: "𝕝", m: "𝕞", n: "𝕟", o: "𝕠", p: "𝕡", q: "𝕢", r: "𝕣", s: "𝕤", t: "𝕥", u: "𝕦", v: "𝕧", w: "𝕨", x: "𝕩", y: "𝕪", z: "𝕫", A: "𝔸", B: "𝔹", C: "ℂ", D: "𝔻", E: "𝔼", F: "𝔽", G: "𝔾", H: "ℍ", I: "𝕀", J: "𝕁", K: "𝕂", L: "𝕃", M: "𝕄", N: "ℕ", O: "𝕆", P: "ℙ", Q: "ℚ", R: "ℝ", S: "𝕊", T: "𝕋", U: "𝕌", V: "𝕍", W: "𝕎", X: "𝕏", Y: "𝕐", Z: "ℤ" }; function fancy23(_0x389749) { return _0x389749.split("").map(function (_0x45f84d) { if (fancy23chrmap[_0x45f84d]) { return fancy23chrmap[_0x45f84d]; } else { return _0x45f84d; } }).join(""); } ; const fancy24chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝖆", b: "𝖇", c: "𝖈", d: "𝖉", e: "𝖊", f: "𝖋", g: "𝖌", h: "𝖍", i: "𝖎", j: "𝖏", k: "𝖐", l: "𝖑", m: "𝖒", n: "𝖓", o: "𝖔", p: "𝖕", q: "𝖖", r: "𝖗", s: "𝖘", t: "𝖙", u: "𝖚", v: "𝖛", w: "𝖜", x: "𝖝", y: "𝖞", z: "𝖟", A: "𝕬", B: "𝕭", C: "𝕮", D: "𝕯", E: "𝕰", F: "𝕱", G: "𝕲", H: "𝕳", I: "𝕴", J: "𝕵", K: "𝕶", L: "𝕷", M: "𝕸", N: "𝕹", O: "𝕺", P: "𝕻", Q: "𝕼", R: "𝕽", S: "𝕾", T: "𝕿", U: "𝖀", V: "𝖁", W: "𝖂", X: "𝖃", Y: "𝖄", Z: "𝖅" }; function fancy24(_0x59bdfe) { return _0x59bdfe.split("").map(function (_0x1fdbc3) { if (fancy24chrmap[_0x1fdbc3]) { return fancy24chrmap[_0x1fdbc3]; } else { return _0x1fdbc3; } }).join(""); } ; const fancy25chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "🅰", b: "🅱", c: "🅲", d: "🅳", e: "🅴", f: "🅵", g: "🅶", h: "🅷", i: "🅸", j: "🅹", k: "🅺", l: "🅻", m: "🅼", n: "🅽", o: "🅾", p: "🅿", q: "🆀", r: "🆁", s: "🆂", t: "🆃", u: "🆄", v: "🆅", w: "🆆", x: "🆇", y: "🆈", z: "🆉", A: "🅰", B: "🅱", C: "🅲", D: "🅳", E: "🅴", F: "🅵", G: "🅶", H: "🅷", I: "🅸", J: "🅹", K: "🅺", L: "🅻", M: "🅼", N: "🅽", O: "🅾", P: "🅿", Q: "🆀", R: "🆁", S: "🆂", T: "🆃", U: "🆄", V: "🆅", W: "🆆", X: "🆇", Y: "🆈", Z: "🆉" }; function fancy25(_0x92602a) { return _0x92602a.split("").map(function (_0x4ca4ca) { if (fancy25chrmap[_0x4ca4ca]) { return fancy25chrmap[_0x4ca4ca]; } else { return _0x4ca4ca; } }).join(""); } ; const fancy26chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝓪", b: "𝓫", c: "𝓬", d: "𝓭", e: "𝓮", f: "𝓯", g: "𝓰", h: "𝓱", i: "𝓲", j: "𝓳", k: "𝓴", l: "𝓵", m: "𝓶", n: "𝓷", o: "𝓸", p: "𝓹", q: "𝓺", r: "𝓻", s: "𝓼", t: "𝓽", u: "𝓾", v: "𝓿", w: "𝔀", x: "𝔁", y: "𝔂", z: "𝔃", A: "𝓐", B: "𝓑", C: "𝓒", D: "𝓓", E: "𝓔", F: "𝓕", G: "𝓖", H: "𝓗", I: "𝓘", J: "𝓙", K: "𝓚", L: "𝓛", M: "𝓜", N: "𝓝", O: "𝓞", P: "𝓟", Q: "𝓠", R: "𝓡", S: "𝓢", T: "𝓣", U: "𝓤", V: "𝓥", W: "𝓦", X: "𝓧", Y: "𝓨", Z: "𝓩" }; function fancy26(_0x528c4f) { return _0x528c4f.split("").map(function (_0x5cffbb) { if (fancy26chrmap[_0x5cffbb]) { return fancy26chrmap[_0x5cffbb]; } else { return _0x5cffbb; } }).join(""); } ; const fancy27chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝔞", b: "𝔟", c: "𝔠", d: "𝔡", e: "𝔢", f: "𝔣", g: "𝔤", h: "𝔥", i: "𝔦", j: "𝔧", k: "𝔨", l: "𝔩", m: "𝔪", n: "𝔫", o: "𝔬", p: "𝔭", q: "𝔮", r: "𝔯", s: "𝔰", t: "𝔱", u: "𝔲", v: "𝔳", w: "𝔴", x: "𝔵", y: "𝔶", z: "𝔷", A: "𝔄", B: "𝔅", C: "ℭ", D: "𝔇", E: "𝔈", F: "𝔉", G: "𝔊", H: "ℌ", I: "ℑ", J: "𝔍", K: "𝔎", L: "𝔏", M: "𝔐", N: "𝔑", O: "�", P: "𝔓", Q: "𝔔", R: "ℜ", S: "𝔖", T: "𝔗", U: "𝔘", V: "𝔙", W: "𝔚", X: "𝔛", Y: "𝔜", Z: "ℨ" }; function fancy27(_0x1e907b) { return _0x1e907b.split("").map(function (_0x49e1b7) { if (fancy27chrmap[_0x49e1b7]) { return fancy27chrmap[_0x49e1b7]; } else { return _0x49e1b7; } }).join(""); } ; const fancy28chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "a", b: "b", c: "c", d: "d", e: "e", f: "f", g: "g", h: "h", i: "i", j: "j", k: "k", l: "l", m: "m", n: "n", o: "o", p: "p", q: "q", r: "r", s: "s", t: "t", u: "u", v: "v", w: "w", x: "x", y: "y", z: "z", A: "A", B: "B", C: "C", D: "D", E: "E", F: "F", G: "G", H: "H", I: "I", J: "J", K: "K", L: "L", M: "M", N: "N", O: "O", P: "P", Q: "Q", R: "R", S: "S", T: "T", U: "U", V: "V", W: "W", X: "X", Y: "Y", Z: "Z" }; function fancy28(_0x2e4164) { return _0x2e4164.split("").map(function (_0x2baed2) { if (fancy28chrmap[_0x2baed2]) { return fancy28chrmap[_0x2baed2]; } else { return _0x2baed2; } }).join(""); } ; const fancy29chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝒂", b: "𝒃", c: "𝒄", d: "𝒅", e: "𝒆", f: "𝒇", g: "𝒈", h: "𝒉", i: "𝒊", j: "𝒋", k: "𝒌", l: "𝒍", m: "𝒎", n: "𝒏", o: "𝒐", p: "𝒑", q: "𝒒", r: "𝒓", s: "𝒔", t: "𝒕", u: "𝒖", v: "𝒗", w: "𝒘", x: "𝒙", y: "𝒚", z: "𝒛", A: "𝑨", B: "𝑩", C: "𝑪", D: "𝑫", E: "𝑬", F: "𝑭", G: "𝑮", H: "𝑯", I: "𝑰", J: "𝑱", K: "𝑲", L: "𝑳", M: "𝑴", N: "𝑵", O: "𝑶", P: "𝑷", Q: "𝑸", R: "𝑹", S: "𝑺", T: "𝑻", U: "𝑼", V: "𝑽", W: "𝑾", X: "𝑿", Y: "𝒀", Z: "𝒁" }; function fancy29(_0x2a927a) { return _0x2a927a.split("").map(function (_0x5d60d3) { if (fancy29chrmap[_0x5d60d3]) { return fancy29chrmap[_0x5d60d3]; } else { return _0x5d60d3; } }).join(""); } ; const fancy30chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝛥", b: "𝐵", c: "𝐶", d: "𝐷", e: "𝛯", f: "𝐹", g: "𝐺", h: "𝛨", i: "𝛪", j: "𝐽", k: "𝛫", l: "𝐿", m: "𝛭", n: "𝛮", o: "𝛩", p: "𝛲", q: "𝑄", r: "𝑅", s: "𝑆", t: "𝑇", u: "𝑈", v: "𝛻", w: "𝑊", x: "𝛸", y: "𝑌", z: "𝛧", A: "𝛥", B: "𝐵", C: "𝐶", D: "𝐷", E: "𝛯", F: "𝐹", G: "𝐺", H: "𝛨", I: "𝛪", J: "𝐽", K: "𝛫", L: "𝐿", M: "𝛭", N: "𝛮", O: "𝛩", P: "𝛲", Q: "𝑄", R: "𝑅", S: "𝑆", T: "𝑇", U: "𝑈", V: "𝛻", W: "𝑊", X: "𝛸", Y: "𝑌", Z: "𝛧" }; function fancy30(_0xfbaf3f) { return _0xfbaf3f.split("").map(function (_0x2b32ff) { if (fancy30chrmap[_0x2b32ff]) { return fancy30chrmap[_0x2b32ff]; } else { return _0x2b32ff; } }).join(""); } ; const fancy31chrmap = { "0": "𝟬", "1": "𝟭", "2": "𝟮", "3": "𝟯", "4": "𝟰", "5": "𝟱", "6": "𝟲", "7": "𝟳", "8": "𝟴", "9": "𝟵", a: "𝞓", b: "𝞑", c: "𝘾", d: "𝘿", e: "𝞢", f: "𝙁", g: "𝙂", h: "𝞖", i: "𝞘", j: "𝙅", k: "𝞙", l: "𝙇", m: "𝞛", n: "𝞜", o: "𝞗", p: "𝞠", q: "𝙌", r: "𝞒", s: "𝙎", t: "𝙏", u: "𝙐", v: "𝝯", w: "𝙒", x: "𝞦", y: "𝙔", z: "𝙕", A: "𝞓", B: "𝞑", C: "𝘾", D: "𝘿", E: "𝞢", F: "𝙁", G: "𝙂", H: "𝞖", I: "𝞘", J: "𝙅", K: "𝞙", L: "𝙇", M: "𝞛", N: "𝞜", O: "𝞗", P: "𝞠", Q: "𝙌", R: "𝞒", S: "𝙎", T: "𝙏", U: "𝙐", V: "𝝯", W: "𝙒", X: "𝞦", Y: "𝙔", Z: "𝙕" }; function fancy31(_0x45f379) { return _0x45f379.split("").map(function (_0x322ede) { if (fancy31chrmap[_0x322ede]) { return fancy31chrmap[_0x322ede]; } else { return _0x322ede; } }).join(""); } ; const fancy32chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "𝚫", b: "𝚩", c: "𝐂", d: "𝐃", e: "𝚵", f: "𝐅", g: "𝐆", h: "𝚮", i: "𝚰", j: "𝐉", k: "𝐊", l: "𝐋", m: "𝚳", n: "𝚴", o: "𝚯", p: "𝚸", q: "𝐐", r: "𝚪", s: "𝐒", t: "𝚻", u: "𝐔", v: "𝛁", w: "𝐖", x: "𝚾", y: "𝐘", z: "𝚭", A: "𝚫", B: "𝚩", C: "𝐂", D: "𝐃", E: "𝚵", F: "𝐅", G: "𝐆", H: "𝚮", I: "𝚰", J: "𝐉", K: "𝐊", L: "𝐋", M: "𝚳", N: "𝚴", O: "𝚯", P: "𝚸", Q: "𝐐", R: "𝚪", S: "𝐒", T: "𝚻", U: "𝐔", V: "𝛁", W: "𝐖", X: "𝚾", Y: "𝐘", Z: "𝚭" }; function fancy32(_0x5e9e09) { return _0x5e9e09.split("").map(function (_0x12d1f7) { if (fancy32chrmap[_0x12d1f7]) { return fancy32chrmap[_0x12d1f7]; } else { return _0x12d1f7; } }).join(""); } ; const fancy33chrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "ᗩ", b: "ᗷ", c: "ᑕ", d: "ᗞ", e: "ᗴ", f: "ᖴ", g: "Ꮐ", h: "ᕼ", i: "Ꮖ", j: "ᒍ", k: "Ꮶ", l: "し", m: "ᗰ", n: "ᑎ", o: "ᝪ", p: "ᑭ", q: "ᑫ", r: "ᖇ", s: "ᔑ", t: "Ꭲ", u: "ᑌ", v: "ᐯ", w: "ᗯ", x: "᙭", y: "Ꭹ", z: "Ꮓ", A: "ᗩ", B: "ᗷ", C: "ᑕ", D: "ᗞ", E: "ᗴ", F: "ᖴ", G: "Ꮐ", H: "ᕼ", I: "Ꮖ", J: "ᒍ", K: "Ꮶ", L: "し", M: "ᗰ", N: "ᑎ", O: "ᝪ", P: "ᑭ", Q: "ᑫ", R: "ᖇ", S: "ᔑ", T: "Ꭲ", U: "ᑌ", V: "ᐯ", W: "ᗯ", X: "᙭", Y: "Ꭹ", Z: "Ꮓ" }; function fancy33(_0x6b64a4) { return _0x6b64a4.split("").map(function (_0x4565a2) { if (fancy33chrmap[_0x4565a2]) { return fancy33chrmap[_0x4565a2]; } else { return _0x4565a2; } }).join(""); } ; const tinyChrmap = { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", a: "ᴀ", b: "ʙ", c: "ᴄ", d: "ᴅ", e: "ᴇ", f: "ꜰ", g: "ɢ", h: "ʜ", i: "ɪ", j: "ᴊ", k: "ᴋ", l: "ʟ", m: "ᴍ", n: "ɴ", o: "ᴏ", p: "ᴘ", q: "ϙ", r: "ʀ", s: "ꜱ", t: "ᴛ", u: "ᴜ", v: "ᴠ", w: "ᴡ", x: "x", y: "ʏ", z: "ᴢ", A: "A", B: "ʙ", C: "C", D: "D", E: "E", F: "F", G: "G", H: "H", I: "I", J: "J", K: "K", L: "L", M: "M", N: "N", O: "O", P: "P", Q: "Q", R: "R", S: "S", T: "T", U: "U", V: "V", W: "W", X: "X", Y: "Y", Z: "Z" }; function tiny(_0x2ff0d9) { return _0x2ff0d9.split("").map(function (_0x2640b0) { if (tinyChrmap[_0x2640b0]) { return tinyChrmap[_0x2640b0]; } else { return _0x2640b0; } }).join(""); } ; function ladybug(_0x4108f2) { return _0x4108f2.split("").map(function (_0x284418) { if (ladybugCharMap[_0x284418]) { return ladybugCharMap[_0x284418]; } else { return _0x284418; } }).join(""); } function runes(_0xf72d74) { return _0xf72d74.split("").map(function (_0x3c1372) { if (runesCharMap[_0x3c1372]) { return runesCharMap[_0x3c1372]; } else { return _0x3c1372; } }).join(""); } function serif_B(_0x9e7f4f) { return _0x9e7f4f.split("").map(function (_0x544930) { if (serif_BCharMap[_0x544930]) { return serif_BCharMap[_0x544930]; } else { return _0x544930; } }).join(""); } function serif_BI(_0x451a18) { return _0x451a18.split("").map(function (_0x22ce9c) { if (serif_BICharMap[_0x22ce9c]) { return serif_BICharMap[_0x22ce9c]; } else { return _0x22ce9c; } }).join(""); } function serif_I(_0x4079ac) { return _0x4079ac.split("").map(function (_0x531c47) { if (serif_ICharMap[_0x531c47]) { return serif_ICharMap[_0x531c47]; } else { return _0x531c47; } }).join(""); } function wingdings(_0x919ebd) { return _0x919ebd.split("").map(function (_0x463c5d) { if (wingdingsCharMap[_0x463c5d]) { return wingdingsCharMap[_0x463c5d]; } else { return _0x463c5d; } }).join(""); } function vaporwave(_0x39adc4) { return _0x39adc4.split("").map(function (_0x10f1f2) { if (vaporwaveCharMap[_0x10f1f2]) { return vaporwaveCharMap[_0x10f1f2]; } else { return _0x10f1f2; } }).join(""); } function sparrow(_0x19aeac) { return _0x19aeac.split("").map(function (_0x28ed2f) { if (sparrowCharMap[_0x28ed2f]) { return sparrowCharMap[_0x28ed2f]; } else { return _0x28ed2f; } }).join(""); } function typewriter(_0x39fc27) { return _0x39fc27.split("").map(function (_0x5af4d5) { if (typewriterCharMap[_0x5af4d5]) { return typewriterCharMap[_0x5af4d5]; } else { return _0x5af4d5; } }).join(""); } function analucia(_0xad74ca) { return _0xad74ca.split("").map(function (_0x46cba1) { if (analuciaCharMap[_0x46cba1]) { return analuciaCharMap[_0x46cba1]; } else { return _0x46cba1; } }).join(""); } function StyleText() { this.tools = { flip: { init: function () { for (i in this.map) { this.map[this.map[i]] = i; } }, encode: function (_0x4c61a1) { var _0x1c475c = []; var _0xe651d3; for (var _0x3c9e85 = 0, _0x1d9124 = _0x4c61a1.length; _0x3c9e85 < _0x1d9124; _0x3c9e85++) { _0xe651d3 = _0x4c61a1.charAt(_0x3c9e85); if (_0x3c9e85 > 0 && (_0xe651d3 == "̤" || _0xe651d3 == "̗" || _0xe651d3 == "̖" || _0xe651d3 == "̮")) { _0xe651d3 = this.map[_0x4c61a1.charAt(_0x3c9e85 - 1) + _0xe651d3]; _0x1c475c.pop(); } else { _0xe651d3 = this.map[_0xe651d3]; if (typeof _0xe651d3 == "undefined") { _0xe651d3 = _0x4c61a1.charAt(_0x3c9e85); } } _0x1c475c.push(_0xe651d3); } return _0x1c475c.reverse().join(""); }, decode: function (_0x22e373) { var _0x2060b7 = []; var _0x5e2cd3; for (var _0x553e2b = 0, _0x17d8b4 = _0x22e373.length; _0x553e2b < _0x17d8b4; _0x553e2b++) { _0x5e2cd3 = _0x22e373.charAt(_0x553e2b); if (_0x553e2b > 0 && (_0x5e2cd3 == "̤" || _0x5e2cd3 == "̗" || _0x5e2cd3 == "̖" || _0x5e2cd3 == "̮")) { _0x5e2cd3 = this.map[_0x22e373.charAt(_0x553e2b - 1) + _0x5e2cd3]; _0x2060b7.pop(); } else { _0x5e2cd3 = this.map[_0x5e2cd3]; if (typeof _0x5e2cd3 == "undefined") { _0x5e2cd3 = _0x22e373.charAt(_0x553e2b); } } _0x2060b7.push(_0x5e2cd3); } return _0x2060b7.reverse().join(""); }, map: { a: "ɐ", b: "q", c: "ɔ", d: "p", e: "ǝ", f: "ɟ", g: "ɓ", h: "ɥ", i: "ı", j: "ɾ", k: "ʞ", l: "l", m: "ɯ", n: "u", r: "ɹ", t: "ʇ", v: "ʌ", w: "ʍ", y: "ʎ", A: "∀", B: "ᙠ", C: "Ɔ", D: "ᗡ", E: "Ǝ", F: "Ⅎ", G: "⅁", J: "ſ", K: "⋊", L: "˥", M: "W", P: "Ԁ", Q: "Ό", R: "ᴚ", T: "⊥", U: "∩", V: "Λ", Y: "⅄", 1: "⇂", 2: "ᄅ", 3: "Ɛ", 4: "ㄣ", 5: "ގ", 6: "9", 7: "ㄥ", "&": "⅋", ".": "˙", "\"": "„", ";": "؛", "[": "]", "(": ")", "{": "}", "?": "¿", "!": "¡", "'": ",", "<": ">", "‾": "_", "¯": "_", "‿": "⁀", "⁅": "⁆", "∴": "∵", "\r": "\n", ß: "ᙠ", "̈": "̤", ä: "ɐ̤", ö: "o̤", ü: "n̤", Ä: "∀̤", Ö: "O̤", Ü: "∩̤", "´": " ̗", é: "ǝ̗", á: "ɐ̗", ó: "o̗", ú: "n̗", É: "Ǝ̗", Á: "∀̗", Ó: "O̗", Ú: "∩̗", "`": " ̖", è: "ǝ̖", à: "ɐ̖", ò: "o̖", ù: "n̖", È: "Ǝ̖", À: "∀̖", Ò: "O̖", Ù: "∩̖", "^": " ̮", ê: "ǝ̮", â: "ɐ̮", ô: "o̮", û: "n̮", Ê: "Ǝ̮", Â: "∀̮", Ô: "O̮", Û: "∩̮" } }, mirror: { init: function () { for (i in this.map) { this.map[this.map[i]] = i; } }, encode: function (_0x5dbbbd) { var _0x1bc293 = []; var _0x312f57; var _0x5e38d0 = []; for (var _0x23125c = 0, _0x1d48cf = _0x5dbbbd.length; _0x23125c < _0x1d48cf; _0x23125c++) { _0x312f57 = _0x5dbbbd.charAt(_0x23125c); if (_0x23125c > 0 && (_0x312f57 == "̈" || _0x312f57 == "̀" || _0x312f57 == "́" || _0x312f57 == "̂")) { _0x312f57 = this.map[_0x5dbbbd.charAt(_0x23125c - 1) + _0x312f57]; _0x1bc293.pop(); } else { _0x312f57 = this.map[_0x312f57]; if (typeof _0x312f57 == "undefined") { _0x312f57 = _0x5dbbbd.charAt(_0x23125c); } } if (_0x312f57 == "\n") { _0x5e38d0.push(_0x1bc293.reverse().join("")); _0x1bc293 = []; } else { _0x1bc293.push(_0x312f57); } } _0x5e38d0.push(_0x1bc293.reverse().join("")); return _0x5e38d0.join("\n"); }, decode: function (_0x3632ae) { var _0x17778c = []; var _0x57a5a2; var _0x4eed67 = []; for (var _0x27d28d = 0, _0x5ec24b = _0x3632ae.length; _0x27d28d < _0x5ec24b; _0x27d28d++) { _0x57a5a2 = _0x3632ae.charAt(_0x27d28d); if (_0x27d28d > 0 && (_0x57a5a2 == "̈" || _0x57a5a2 == "̀" || _0x57a5a2 == "́" || _0x57a5a2 == "̂")) { _0x57a5a2 = this.map[_0x3632ae.charAt(_0x27d28d - 1) + _0x57a5a2]; _0x17778c.pop(); } else { _0x57a5a2 = this.map[_0x57a5a2]; if (typeof _0x57a5a2 == "undefined") { _0x57a5a2 = _0x3632ae.charAt(_0x27d28d); } } if (_0x57a5a2 == "\n") { _0x4eed67.push(_0x17778c.reverse().join("")); _0x17778c = []; } else { _0x17778c.push(_0x57a5a2); } } _0x4eed67.push(_0x17778c.reverse().join("")); return _0x4eed67.join("\n"); }, map: { a: "ɒ", b: "d", c: "ɔ", e: "ɘ", f: "Ꮈ", g: "ǫ", h: "ʜ", j: "ꞁ", k: "ʞ", l: "|", n: "ᴎ", p: "q", r: "ɿ", s: "ꙅ", t: "ƚ", y: "ʏ", z: "ƹ", B: "ᙠ", C: "Ɔ", D: "ᗡ", E: "Ǝ", F: "ꟻ", G: "Ꭾ", J: "Ⴑ", K: "⋊", L: "⅃", N: "Ͷ", P: "ꟼ", Q: "Ọ", R: "Я", S: "Ꙅ", Z: "Ƹ", 1: "", 2: "", 3: "", 4: "", 5: "", 6: "", 7: "", "&": "", ";": "", "[": "]", "(": ")", "{": "}", "?": "⸮", "<": ">", ä: "ɒ̈", ß: "ᙠ", "´": "`", é: "ɘ̀", á: "ɒ̀", ó: "ò", ú: "ù", É: "Ǝ̀", Á: "À", Ó: "Ò", Ú: "Ù", "`": "´", è: "ɘ́", à: "ɒ́", È: "Ǝ́", ê: "ɘ̂", â: "ɒ̂", Ê: "Ǝ̂", Ø: "ᴓ", ø: "ᴓ" } }, creepify: { init: function () { for (var _0x3ed76f = 768; _0x3ed76f <= 789; _0x3ed76f++) { this.diacriticsTop.push(String.fromCharCode(_0x3ed76f)); } for (var _0x3ed76f = 790; _0x3ed76f <= 819; _0x3ed76f++) { if (_0x3ed76f != 794 && _0x3ed76f != 795) { this.diacriticsBottom.push(String.fromCharCode(_0x3ed76f)); } } this.diacriticsTop.push(String.fromCharCode(794)); this.diacriticsTop.push(String.fromCharCode(795)); for (var _0x3ed76f = 820; _0x3ed76f <= 824; _0x3ed76f++) { this.diacriticsMiddle.push(String.fromCharCode(_0x3ed76f)); } for (var _0x3ed76f = 825; _0x3ed76f <= 828; _0x3ed76f++) { this.diacriticsBottom.push(String.fromCharCode(_0x3ed76f)); } for (var _0x3ed76f = 829; _0x3ed76f <= 836; _0x3ed76f++) { this.diacriticsTop.push(String.fromCharCode(_0x3ed76f)); } this.diacriticsTop.push(String.fromCharCode(836)); this.diacriticsBottom.push(String.fromCharCode(837)); this.diacriticsTop.push(String.fromCharCode(838)); this.diacriticsBottom.push(String.fromCharCode(839)); this.diacriticsBottom.push(String.fromCharCode(840)); this.diacriticsBottom.push(String.fromCharCode(841)); this.diacriticsTop.push(String.fromCharCode(842)); this.diacriticsTop.push(String.fromCharCode(843)); this.diacriticsTop.push(String.fromCharCode(844)); this.diacriticsBottom.push(String.fromCharCode(845)); this.diacriticsBottom.push(String.fromCharCode(846)); this.diacriticsTop.push(String.fromCharCode(848)); this.diacriticsTop.push(String.fromCharCode(849)); this.diacriticsTop.push(String.fromCharCode(850)); this.diacriticsBottom.push(String.fromCharCode(851)); this.diacriticsBottom.push(String.fromCharCode(852)); this.diacriticsBottom.push(String.fromCharCode(853)); this.diacriticsBottom.push(String.fromCharCode(854)); this.diacriticsTop.push(String.fromCharCode(855)); this.diacriticsTop.push(String.fromCharCode(856)); this.diacriticsBottom.push(String.fromCharCode(857)); this.diacriticsBottom.push(String.fromCharCode(858)); this.diacriticsTop.push(String.fromCharCode(859)); this.diacriticsBottom.push(String.fromCharCode(860)); this.diacriticsTop.push(String.fromCharCode(861)); this.diacriticsTop.push(String.fromCharCode(861)); this.diacriticsBottom.push(String.fromCharCode(863)); this.diacriticsTop.push(String.fromCharCode(864)); this.diacriticsTop.push(String.fromCharCode(865)); }, encode: function (_0x182934) { var _0x5556dd = ""; var _0x9c2e83; for (i in _0x182934) { _0x9c2e83 = _0x182934[i]; if (this.options.middle) { _0x9c2e83 += this.diacriticsMiddle[Math.floor(Math.random() * this.diacriticsMiddle.length)]; } if (this.options.top) { var _0x518b07 = this.diacriticsTop.length - 1; for (var _0x44447e = 0, _0x3e2ff9 = this.options.maxHeight - Math.random() * (this.options.randomization / 100 * this.options.maxHeight); _0x44447e < _0x3e2ff9; _0x44447e++) { _0x9c2e83 += this.diacriticsTop[Math.floor(Math.random() * _0x518b07)]; } } if (this.options.bottom) { var _0x507009 = this.diacriticsBottom.length - 1; for (var _0x44447e = 0, _0x3e2ff9 = this.options.maxHeight - Math.random() * (this.options.randomization / 100 * this.options.maxHeight); _0x44447e < _0x3e2ff9; _0x44447e++) { _0x9c2e83 += this.diacriticsBottom[Math.floor(Math.random() * _0x507009)]; } } _0x5556dd += _0x9c2e83; } return _0x5556dd; }, decode: function (_0x45cbee) { var _0x2bae43 = ""; var _0x59f449; for (i in _0x45cbee) { _0x59f449 = _0x45cbee[i].charCodeAt(0); if (_0x59f449 < 768 || _0x59f449 > 865) { _0x2bae43 += _0x45cbee[i]; } } return _0x2bae43; }, diacriticsTop: [], diacriticsMiddle: [], diacriticsBottom: [], options: { top: true, middle: true, bottom: true, maxHeight: 15, randomization: 100 } }, bubbles: { init: function () { for (var _0x35d6c1 = 49; _0x35d6c1 <= 57; _0x35d6c1++) { this.map[String.fromCharCode(_0x35d6c1)] = String.fromCharCode(_0x35d6c1 + 9263); } this.map["0"] = "⓪"; for (var _0x35d6c1 = 65; _0x35d6c1 <= 90; _0x35d6c1++) { this.map[String.fromCharCode(_0x35d6c1)] = String.fromCharCode(_0x35d6c1 + 9333); } for (var _0x35d6c1 = 97; _0x35d6c1 <= 122; _0x35d6c1++) { this.map[String.fromCharCode(_0x35d6c1)] = String.fromCharCode(_0x35d6c1 + 9327); } for (_0x35d6c1 in this.map) { this.mapInverse[this.map[_0x35d6c1]] = _0x35d6c1; } }, encode: function (_0x53a2d9) { var _0x5f0bcd = ""; var _0x10b579; var _0x21a512 = true; for (i in _0x53a2d9) { _0x10b579 = this.map[_0x53a2d9[i]]; if (typeof _0x10b579 == "undefined") { if (_0x53a2d9[i].charCodeAt(0) >= 33) { _0x10b579 = _0x53a2d9[i] + String.fromCharCode(8413); if (!_0x21a512) { _0x10b579 = String.fromCharCode(8239) + String.fromCharCode(160) + String.fromCharCode(160) + String.fromCharCode(8239) + _0x10b579; } } else { _0x10b579 = _0x53a2d9[i]; } } _0x5f0bcd += _0x10b579; _0x21a512 = _0x10b579 == "\n"; } return _0x5f0bcd; }, decode: function (_0x20479c) { var _0x4d3c5f = ""; var _0x1d8088; var _0x6c626c = ""; for (i in _0x20479c) { _0x1d8088 = this.mapInverse[_0x20479c[i]]; _0x4d3c5f += typeof _0x1d8088 == "undefined" ? _0x20479c[i] : _0x1d8088; } for (i in _0x4d3c5f) { _0x1d8088 = _0x4d3c5f[i].charCodeAt(0); if (_0x1d8088 != 160 && _0x1d8088 != 8239 && _0x1d8088 != 8413) { _0x6c626c += _0x4d3c5f[i]; } } return _0x6c626c; }, map: {}, mapInverse: {} }, squares: { init: function () {}, encode: function (_0x331a98) { var _0x210eb9 = ""; var _0x51c2c9; var _0x3406f6 = true; for (i in _0x331a98) { if (_0x331a98[i].charCodeAt(0) >= 33) { _0x51c2c9 = _0x331a98[i] + String.fromCharCode(8414); if (!_0x3406f6) { _0x51c2c9 = String.fromCharCode(8239) + String.fromCharCode(160) + String.fromCharCode(160) + String.fromCharCode(8239) + _0x51c2c9; } } else { _0x51c2c9 = _0x331a98[i]; } _0x210eb9 += _0x51c2c9; _0x3406f6 = _0x51c2c9 == "\n"; } return _0x210eb9; }, decode: function (_0x202946) { var _0xce01b0 = ""; var _0x5efcf1; for (i in _0x202946) { _0x5efcf1 = _0x202946[i].charCodeAt(0); if (_0x5efcf1 != 160 && _0x5efcf1 != 8239 && _0x5efcf1 != 8414) { _0xce01b0 += _0x202946[i]; } } return _0xce01b0; } }, roundsquares: { init: function () {}, encode: function (_0xf92002) { var _0x4db8e8 = ""; var _0x3562c1; var _0x103b22 = true; for (i in _0xf92002) { if (_0xf92002[i].charCodeAt(0) >= 33) { _0x3562c1 = _0xf92002[i] + String.fromCharCode(8419); if (!_0x103b22) { _0x3562c1 = String.fromCharCode(160) + String.fromCharCode(160) + String.fromCharCode(160) + _0x3562c1; } } else { _0x3562c1 = _0xf92002[i]; } _0x4db8e8 += _0x3562c1; _0x103b22 = _0x3562c1 == "\n"; } return _0x4db8e8; }, decode: function (_0x20d02f) { var _0x22875a = ""; var _0x591d3c; for (i in _0x20d02f) { _0x591d3c = _0x20d02f[i].charCodeAt(0); if (_0x591d3c != 160 && _0x591d3c != 8239 && _0x591d3c != 8419) { _0x22875a += _0x20d02f[i]; } } return _0x22875a; } }, bent: { init: function () { for (i in this.map) { this.map[this.map[i]] = i; } }, encode: function (_0x2bd8c6) { var _0x4961a6 = ""; var _0x131715; for (var _0x173688 = 0, _0x37dfe5 = _0x2bd8c6.length; _0x173688 < _0x37dfe5; _0x173688++) { _0x131715 = this.map[_0x2bd8c6.charAt(_0x173688)]; if (typeof _0x131715 == "undefined") { _0x131715 = _0x2bd8c6.charAt(_0x173688); } _0x4961a6 += _0x131715; } return _0x4961a6; }, decode: function (_0x47e0cc) { var _0x259ad8 = ""; var _0x3991b0; for (var _0x3f7895 = 0, _0x5b733e = _0x47e0cc.length; _0x3f7895 < _0x5b733e; _0x3f7895++) { _0x3991b0 = this.map[_0x47e0cc.charAt(_0x3f7895)]; if (typeof _0x3991b0 == "undefined") { _0x3991b0 = _0x47e0cc.charAt(_0x3f7895); } _0x259ad8 += _0x3991b0; } return _0x259ad8; }, map: { a: "ą", b: "ҍ", c: "ç", d: "ժ", e: "ҽ", f: "ƒ", g: "ց", h: "հ", i: "ì", j: "ʝ", k: "ҟ", l: "Ӏ", m: "ʍ", n: "ղ", o: "օ", p: "ք", q: "զ", r: "ɾ", s: "ʂ", t: "է", u: "մ", v: "ѵ", w: "ա", x: "×", y: "վ", z: "Հ", A: "Ⱥ", B: "β", C: "↻", D: "Ꭰ", E: "Ɛ", F: "Ƒ", G: "Ɠ", H: "Ƕ", I: "į", J: "ل", K: "Ҡ", L: "Ꝉ", M: "Ɱ", N: "ហ", O: "ට", P: "φ", Q: "Ҩ", R: "འ", S: "Ϛ", T: "Ͳ", U: "Ա", V: "Ỽ", W: "చ", X: "ჯ", Y: "Ӌ", Z: "ɀ", 0: "⊘", 1: "������", 2: "ϩ", 3: "Ӡ", 4: "५", 5: "Ƽ", 6: "Ϭ", 7: "7", 8: "������", 9: "९", "&": "⅋", "(": "{", ")": "}", "{": "(", "}": ")", ä: "ą̈", ö: "օ̈", ü: "մ̈", Ä: "Ⱥ̈", Ö: "ට̈", Ü: "Ա̈", é: "ҽ́", á: "ą́", ó: "օ́", ú: "մ́", É: "Ɛ́", Á: "Ⱥ́", Ó: "ට́", Ú: "Ա́", è: "ҽ̀", à: "ą̀", ò: "օ̀", ù: "մ̀", È: "Ɛ̀", À: "Ⱥ̀", Ò: "ට̀", Ù: "Ա̀", ê: "ҽ̂", â: "ą̂", ô: "օ̂", û: "մ̂", Ê: "Ɛ̂", Â: "Ⱥ̂", Ô: "ට̂", Û: "Ա̂" } }, tiny: { init: function () { for (i in this.map) { this.map[this.map[i]] = i; } }, encode: function (_0x13b7f9) { var _0x5122af = ""; var _0x5da8da; _0x13b7f9 = _0x13b7f9.toUpperCase(); for (var _0xacc3c = 0, _0x510054 = _0x13b7f9.length; _0xacc3c < _0x510054; _0xacc3c++) { _0x5da8da = this.map[_0x13b7f9.charAt(_0xacc3c)]; if (typeof _0x5da8da == "undefined") { _0x5da8da = _0x13b7f9.charAt(_0xacc3c); } _0x5122af += _0x5da8da; } return _0x5122af; }, decode: function (_0x23cbe1) { var _0x191cae = ""; var _0x115ec1; for (var _0xceab33 = 0, _0x265950 = _0x23cbe1.length; _0xceab33 < _0x265950; _0xceab33++) { _0x115ec1 = this.map[_0x23cbe1.charAt(_0xceab33)]; if (typeof _0x115ec1 == "undefined") { _0x115ec1 = _0x23cbe1.charAt(_0xceab33); } _0x191cae += _0x115ec1; } return _0x191cae; }, map: { A: "ᴀ", B: "ʙ", C: "ᴄ", D: "ᴅ", E: "ᴇ", F: "ꜰ", G: "ɢ", H: "ʜ", I: "ɪ", J: "ᴊ", K: "ᴋ", L: "ʟ", M: "ᴍ", N: "ɴ", O: "ᴏ", P: "ᴘ", Q: "Q", R: "ʀ", S: "ꜱ", T: "ᴛ", U: "ᴜ", V: "ᴠ", W: "ᴡ", X: "x", Y: "ʏ", Z: "ᴢ" } } }; for (i in this.tools) { this.tools[i].init(); } this.getHTML = function (_0x2287a6) { var _0x1b9ebf = ""; var _0x24371e; var _0x47dcad = true; var _0x3e622d = 0; var _0x1f9ccc = 0; for (var _0x4a2746 = 0, _0x2e443d = _0x2287a6.length; _0x4a2746 < _0x2e443d; _0x4a2746++) { _0x24371e = _0x2287a6.charCodeAt(_0x4a2746); if (_0x24371e == 10 || _0x24371e == 13) { _0x1b9ebf += "
\n"; _0x47dcad = true; } else if (_0x24371e == 32) { if (_0x47dcad) { _0x1b9ebf += " "; _0x47dcad = false; } else { _0x1b9ebf += " "; _0x47dcad = true; } } else { if (_0x24371e >= 55296 && _0x24371e <= 56319) { _0x3e622d = _0x24371e; _0x1f9ccc = 0; } else if (_0x3e622d > 0) { if (_0x24371e >= 56320 && _0x24371e <= 57343) { _0x1f9ccc = (_0x3e622d - 55296) * 1024 + (_0x24371e - 56320) + 65536; } _0x3e622d = 0; } else { _0x1f9ccc = _0x24371e; } if (_0x1f9ccc != 0) { _0x1b9ebf += "&#x" + _0x1f9ccc.toString(16) + ";"; _0x47dcad = true; } } } return _0x1b9ebf; }; } module.exports = { StyleText: new StyleText(), randomStyle: _0xea2a4f => { let _0x1cc2cc = listall(_0xea2a4f); return _0x1cc2cc[Math.floor(Math.random() * _0x1cc2cc.length)]; }, listall: listall, strikeThrough: strikeThrough, wingdings: wingdings, vaporwave: vaporwave, typewriter: typewriter, analucia: analucia, tildeStrikeThrough: tildeStrikeThrough, underline: underline, doubleUnderline: doubleUnderline, slashThrough: slashThrough, sparrow: sparrow, heartsBetween: heartsBetween, arrowBelow: arrowBelow, crossAboveBelow: crossAboveBelow, creepify: creepify, bubbles: bubbles, mirror: mirror, squares: squares, roundsquares: roundsquares, flip: flip, tiny: tiny, createMap: createMap, serif_I: serif_I, manga: manga, ladybug: ladybug, runes: runes, serif_B: serif_B, serif_BI: serif_BI, serif_I: serif_I, fancy1: fancy1, fancy2: fancy2, fancy3: fancy3, fancy4: fancy4, fancy5: fancy5, fancy6: fancy6, fancy7: fancy7, fancy8: fancy8, fancy9: fancy9, fancy10: fancy10, fancy11: fancy11, fancy12: fancy12, fancy13: fancy13, fancy14: fancy14, fancy15: fancy15, fancy16: fancy16, fancy17: fancy17, fancy18: fancy18, fancy19: fancy19, fancy20: fancy20, fancy21: fancy21, fancy22: fancy22, fancy23: fancy23, fancy24: fancy24, fancy25: fancy25, fancy26: fancy26, fancy27: fancy27, fancy28: fancy28, fancy29: fancy29, fancy30: fancy30, fancy31: fancy31, fancy32: fancy32, fancy33: fancy33 }; ================================================ FILE: lib/ttt.d.ts ================================================ export declare class TicTacToe { /* X PlayerName */ playerX: string; /* Y PlayerName */ playerY: string; /* X if true, Y if false */ _currentTurn: boolean; _x: number; _y: number; _turns: number; constructor(playerX: string, playerY: string); get board(): number; turn(player, index: number): boolean; turn(player, x: number, y: number): boolean; } ================================================ FILE: lib/ttt.js ================================================ class TicTacToe { constructor(playerX = "x", playerO = "o") { this.playerX = playerX; this.playerO = playerO; this._currentTurn = false; this._x = 0; this._o = 0; this.turns = 0; } get board() { return this._x | this._o; } get currentTurn() {return this._currentTurn ? this.playerO : this.playerX;} get enemyTurn() { return this._currentTurn ? this.playerX : this.playerO; } static check(state) { for (let combo of [7, 56, 73, 84, 146, 273, 292, 448]) if ((state & combo) === combo) return !0; return !1; } /** * ```js * TicTacToe.toBinary(1, 2) // 0b010000000 * ``` */ static toBinary(x = 0, y = 0) { if (x < 0 || x > 2 || y < 0 || y > 2) throw new Error("invalid position"); return 1 << (x + 3 * y); } /** * @param player `0` is `X`, `1` is `O` * * - `-3` `Game Ended ` * - `-2` `Invalid` * - `-1` `Invalid Position` * - ` 0` `Position Occupied` * - ` 1` `Sucess` * @returns {-3|-2|-1|0|1} */ turn(player = 0, x = 0, y) { if (this.board === 511) return -3; let pos = 0; if (y == null) { if (x < 0 || x > 8) return -1; pos = 1 << x; } else { if (x < 0 || x > 2 || y < 0 || y > 2) return -1; pos = TicTacToe.toBinary(x, y); } if (this._currentTurn ^ player) return -2; if (this.board & pos) return 0; this[this._currentTurn ? "_o" : "_x"] |= pos; this._currentTurn = !this._currentTurn; this.turns++; return 1; } /** * @returns {('X'|'O'|1|2|3|4|5|6|7|8|9)[]} */ static render(boardX = 0, boardO = 0) { let x = parseInt(boardX.toString(2), 4); let y = parseInt(boardO.toString(2), 4) * 2; return [...(x + y).toString(4).padStart(9, "0")] .reverse() .map((value, index) => (value == 1 ? "X" : value == 2 ? "O" : ++index)); } /** * @returns {('X'|'O'|1|2|3|4|5|6|7|8|9)[]} */ render() { return TicTacToe.render(this._x, this._o); } get winner() { let x = TicTacToe.check(this._x); let o = TicTacToe.check(this._o); return x ? this.playerX : o ? this.playerO : false; } } new TicTacToe().turn; module.exports = TicTacToe; ================================================ FILE: package.json ================================================ { "name": "Venocyber-md", "version": "2.5.0", "description": "Multi device whatsapp bot by kingjux ....", "main": "index.js", "type": "commonjs", "scripts": { "run": "pm2 start . --deep-monitoring --attach --name Kingjux || node .", "Kingjux ": "pm2 start . --deep-monitoring --attach --name Kingjux || node .", "start": "pm2 start . --attach --name Kingjux", "stop": "pm2 stop Kingjux", "heroku-postbuild": "git clone https://github.com/Kingjux/Venocyber-md.git temp && mv temp/.git .git && rm -rf temp && npx puppeteer@latest install --y", "fis-heroku-postbuild": "git clone https://github.com/Kingjux/Venocyber-md.git temp1 && rsync -av temp1/* ./ && rsync -av temp1/.* ./ && rm -rf temp1 && npm i && npx puppeteer@latest install", "postinstall": "npx puppeteer@latest install --y" }, "author": "Kingjux", "license": "Apache-2.0", "dependencies": { "@adiwajshing/keyed-db": "^0.2.4", "@hapi/boom": "^9.1.4", "@whiskeysockets/baileys": "6.6.0", "acrcloud": "^1.4.0", "anime-character-random": "latest", "aptoide-scraper": "^1.0.1", "async-g-i-s": "^1.4.0", "axios": "^0.24.0", "canvas": "^2.11.2", "cheerio": "^1.0.0-rc.10", "child_process": "^1.0.2", "crypto-js": "latest", "discord-mongoose-economy": "^1.2.0", "discord-xp": "^1.1.16", "dotenv": "^16.0.0", "express": "^4.18.1", "ffmpeg": "^0.0.4", "file-type": "^16.5.3", "fluent-ffmpeg": "^2.1.2", "form-data": "^4.0.0", "fs-extra": "^10.1.0", "google-it": "^1.6.4", "google-tts-api": "^2.0.2", "heroku-client": "3.1.0", "human-readable": "^0.2.1", "jimp": "^0.16.1", "jsdom": "^16.4.0", "koyeb-api-client": "latest", "link-preview-js": "^3.0.0", "moment-timezone": "^0.5.34", "mongoose": "^6.2.1", "mumaker": "^2.0.0", "node-cron": "^3.0.0", "node-fetch": "^2.6.1", "node-webpmux": "^3.1.0", "pastebin-js": "latest", "path": "^0.12.7", "pg": "^8.11.3", "pm2": "^5.2.0", "puppeteer": "latest", "qrcode": "latest", "secktor-pack": "latest", "simple-git": "^3.15.1", "translatte": "^3.0.1", "util": "^0.12.4", "wa-sticker-formatter": "^4.3.2", "youtubei.js": "^7.0.0", "ytdl-core": "^4.11.5", "ytdl-secktor": "^0.0.1-development" }, "directories": { "lib": "lib", "plugins": "plugins" }, "devDependencies": { "pino": "^7.0.5" }, "repository": { "type": "git", "url": "git+https://github.com/Kingjux/Venocyber-md.git" }, "bugs": { "url": "https://github.com/Kingjux/Venocyber-md/issues" }, "homepage": "https://github.com/Kingjux/Venocyber-md#readme" } ================================================ FILE: plugins/AI.js ================================================ function _0xde35(_0x3c021f,_0x223db4){const _0x5c7de7=_0x5c7d();return _0xde35=function(_0xde3550,_0x3dad48){_0xde3550=_0xde3550-0x148;let _0x277173=_0x5c7de7[_0xde3550];return _0x277173;},_0xde35(_0x3c021f,_0x223db4);}const _0x542c94=_0xde35;(function(_0x288d8a,_0x8c2fd3){const _0x5df167=_0xde35,_0x11b7c5=_0x288d8a();while(!![]){try{const _0x25d792=-parseInt(_0x5df167(0x15d))/0x1*(parseInt(_0x5df167(0x14e))/0x2)+parseInt(_0x5df167(0x159))/0x3+parseInt(_0x5df167(0x14f))/0x4+-parseInt(_0x5df167(0x15c))/0x5+parseInt(_0x5df167(0x15b))/0x6+-parseInt(_0x5df167(0x148))/0x7+-parseInt(_0x5df167(0x16c))/0x8;if(_0x25d792===_0x8c2fd3)break;else _0x11b7c5['push'](_0x11b7c5['shift']());}catch(_0x4d328b){_0x11b7c5['push'](_0x11b7c5['shift']());}}}(_0x5c7d,0x822e7));const {france}=require(_0x542c94(0x14c)),traduire=require(_0x542c94(0x14a)),{default:axios}=require(_0x542c94(0x162));france({'nomCom':_0x542c94(0x168),'reaction':'🛰','categorie':'IA'},async(_0x29250d,_0x160eda,_0x562a5f)=>{const _0xadfb1b=_0x542c94,{repondre:_0x4dd2bc,ms:_0x31a48d,arg:_0x427160}=_0x562a5f;if(!_0x427160||!_0x427160[0x0])return _0x4dd2bc(_0xadfb1b(0x157));try{const _0x348532=await traduire(_0x427160[_0xadfb1b(0x156)]('\x20'),{'to':'en'});console[_0xadfb1b(0x151)](_0x348532),fetch(_0xadfb1b(0x161)+_0x348532)[_0xadfb1b(0x16a)](_0xbe7f96=>_0xbe7f96[_0xadfb1b(0x169)]())[_0xadfb1b(0x16a)](_0x3fb31d=>{const _0x3ac14b=_0xadfb1b,_0x1d9bce=_0x3fb31d[_0x3ac14b(0x16b)];console['log'](_0x1d9bce),traduire(_0x1d9bce,{'to':'en'})['then'](_0x2363e2=>{_0x4dd2bc(_0x2363e2);})[_0x3ac14b(0x160)](_0x1b180e=>{const _0x5aaa16=_0x3ac14b;console[_0x5aaa16(0x15e)](_0x5aaa16(0x163),_0x1b180e),_0x4dd2bc(_0x5aaa16(0x15f));});})[_0xadfb1b(0x160)](_0x1a9985=>{const _0x1b5ee1=_0xadfb1b;console[_0x1b5ee1(0x15e)]('Error\x20requesting\x20BrainShop\x20:',_0x1a9985),_0x4dd2bc('Error\x20requesting\x20BrainShop');});}catch(_0x27effc){_0x4dd2bc('oops\x20an\x20error\x20:\x20'+_0x27effc);}}),france({'nomCom':'dalle','reaction':'🛰','categorie':'IA'},async(_0x3f396c,_0x513a02,_0x19cf01)=>{const _0x591662=_0x542c94,{repondre:_0x5cf0ce,arg:_0x4bb653,ms:_0x39ecc4}=_0x19cf01;try{if(!_0x4bb653||_0x4bb653[_0x591662(0x152)]===0x0)return _0x5cf0ce('Please\x20enter\x20the\x20necessary\x20information\x20to\x20generate\x20the\x20image.');const _0x3888dc=_0x4bb653['join']('\x20'),_0x569dc5=await axios['get'](_0x591662(0x165)+_0x3888dc),_0x2d71b1=_0x569dc5['data'];let _0x4c7523=_0x591662(0x149);if(_0x2d71b1['status']&&_0x2d71b1[_0x591662(0x14d)]&&_0x2d71b1['data']){const _0x2f9937=_0x2d71b1[_0x591662(0x167)];_0x513a02[_0x591662(0x164)](_0x3f396c,{'image':{'url':_0x2f9937},'caption':_0x4c7523},{'quoted':_0x39ecc4});}else _0x5cf0ce('Error\x20during\x20image\x20generation.');}catch(_0x5d4179){console[_0x591662(0x15e)](_0x591662(0x153),_0x5d4179[_0x591662(0x155)]||_0x591662(0x158)),_0x5cf0ce(_0x591662(0x154));}}),france({'nomCom':_0x542c94(0x14b),'reaction':'🛰','categorie':'IA'},async(_0x24971e,_0x1141e7,_0x3e08c9)=>{const _0x16e33b=_0x542c94,{repondre:_0x2dfe66,arg:_0x31a83b,ms:_0x5461c5}=_0x3e08c9;if(!_0x31a83b||_0x31a83b[_0x16e33b(0x152)]===0x0)return _0x2dfe66(_0x16e33b(0x150));const _0x578fe8=_0x31a83b[_0x16e33b(0x156)]('\x20'),_0x4ee7b9=await fetch('https://api.maher-zubair.tech/ai/chatgptv4?q='+_0x578fe8),_0x586ceb=await _0x4ee7b9[_0x16e33b(0x169)]();await _0x2dfe66(_0x586ceb[_0x16e33b(0x166)]),console[_0x16e33b(0x151)](_0x586ceb[_0x16e33b(0x15a)]);});function _0x5c7d(){const _0x17bde2=['Une\x20erreur\x20s\x27est\x20produite','1732746eFqefs','completion','5960310LHhgyW','2340160FUfRaR','61tPsBKp','error','Error\x20when\x20translating\x20into\x20French','catch','http://api.brainshop.ai/get?bid=177607&key=NwzhALqeO1kubFVD&uid=[uid]&msg=','axios','Error\x20when\x20translating\x20into\x20French\x20:','sendMessage','https://vihangayt.me/tools/photoleap?q=','result','data','bot','json','then','cnt','9129696uwrlCB','737485jTJNCc','*powered\x20by\x20VENOCYBER-MD*','../framework/traduction','gpt','../framework/france','owner','6922TcXLAG','3551904OnLRkR','i\x20am\x20Venocyber\x20GPT4\x20Please\x20ask\x20a\x20question\x20i\x20can\x20assist\x20with\x20any\x20question.\x20powered\x20by\x20Venocyber\x20\x20md\x20bot.','log','length','Erreur:','Oops,\x20an\x20error\x20occurred\x20while\x20processing\x20your\x20request','message','join','yes\x20I\x27m\x20listening\x20to\x20you\x20i\x20am\x20Los\x20Rios\x20\x20md\x20i\x20am\x20programmed\x20by\x20Venocyber\x20Tech\x20🦜💫.'];_0x5c7d=function(){return _0x17bde2;};return _0x5c7d();} ================================================ FILE: plugins/Anime.smd ================================================ /** //══════════════════════════════════════════════════════════════════════════════════════════════════════// // // // WHATSAPP BOT-MD BETA // // // // V:1.2.8 // // // // ███████╗██╗ ██╗██╗ ██╗ █████╗ ██╗██╗ ███╗ ███╗██████╗ // // ██╔════╝██║ ██║██║ ██║██╔══██╗██║██║ ████╗ ████║██╔══██╗ // // ███████╗██║ ██║███████║███████║██║██║ ██╔████╔██║██║ ██║ // // ╚════██║██║ ██║██╔══██║██╔══██║██║██║ ██║╚██╔╝██║██║ ██║ // // ███████║╚██████╔╝██║ ██║██║ ██║██║███████╗ ██║ ╚═╝ ██║██████╔╝ // // ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚══════╝ ╚═╝ ╚═╝╚═════╝ // // // // // // // //══════════════════════════════════════════════════════════════════════════════════════════════════════// * * @project_name : Suhail-Md * @author : Suhail Tech Info * @youtube : https://www.youtube.com/@SuhailTechInfo * @description : Suhail-Md ,A Multi-functional whatsapp user bot. * @version 1.2.8 * * * Created By Suhail Tech Info. * © 2024 Suhail-Md. */ let Suhail_Md = "Suhail MD Whatsapp bot md" const _0xac0d53=_0x42f2;(function(_0x26ee10,_0x350759){const _0x2cd569=_0x42f2,_0x46f681=_0x26ee10();while(!![]){try{const _0x26be96=parseInt(_0x2cd569(0x21f))/0x1*(-parseInt(_0x2cd569(0x227))/0x2)+-parseInt(_0x2cd569(0x226))/0x3*(parseInt(_0x2cd569(0x209))/0x4)+-parseInt(_0x2cd569(0x1cf))/0x5+-parseInt(_0x2cd569(0x202))/0x6+-parseInt(_0x2cd569(0x1d1))/0x7*(-parseInt(_0x2cd569(0x22c))/0x8)+parseInt(_0x2cd569(0x1f5))/0x9*(-parseInt(_0x2cd569(0x1f9))/0xa)+parseInt(_0x2cd569(0x223))/0xb;if(_0x26be96===_0x350759)break;else _0x46f681['push'](_0x46f681['shift']());}catch(_0x314666){_0x46f681['push'](_0x46f681['shift']());}}}(_0x4350,0x2c6db));const Config=require(_0xac0d53(0x1c4));let {fancytext,sendGImages,lang,tiny,runtime,formatp,botpic,prefix,sck1,smd}=require(_0xac0d53(0x204));function _0x42f2(_0x4c4beb,_0x58a5b6){const _0x4350f7=_0x4350();return _0x42f2=function(_0x42f227,_0x4336a3){_0x42f227=_0x42f227-0x1c4;let _0x216e7d=_0x4350f7[_0x42f227];return _0x216e7d;},_0x42f2(_0x4c4beb,_0x58a5b6);}const axios=require(_0xac0d53(0x21e)),fetch=require(_0xac0d53(0x22d)),{fetchJson,getBuffer}=require(_0xac0d53(0x216));function _0x4350(){const _0x3aa30d=['\x0a*Author📌:*\x20','random','*\x0a*•Speed:\x20','floor','https://newsapi.org/v2/everything?q=','*---「\x20Anime\x20Wallpaper\x20」---*','10vterwW','*\x0a*•Attack:\x20','neko','../lib/','*Here\x20we\x20go😊!!!!*','Whats\x20news\x20in\x20Anime','*Uhh\x20Please\x20Give\x20Me\x20Poki\x20Name/num*','https://api.waifu.pics/nsfw/','url','https://pokeapi.co/api/v2/pokemon/','stats','axios','242672FiLQTl','102969imHSeo','megumin','Anime\x20Pics','17776880wyrEKl','get','jid','541329hXXpag','2JWimIL','types','abilities',',Here\x20we\x20go😊!!!!*','json','128528MGJVBy','node-fetch','*\x0a*•Abilities:\x20','base_experience','push','New\x20Anime\x20Info','Anime\x20Pics\x20HD','*Title🔰:*\x20','name','pokemon','Anime\x20Wallpaper\x20Random','error','sendMessage','demon','../config','*\x0a*•Height:\x20','front_default','Anime\x20Series','trap','https://api.waifu.pics/sfw/','shift','sprites','loli','*---「\x20Poke\x20Pic\x20」---*','result','1434905OFtyIm','log','7pncldD','Anime\x20images','Naruto','animewall','ability','1736295xNxVMd','source','base_stat','chat','split','Sends\x20image\x20of\x20pokemon.','publishedAt','Sends\x20a\x20Neko\x20Image\x20in\x20chat','foxgirl','map','*\x0a*•Base\x20Stat:\x20','2301172sMBiSS','*-----「\x20Anime\x20Image\x20」-----*','https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/','Sends\x20info\x20of\x20pokemon\x20in\x20current\x20chat.','animenews','https://nekos.life/api/v2/img/fox_girl','*\x0a*•Base\x20Experience:\x20','Manga\x20News\x20today','*\x0a*•Type:\x20','12uzEKTO','content','New\x20Anime','To\x20get\x20Naruto\x20Random\x20Videos','caption','/video.json','https://waifu.pics/api/sfw/shinobu','12896280WdEPAA','*\x0a*•Special\x20Defense:','title','urlToImage','333MybTLU','\x0a*Source♦️:*\x20','type','Sends\x20image\x20of\x20loli.','93760HSzxXG','❌\x20Could\x20not\x20found\x20any\x20pokemon\x20with\x20that\x20name','\x0a*Created\x20On☘️:*\x20','waifu','animepic','nsfw','To\x20get\x20Waifu\x20Random\x20Pics','reply','\x0a*More\x20on✨:*\x20','1276296dClDgX','naruto','../lib','bot','Anime\x20New\x20News','\x0a\x0a*Content🧩:*\x20','Anime\x20News\x20Today','8SWbiXO','length','Anime\x20News\x20today','./commands/Anime.js/sendAnime()\x0a'];_0x4350=function(){return _0x3aa30d;};return _0x4350();}async function sendAnime(_0x55a475,_0x509539,_0x4e419e,_0x835b9a=''){const _0x5d573b=_0xac0d53;function _0xf3e051(){const _0x5cee94=_0x42f2,_0x58922f=[_0x5cee94(0x1d3),_0x5cee94(0x201),_0x5cee94(0x1df),_0x5cee94(0x1d6),'get',_0x5cee94(0x22b),_0x5cee94(0x1fb),_0x5cee94(0x1c9),'articles',_0x5cee94(0x238),_0x5cee94(0x21a),_0x5cee94(0x1da),_0x5cee94(0x1e5),_0x5cee94(0x1de),_0x5cee94(0x1f1),_0x5cee94(0x1d9),_0x5cee94(0x1d0),'url',_0x5cee94(0x1dc),_0x5cee94(0x1ef),_0x5cee94(0x1e6),_0x5cee94(0x210),_0x5cee94(0x1ce),_0x5cee94(0x1fc),_0x5cee94(0x1fe),_0x5cee94(0x207),_0x5cee94(0x1c8),'author',_0x5cee94(0x215),_0x5cee94(0x1cc),'length','4267560Bkglyi',_0x5cee94(0x1e1),'demon',_0x5cee94(0x1ea),_0x5cee94(0x1f3),_0x5cee94(0x203),'data',_0x5cee94(0x20c),_0x5cee94(0x1d7),_0x5cee94(0x220),_0x5cee94(0x205),'1786770BYzQsB',_0x5cee94(0x221),_0x5cee94(0x233),_0x5cee94(0x22a),_0x5cee94(0x213),'1894515XGwMrc',_0x5cee94(0x211),_0x5cee94(0x237),_0x5cee94(0x20d)];return _0xf3e051=function(){return _0x58922f;},_0xf3e051();}const _0x2d1f22=_0x2f0bdf;(function(_0x62479,_0x27d9b1){const _0x3171bf=_0x42f2,_0x384220=_0x2f0bdf,_0x1ce537=_0x62479();while(!![]){try{const _0x9dcce7=-parseInt(_0x384220(0x14c))/0x1*(-parseInt(_0x384220(0x152))/0x2)+-parseInt(_0x384220(0x15a))/0x3+parseInt(_0x384220(0x144))/0x4+parseInt(_0x384220(0x14e))/0x5*(-parseInt(_0x384220(0x146))/0x6)+-parseInt(_0x384220(0x153))/0x7+-parseInt(_0x384220(0x143))/0x8+parseInt(_0x384220(0x165))/0x9;if(_0x9dcce7===_0x27d9b1)break;else _0x1ce537[_0x3171bf(0x230)](_0x1ce537[_0x3171bf(0x1ca)]());}catch(_0x58dc6a){_0x1ce537['push'](_0x1ce537[_0x3171bf(0x1ca)]());}}}(_0xf3e051,0x67e17));function _0x2f0bdf(_0x12f513,_0x42e578){const _0x36af85=_0xf3e051();return _0x2f0bdf=function(_0x362f95,_0x29060b){_0x362f95=_0x362f95-0x143;let _0x43aa24=_0x36af85[_0x362f95];return _0x43aa24;},_0x2f0bdf(_0x12f513,_0x42e578);}try{if(_0x4e419e===_0x2d1f22(0x16e)||_0x4e419e===_0x2d1f22(0x173)||_0x4e419e===_0x2d1f22(0x14f)){let _0x379467=_0x835b9a['split']('|')[0x0]||'',_0x4c4376=_0x835b9a[_0x2d1f22(0x162)]('|')[0x1]||'1',_0x117530=_0x835b9a[_0x2d1f22(0x162)]('|')[0x1]?'':'\x20*'+_0x4e419e+_0x2d1f22(0x151),_0x43e16d=_0x379467==_0x2d1f22(0x16f)?_0x2d1f22(0x161)+(_0x4e419e==='megumin'?_0x2d1f22(0x171):_0x2d1f22(0x16e)):_0x2d1f22(0x15e)+_0x4e419e;for(let _0x4e7334=0x0;_0x4e7334<_0x4c4376;_0x4e7334++){let _0x576105=await(await fetch(_0x43e16d))[_0x2d1f22(0x15c)]();await _0x55a475[_0x5d573b(0x205)][_0x5d573b(0x238)](_0x509539[_0x2d1f22(0x166)],{'image':{'url':_0x576105[_0x5d573b(0x21b)]},'caption':_0x117530},{'quoted':_0x509539});}}else{if(_0x4e419e===_0x2d1f22(0x174)||_0x4e419e===_0x2d1f22(0x164)){let _0x385596=_0x4e419e===_0x2d1f22(0x174)?_0x5d573b(0x1f0):_0x2d1f22(0x16b),_0x3e303e=await axios[_0x2d1f22(0x15b)](_0x385596);await _0x55a475[_0x2d1f22(0x14d)][_0x2d1f22(0x160)](_0x509539[_0x2d1f22(0x166)],{'image':{'url':_0x3e303e[_0x2d1f22(0x149)][_0x2d1f22(0x168)]}},{'quoted':_0x509539});}else{if(_0x4e419e===_0x2d1f22(0x145)||_0x4e419e===_0x2d1f22(0x148)){let _0x3a01f7=_0x5d573b(0x1e3)+(_0x4e419e===_0x5d573b(0x239)?'Demonslayer':_0x2d1f22(0x157))+_0x2d1f22(0x16a);const _0x37dffc=await fetchJson(_0x3a01f7),_0x51dced=_0x37dffc['result'][Math[_0x2d1f22(0x16c)](Math[_0x5d573b(0x20e)]()*_0x37dffc[_0x2d1f22(0x16d)][_0x2d1f22(0x175)])][_0x5d573b(0x21b)];await _0x55a475[_0x2d1f22(0x14d)][_0x2d1f22(0x160)](_0x509539[_0x2d1f22(0x166)],{'video':{'url':_0x51dced},'caption':_0x5d573b(0x217)});}else{if(_0x4e419e===_0x2d1f22(0x163)){let _0x509613=await axios['get'](_0x2d1f22(0x154)+_0x835b9a+'&domains=techcrunch.com,animenewsnetwork.com,myanimelist.net,comingsoon.net,crunchyroll.com&language=en&sortby=publishedat&apikey=cd4116be09ef4a0caceedf21b6258460&pageSize=8'),_0x7f6c91=_0x509613[_0x2d1f22(0x149)][_0x2d1f22(0x15f)];_0x7f6c91[_0x2d1f22(0x159)](async(_0x3a0939,_0x38234d)=>{const _0x307ccb=_0x5d573b,_0x4a7def=_0x2d1f22;try{_0x55a475['bot'][_0x307ccb(0x238)](_0x509539[_0x4a7def(0x166)],{'image':{'url':_0x3a0939[_0x307ccb(0x1f4)]},'caption':_0x4a7def(0x150)+_0x3a0939[_0x4a7def(0x147)]+_0x4a7def(0x170)+_0x3a0939[_0x307ccb(0x1eb)]+_0x4a7def(0x156)+_0x3a0939[_0x4a7def(0x172)]+_0x307ccb(0x1f6)+_0x3a0939[_0x4a7def(0x14b)][_0x307ccb(0x234)]+_0x4a7def(0x15d)+_0x3a0939[_0x4a7def(0x169)]+_0x4a7def(0x158)+_0x3a0939[_0x4a7def(0x168)]+'\x0a\x0a'+Config[_0x307ccb(0x1ee)]+'*'},{'quoted':_0x509539});}catch(_0x120a1d){}});}}}}}catch(_0x29e730){console[_0x2d1f22(0x167)](_0x2d1f22(0x14a),_0x29e730),await _0x509539[_0x2d1f22(0x155)](_0x29e730);}}smd({'pattern':_0xac0d53(0x1fc),'desc':_0xac0d53(0x1ff),'category':_0xac0d53(0x222),'filename':__filename},async(_0x3f90ca,_0x18c6e6,{cmdName:_0x44f36d})=>{try{return await sendAnime(_0x3f90ca,_0x3f90ca,'waifu',_0x18c6e6);}catch{}}),smd({'pattern':_0xac0d53(0x215),'category':'Anime\x20Pics','desc':_0xac0d53(0x1dd),'filename':__filename},async(_0x1cd273,_0xb77fec,{cmdName:_0x3c6957})=>{const _0x3d84ff=_0xac0d53;try{return await sendAnime(_0x1cd273,_0x1cd273,_0x3d84ff(0x215),_0xb77fec);}catch{}}),smd({'pattern':'megumin','desc':_0xac0d53(0x1ff),'category':_0xac0d53(0x222),'filename':__filename},async(_0x5a7e62,_0x8aed59,{cmdName:_0x3d1dd2})=>{const _0xe616aa=_0xac0d53;try{return await sendAnime(_0x5a7e62,_0x5a7e62,_0xe616aa(0x221),_0x8aed59);}catch{}}),smd({'pattern':'loli','category':_0xac0d53(0x222),'filename':__filename,'desc':_0xac0d53(0x1f8)},async _0x11eae1=>{try{return await sendAnime(_0x11eae1,_0x11eae1,'loli');}catch{}}),smd({'pattern':_0xac0d53(0x1de),'category':'Anime\x20Pics','desc':'Sends\x20image\x20of\x20Fox\x20Girl\x20Anime.','filename':__filename},async _0x545d0f=>{const _0xfc5c0d=_0xac0d53;try{return await sendAnime(_0x545d0f,_0x545d0f,_0xfc5c0d(0x1de));}catch{}}),smd({'pattern':_0xac0d53(0x239),'alias':['ds'],'desc':_0xac0d53(0x1ed),'category':'Anime\x20Pics','filename':__filename},async _0x88a702=>{const _0xfef9b=_0xac0d53;try{return await sendAnime(_0x88a702,_0x88a702,_0xfef9b(0x239));}catch{}}),smd({'pattern':_0xac0d53(0x203),'desc':'To\x20get\x20Naruto\x20Random\x20Videos','category':_0xac0d53(0x222),'filename':__filename},async _0x5ded99=>{const _0x6eb918=_0xac0d53;try{return await sendAnime(_0x5ded99,_0x5ded99,_0x6eb918(0x203));}catch{}}),smd({'pattern':'pokepic','category':_0xac0d53(0x222),'filename':__filename,'desc':_0xac0d53(0x1db)},async(_0x583a8f,_0x26e084)=>{const _0x918df4=_0xac0d53;try{return await sendGImages(_0x583a8f,_0x26e084+'Pokemon\x20Pics\x20only\x20HD\x20',_0x918df4(0x1cd),_0x26e084);}catch{}}),smd({'pattern':_0xac0d53(0x1fd),'category':_0xac0d53(0x222),'filename':__filename,'desc':_0xac0d53(0x1d2)},async(_0x446e94,_0xff2591)=>{const _0x228143=_0xac0d53;try{return await sendGImages(_0x446e94,_0xff2591+_0x228143(0x232),_0x228143(0x1e2),_0xff2591);}catch{}}),smd({'pattern':_0xac0d53(0x1d4),'category':_0xac0d53(0x222),'desc':_0xac0d53(0x236),'filename':__filename},async(_0x1be31e,_0x45a934)=>{const _0xb1b6c8=_0xac0d53;try{return await sendGImages(_0x1be31e,_0x45a934+'anime\x20wallpaper\x20for\x20desktop\x20full\x20hd',_0xb1b6c8(0x212),_0x45a934);}catch{}});let qq=[_0xac0d53(0x208),_0xac0d53(0x1ec),'Uocoming\x20Anime\x20News',_0xac0d53(0x231),_0xac0d53(0x218),_0xac0d53(0x1c7),_0xac0d53(0x1e8),_0xac0d53(0x206),_0xac0d53(0x20b)];smd({'pattern':_0xac0d53(0x1e5),'category':_0xac0d53(0x222),'desc':'Sends\x20Anime\x20News\x20in\x20chat','filename':__filename},async(_0x119ada,_0x37095e,{cmdName:_0x3a6817})=>{const _0x151330=_0xac0d53;try{let _0x1f2ab3=qq[Math[_0x151330(0x210)](Math[_0x151330(0x20e)]()*qq[_0x151330(0x20a)])]+_0x37095e;return await sendAnime(message,message,_0x3a6817,_0x1f2ab3);}catch{}}),smd({'pattern':_0xac0d53(0x235),'category':'Anime\x20Pics','filename':__filename,'desc':_0xac0d53(0x1e4)},async(_0x127028,_0x60d63)=>{const _0x5705d2=_0xac0d53;try{if(!_0x60d63)return _0x127028[_0x5705d2(0x200)](_0x5705d2(0x219));try{let {data:_0x4e5976}=await axios[_0x5705d2(0x224)](_0x5705d2(0x21c)+_0x60d63);if(!_0x4e5976[_0x5705d2(0x234)])return _0x127028[_0x5705d2(0x200)](_0x5705d2(0x1fa));let _0x8d1690='*•Name:\x20'+_0x4e5976[_0x5705d2(0x234)]+'*\x0a*•Pokedex\x20ID:\x20'+_0x4e5976['id']+_0x5705d2(0x1c5)+_0x4e5976['height']+'*\x0a*•Weight:\x20'+_0x4e5976['weight']+_0x5705d2(0x22e)+_0x4e5976['abilities'][0x0][_0x5705d2(0x1d5)][_0x5705d2(0x234)]+',\x20'+_0x4e5976[_0x5705d2(0x229)][0x1][_0x5705d2(0x1d5)][_0x5705d2(0x234)]+_0x5705d2(0x1e7)+_0x4e5976[_0x5705d2(0x22f)]+_0x5705d2(0x1e9)+_0x4e5976[_0x5705d2(0x228)][0x0][_0x5705d2(0x1f7)][_0x5705d2(0x234)]+_0x5705d2(0x1e0)+_0x4e5976[_0x5705d2(0x21d)][0x0][_0x5705d2(0x1d8)]+_0x5705d2(0x214)+_0x4e5976[_0x5705d2(0x21d)][0x1][_0x5705d2(0x1d8)]+'*\x0a*•Defense:\x20'+_0x4e5976[_0x5705d2(0x21d)][0x2]['base_stat']+'*\x0a*•Special\x20Attack:\x20'+_0x4e5976[_0x5705d2(0x21d)][0x3][_0x5705d2(0x1d8)]+_0x5705d2(0x1f2)+_0x4e5976[_0x5705d2(0x21d)][0x4][_0x5705d2(0x1d8)]+_0x5705d2(0x20f)+_0x4e5976[_0x5705d2(0x21d)][0x5]['base_stat']+'*\x0a';return await Suhail[_0x5705d2(0x205)]['sendMessage'](_0x127028[_0x5705d2(0x225)],{'image':{'url':_0x4e5976[_0x5705d2(0x1cb)][_0x5705d2(0x1c6)]},'caption':_0x8d1690},{'quoted':_0x127028});}catch(_0x2fa93f){_0x127028[_0x5705d2(0x200)]('*_Ahh,Couldn\x27t\x20found\x20any\x20pokemon._*');}}catch{}}); ================================================ FILE: plugins/Bible.js ================================================ import fetch from 'node-fetch'; import { translate } from '@vitalets/google-translate-api'; const BASE_URL = 'https://bible-api.com'; let bibleChapterHandler = async (m, { conn }) => { try { // Extract the chapter number or name from the command text. let chapterInput = m.text.split(' ').slice(1).join('').trim(); if (!chapterInput) { throw new Error(`Please specify the chapter number or name. Example: -bible john 3:16`); } // Encode the chapterInput to handle special characters chapterInput = encodeURIComponent(chapterInput); // Make an API request to fetch the chapter information. let chapterRes = await fetch(`${BASE_URL}/${chapterInput}`); if (!chapterRes.ok) { throw new Error(`Please specify the chapter number or name. Example: -bible john 3:16`); } let chapterData = await chapterRes.json(); let translatedChapterHindi = await translate(chapterData.text, { to: 'hi', autoCorrect: true }); let translatedChapterEnglish = await translate(chapterData.text, { to: 'en', autoCorrect: true }); let bibleChapter = ` 📖 *The Holy Bible*\n 📜 *Chapter ${chapterData.reference}*\n Type: ${chapterData.translation_name}\n Number of verses: ${chapterData.verses.length}\n 🔮 *Chapter Content (English):*\n ${translatedChapterEnglish.text}\n 🔮 *Chapter Content (Hindi):*\n ${translatedChapterHindi.text}`; m.reply(bibleChapter); } catch (error) { console.error(error); m.reply(`Error: ${error.message}`); } }; bibleChapterHandler.help = ['bible [chapter_number|chapter_name]']; bibleChapterHandler.tags = ['religion']; bibleChapterHandler.command = ['bible', 'chapter']; export default bibleChapterHandler; ================================================ FILE: plugins/Quran-surah.js ================================================ import fetch from 'node-fetch'; import { translate } from '@vitalets/google-translate-api'; let quranSurahHandler = async (m, { conn }) => { try { // Extract the surah number or name from the command text. let surahInput = m.text.split(' ')[1]; if (!surahInput) { throw new Error(`Please specify the surah number or name`); } let surahListRes = await fetch('https://quran-endpoint.vercel.app/quran'); let surahList = await surahListRes.json(); let surahData = surahList.data.find(surah => surah.number === Number(surahInput) || surah.asma.ar.short.toLowerCase() === surahInput.toLowerCase() || surah.asma.en.short.toLowerCase() === surahInput.toLowerCase() ); if (!surahData) { throw new Error(`Couldn't find surah with number or name "${surahInput}"`); } let res = await fetch(`https://quran-endpoint.vercel.app/quran/${surahData.number}`); if (!res.ok) { let error = await res.json(); throw new Error(`API request failed with status ${res.status} and message ${error.message}`); } let json = await res.json(); // Translate tafsir from Bahasa Indonesia to Urdu let translatedTafsirUrdu = await translate(json.data.tafsir.id, { to: 'ur', autoCorrect: true }); // Translate tafsir from Bahasa Indonesia to English let translatedTafsirEnglish = await translate(json.data.tafsir.id, { to: 'en', autoCorrect: true }); let quranSurah = ` 🕌 *Quran: The Holy Book*\n 📜 *Surah ${json.data.number}: ${json.data.asma.ar.long} (${json.data.asma.en.long})*\n Type: ${json.data.type.en}\n Number of verses: ${json.data.ayahCount}\n 🔮 *Explanation (Urdu):*\n ${translatedTafsirUrdu.text}\n 🔮 *Explanation (English):*\n ${translatedTafsirEnglish.text}`; m.reply(quranSurah); if (json.data.recitation.full) { conn.sendFile(m.chat, json.data.recitation.full, 'recitation.mp3', null, m, true, { type: 'audioMessage', ptt: true }); } } catch (error) { console.error(error); m.reply(`Error: ${error.message}`); } }; quranSurahHandler.help = ['quran [surah_number|surah_name]']; quranSurahHandler.tags = ['quran', 'surah']; quranSurahHandler.command = ['quran', 'surah'] export default quranSurahHandler; ================================================ FILE: plugins/Readme.md ================================================ ### VENOCYBER MD WHATSAPP BOT ================================================ FILE: plugins/_Sysode.js ================================================ const { exec } = require("child_process"); const { plugins, smd, Config } = require("../lib"); let s_ser = true; smd( { cmdname: "shutdown", info: "To restart bot", type: "tools", fromMe: s_ser, filename: __filename, }, async (_0x514d3c) => { const { exec: _0x1912df } = require("child_process"); _0x514d3c.reply("Shutting Down"); _0x1912df("pm2 stop all"); } ); smd({ cmdname: "restart", info: "To restart bot", type: "tools", fromMe: s_ser, filename: __filename }, async _0x514d3c => { const { exec: _0x1912df } = require("child_process"); _0x514d3c.reply("Restarting"); _0x1912df("pm2 restart all"); }); smd({ cmdname: "plugins", alias: ["plugin"], type: "owner", info: "Shows list of all externally installed modules", fromMe: s_ser, filename: __filename, use: "" }, async (_0x2a10d6, _0x2420b0) => { try { let _0x4e5e2e = await plugins(_0x2a10d6, "plugins", _0x2420b0); return await _0x2a10d6.send(!_0x4e5e2e ? "*_There's no plugin install in " + Config.botname + "_*" : !_0x2420b0 ? "*All Installed Modules are:-*\n\n" + _0x4e5e2e : _0x4e5e2e); } catch (_0x21e335) { _0x2a10d6.error(_0x21e335 + " \n\ncmdName plugins\n"); } }); smd({ pattern: "remove", alias: ["uninstall"], type: "owner", info: "removes external modules.", fromMe: s_ser, filename: __filename, use: "" }, async (_0x1510c9, _0x40e763) => { if (!_0x40e763) { return await _0x1510c9.reply("*_Uhh Please, Provide Me Plugin Name_*"); } if (_0x40e763 === "alls") { return await _0x1510c9.reply(await plugins("remove", "all", __dirname)); } try { await _0x1510c9.send(await plugins(_0x1510c9, "remove", _0x40e763, __dirname), {}, "", _0x1510c9); } catch {} }); smd({ cmdname: "install", type: "owner", info: "Installs external modules..", fromMe: s_ser, filename: __filename, use: "" }, async (_0xf71b5c, _0x2bdd09) => { let _0x2b0828 = _0x2bdd09 ? _0x2bdd09 : _0xf71b5c.quoted ? _0xf71b5c.quoted.text : ""; if (!_0x2b0828.toLowerCase().includes("https")) { return await _0xf71b5c.send("*_Uhh Please, Provide Me Plugin Url_*"); } await _0xf71b5c.reply(await plugins(_0xf71b5c, "install", _0x2b0828, __dirname)); }); ================================================ FILE: plugins/_help.smd ================================================ /** //══════════════════════════════════════════════════════════════════════════════════════════════════════// // // // WHATSAPP BOT-MD BETA // // // // V:1.2.9 // // // // ███████╗██╗ ██╗██╗ ██╗ █████╗ ██╗██╗ ███╗ ███╗██████╗ // // ██╔════╝██║ ██║██║ ██║██╔══██╗██║██║ ████╗ ████║██╔══██╗ // // ███████╗██║ ██║███████║███████║██║██║ ██╔████╔██║██║ ██║ // // ╚════██║██║ ██║██╔══██║██╔══██║██║██║ ██║╚██╔╝██║██║ ██║ // // ███████║╚██████╔╝██║ ██║██║ ██║██║███████╗ ██║ ╚═╝ ██║██████╔╝ // // ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚══════╝ ╚═╝ ╚═╝╚═════╝ // // // // // // // //══════════════════════════════════════════════════════════════════════════════════════════════════════// * * @project_name : Suhail-Md * @author : Suhail Tech Info * @youtube : https://www.youtube.com/@SuhailTechInfo * @description : Suhail-Md ,A Multi-functional whatsapp user bot. * @version 1.2.9 * * * Created By Suhail Tech Info. * © 2024 Suhail-Md. ⛥┌┤ */ const os = require('os') let menus = false const moment = require("moment-timezone") const fs = require("fs") const Config = require('../config') let { fancytext, tlang, tiny,bot_,alive, runtime, formatp, smsg ,getAdmin , send , react ,botpic,sleep, getBuffer ,prefix, sck1,smd,sck ,getTime ,formatDate , groupdb,smdJson,smdBuffer, isAdmin } = require("../lib"); const long = String.fromCharCode(8206) const readmore = long.repeat(4001) const sᴜʜᴀɪʟ_ᴍᴅ = require('../lib/plugins') const { Sticker, createSticker, StickerTypes } = require("wa-sticker-formatter"); const axios = require('axios') const fetch = require("node-fetch"); const util = require("util"); const events = sᴜʜᴀɪʟ_ᴍᴅ; const { commands } = require('../lib'); const { exec } = require("child_process") const translatte = require("translatte"); const cheerio = require('cheerio'); const path = require('path'); const cron = require('node-cron'); var cronStart = false /* let "USER_IMAGES" = { "description": "Put IMAGES/VIDEOS URL, Make Sure Url have extention like .mp4,.jpg,.png etc", "value": "https://telegra.ph/file/d90855d13352c8aae3981.mp4", "required" :false }, */ const _0xec06de=_0x46ca;(function(_0x298596,_0x34f6c5){const _0x3244a8=_0x46ca,_0x321c15=_0x298596();while(!![]){try{const _0x509437=parseInt(_0x3244a8(0x145))/0x1+-parseInt(_0x3244a8(0x182))/0x2+-parseInt(_0x3244a8(0x13d))/0x3+parseInt(_0x3244a8(0x19f))/0x4+parseInt(_0x3244a8(0x138))/0x5+parseInt(_0x3244a8(0x170))/0x6*(-parseInt(_0x3244a8(0x136))/0x7)+parseInt(_0x3244a8(0x189))/0x8*(parseInt(_0x3244a8(0x177))/0x9);if(_0x509437===_0x34f6c5)break;else _0x321c15['push'](_0x321c15['shift']());}catch(_0x9836be){_0x321c15['push'](_0x321c15['shift']());}}}(_0x5ee9,0x8651b),smd({'cmdname':_0xec06de(0x146),'alias':['categories',_0xec06de(0x1c5),_0xec06de(0x1b7)],'desc':_0xec06de(0x128),'category':_0xec06de(0x1b6)},async(_0x1cd669,_0x57de2c)=>{const _0x5cb1a4=_0xec06de;try{if(_0x57de2c[_0x5cb1a4(0x166)]('\x20')[0x0]){let _0x230969=[];const _0x442b40=commands['find'](_0x3aa129=>_0x3aa129[_0x5cb1a4(0x124)]===_0x57de2c[_0x5cb1a4(0x166)]('\x20')[0x0][_0x5cb1a4(0x13c)]());if(_0x442b40){_0x230969['push'](_0x5cb1a4(0x125)+_0x442b40[_0x5cb1a4(0x124)]);if(_0x442b40[_0x5cb1a4(0x1b7)])_0x230969[_0x5cb1a4(0x1ae)](_0x5cb1a4(0x16f)+_0x442b40[_0x5cb1a4(0x1b7)]);if(_0x442b40[_0x5cb1a4(0x1a5)]&&_0x442b40[_0x5cb1a4(0x1a5)][0x0])_0x230969[_0x5cb1a4(0x1ae)](_0x5cb1a4(0x158)+_0x442b40['alias'][_0x5cb1a4(0x1c3)](',\x20'));if(_0x442b40[_0x5cb1a4(0x121)])_0x230969[_0x5cb1a4(0x1ae)](_0x5cb1a4(0x13a)+_0x442b40['desc']);if(_0x442b40[_0x5cb1a4(0x17c)])_0x230969[_0x5cb1a4(0x1ae)]('*〽️Usage:*\x0a\x20```'+prefix+_0x442b40['pattern']+'\x20'+_0x442b40[_0x5cb1a4(0x17c)]+_0x5cb1a4(0x18e));await _0x1cd669[_0x5cb1a4(0x1b5)](_0x230969[_0x5cb1a4(0x1c3)]('\x0a'));}}const _0x28c18d={};commands['map'](async(_0x464ff0,_0x5d772f)=>{const _0xa17a73=_0x5cb1a4;if(_0x464ff0['dontAddCommandList']===![]&&_0x464ff0[_0xa17a73(0x124)]!==undefined){if(!_0x28c18d[_0x464ff0['category']])_0x28c18d[_0x464ff0[_0xa17a73(0x1b7)]]=[];_0x28c18d[_0x464ff0[_0xa17a73(0x1b7)]][_0xa17a73(0x1ae)](_0x464ff0[_0xa17a73(0x124)]);}});let _0x215db1=Math['round'](Math[_0x5cb1a4(0x1c4)]()),_0x20a361=_0x215db1===0x0?_0x5cb1a4(0x175):_0x5cb1a4(0x185),_0x243b31=_0x5cb1a4(0x1bf)+_0x20a361+_0x5cb1a4(0x193),_0x3fc923=0x1,_0x552046=0x0;for(const _0x1fe062 in _0x28c18d){_0x552046+=0x1;if(_0x57de2c['toLowerCase']()==_0x1fe062[_0x5cb1a4(0x13c)]()){_0x243b31='┏━━⟪\x20*'+_0x1fe062['toUpperCase']()+_0x5cb1a4(0x1a4);for(const _0x1235bb of _0x28c18d[_0x1fe062]){_0x243b31+=_0x5cb1a4(0x142)+fancytext(_0x1235bb,0x1)+'\x0a';}_0x243b31+=_0x5cb1a4(0x19b);break;}_0x552046>=0xa&&(_0x3fc923+=0x1,_0x552046=0x0),_0x243b31+='\x0a*'+_0x3fc923+'.'+_0x552046+'\x20|'+_0x1fe062[_0x5cb1a4(0x13b)]()+'\x20'+_0x20a361+'*\x0a';};return _0x243b31+='\x0a\x0a'+Config[_0x5cb1a4(0x151)],await _0x1cd669[_0x5cb1a4(0x14a)](_0x1cd669[_0x5cb1a4(0x12c)],{'caption':_0x243b31});}catch(_0x21597){await _0x1cd669['error'](_0x21597+_0x5cb1a4(0x132),_0x21597);}}),smd({'pattern':_0xec06de(0x137),'type':_0xec06de(0x18a),'info':_0xec06de(0x1b6),'dontAddCommandList':!![]},async _0x22514a=>{const _0x2b21c9=_0xec06de;try{let _0x20ed34=('\x0a*🦄\x20ᴜᴘ\x20ᴛɪᴍᴇ\x20:*\x20'+runtime(process[_0x2b21c9(0x198)]())+_0x2b21c9(0x190)+_0x22514a[_0x2b21c9(0x184)]+_0x2b21c9(0x1ce)+_0x22514a[_0x2b21c9(0x143)]+_0x2b21c9(0x17f)+Config['ownername']+_0x2b21c9(0x162)+owner[_0x2b21c9(0x166)](',')[0x0]+_0x2b21c9(0x1b0)+formatp(os[_0x2b21c9(0x1c2)]()-os['freemem']())+'/'+formatp(os['totalmem']())+_0x2b21c9(0x1da)+readmore+'\x0a╭──❰\x20*ALL\x20MENU*\x20❱\x0a│🏮\x20Lɪꜱᴛ\x0a│🏮\x20Cᴀᴛᴇɢᴏʀʏ\x0a│🏮\x20Hᴇʟᴘ\x0a│🏮\x20Aʟɪᴠᴇ\x0a│🏮\x20Uᴘᴛɪᴍᴇ\x0a│🏮\x20Wᴇᴀᴛʜᴇʀ\x0a│🏮\x20Lɪɴᴋ\x0a│🏮\x20Cᴘᴜ\x0a│🏮\x20Rᴇᴘᴏꜱɪᴛᴏʀʏ\x0a╰─────────────⦁')[_0x2b21c9(0x183)]();return await _0x22514a[_0x2b21c9(0x18b)][_0x2b21c9(0x14a)](_0x22514a[_0x2b21c9(0x197)],{'caption':_0x20ed34});}catch(_0x450fce){await _0x22514a[_0x2b21c9(0x181)](_0x450fce+'\x0aCommand:menus',_0x450fce);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':_0xec06de(0x16e),'desc':_0xec06de(0x12e),'category':_0xec06de(0x1b6),'fromMe':!![],'filename':__filename},async(_0x5d887,_0x291296,{Void:_0x43ee74})=>{const _0x145596=_0xec06de;try{if(!_0x291296)return await _0x5d887[_0x145596(0x1dc)]('*_Please\x20provide\x20cmd\x20name\x20by\x20replying\x20a\x20Sticker_*');let _0x584a9e=_0x291296[_0x145596(0x166)](',');var _0x5b0dfd,_0x3be11d;let _0x17bd8a=![];if(_0x5d887[_0x145596(0x13e)]){let _0x1f29ea=_0x5d887['quoted'][_0x145596(0x122)];_0x1f29ea==_0x145596(0x1d3)&&_0x291296&&(_0x17bd8a=!![],_0x5b0dfd=_0x291296[_0x145596(0x166)]('\x20')[0x0],_0x3be11d='sticker-'+_0x5d887['quoted'][_0x145596(0x15d)][_0x145596(0x16a)]);}if(!_0x17bd8a&&_0x584a9e[_0x145596(0x1de)]>0x1)_0x3be11d=_0x584a9e[0x0]['trim']()[_0x145596(0x13c)](),_0x5b0dfd=_0x584a9e[0x1][_0x145596(0x183)]()[_0x145596(0x13c)]();else{if(!_0x17bd8a)return await _0x5d887[_0x145596(0x1dc)](_0x145596(0x131));}if(_0x3be11d['length']<0x1)return await _0x5d887['reply'](_0x145596(0x17d));if(global['setCmdAlias'][_0x3be11d])return await _0x5d887[_0x145596(0x1dc)](_0x145596(0x149)+(_0x17bd8a?'Given\x20Sticker':_0x3be11d)+_0x145596(0x16d)+global['setCmdAlias'][_0x3be11d]+_0x145596(0x1bc)+(_0x17bd8a?'Sticker':_0x145596(0x1cd))+'_*');const _0x8e739e=sᴜʜᴀɪʟ_ᴍᴅ[_0x145596(0x1b4)]['find'](_0xd9686c=>_0xd9686c['pattern']===_0x5b0dfd)||sᴜʜᴀɪʟ_ᴍᴅ[_0x145596(0x1b4)][_0x145596(0x191)](_0x31fef3=>_0x31fef3['alias']&&_0x31fef3[_0x145596(0x1a5)]['includes'](_0x5b0dfd));if(_0x8e739e)return global['setCmdAlias'][_0x3be11d]=_0x8e739e[_0x145596(0x124)],await _0x5d887[_0x145596(0x1dc)](_0x145596(0x19d)+global[_0x145596(0x1ba)][_0x3be11d]+_0x145596(0x14c)+(_0x17bd8a?_0x145596(0x1d6):_0x3be11d)+'\x22._*\x0a*_These\x20all\x20names\x20are\x20reset,\x20If\x20bot\x20restart_*');else return await _0x5d887['send'](_0x145596(0x180)+_0x5b0dfd+_0x145596(0x17e));}catch(_0x13e052){await _0x5d887['error'](_0x13e052+'\x0aCommand:setcmd',_0x13e052);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':_0xec06de(0x1db),'desc':_0xec06de(0x12e),'category':'general','fromMe':!![],'filename':__filename},async(_0xcfb3ed,_0x5c72db,{Void:_0x5c00fc})=>{const _0xcf5774=_0xec06de;try{let _0xf7499f=_0x5c72db?_0x5c72db[_0xcf5774(0x166)]('\x20')[0x0][_0xcf5774(0x183)]()[_0xcf5774(0x13c)]():'',_0x5dd184=![];if(_0xcfb3ed[_0xcf5774(0x13e)]){if(_0xcfb3ed[_0xcf5774(0x13e)][_0xcf5774(0x122)]==_0xcf5774(0x1d3))_0x5dd184=!![],_0xf7499f=_0xcf5774(0x1d4)+_0xcfb3ed[_0xcf5774(0x13e)][_0xcf5774(0x15d)][_0xcf5774(0x16a)];else{if(!_0x5c72db)return await _0xcfb3ed[_0xcf5774(0x1dc)](_0xcf5774(0x19c));}}else{if(!_0x5c72db)return await _0xcfb3ed[_0xcf5774(0x1dc)](_0xcf5774(0x17a));}if(global['setCmdAlias'][_0xf7499f]){await _0xcfb3ed[_0xcf5774(0x1dc)](_0xcf5774(0x149)+(_0x5dd184?_0xcf5774(0x1c6):_0xf7499f)+_0xcf5774(0x163)+global[_0xcf5774(0x1ba)][_0xf7499f]+_0xcf5774(0x1b3)),delete global[_0xcf5774(0x1ba)][_0xf7499f];return;}else return await _0xcfb3ed['send'](_0xcf5774(0x149)+(_0x5dd184?'Given\x20Sticker':_0xf7499f)+_0xcf5774(0x1c9)+(_0x5dd184?_0xcf5774(0x1d6):_0xcf5774(0x156))+_0xcf5774(0x15f));}catch(_0x2252fb){await _0xcfb3ed['error'](_0x2252fb+_0xcf5774(0x155),_0x2252fb);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x129)]({'pattern':_0xec06de(0x18d),'desc':'To\x20check\x20ping','category':_0xec06de(0x1b6),'filename':__filename},async _0x2c4176=>{const _0x452f22=_0xec06de;var _0x2d08de=new Date()[_0x452f22(0x133)]();const {key:_0x598979}=await _0x2c4176[_0x452f22(0x1b5)](_0x452f22(0x1ac));var _0x41515f=new Date()[_0x452f22(0x133)]();return await _0x2c4176[_0x452f22(0x1dc)](_0x452f22(0x1c8)+(_0x41515f-_0x2d08de)+'\x20ms*\x20',{'edit':_0x598979},'',_0x2c4176);}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':_0xec06de(0x198),'alias':[_0xec06de(0x161)],'desc':_0xec06de(0x1cb),'category':_0xec06de(0x165),'filename':__filename},async _0x50127f=>{const _0x2f1ee8=_0xec06de;try{_0x50127f[_0x2f1ee8(0x1b5)](_0x2f1ee8(0x1a0)+tlang()['title']+':\x20'+runtime(process[_0x2f1ee8(0x198)]())+'_*');}catch(_0x5ed240){await _0x50127f[_0x2f1ee8(0x181)](_0x5ed240+_0x2f1ee8(0x1bb),_0x5ed240,![]);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'cmdname':_0xec06de(0x1a8),'desc':_0xec06de(0x144),'type':_0xec06de(0x1b6),'filename':__filename},async(_0xd2266a,_0x54954a)=>{const _0x274d58=_0xec06de;try{const {commands:_0x4f1da9}=require(_0x274d58(0x123));if(_0x54954a['split']('\x20')[0x0]){let _0x35206d=[];const _0xd17d83=_0x4f1da9[_0x274d58(0x191)](_0x3cf852=>_0x3cf852[_0x274d58(0x124)]===_0x54954a[_0x274d58(0x166)]('\x20')[0x0]['toLowerCase']());if(_0xd17d83){_0x35206d[_0x274d58(0x1ae)](_0x274d58(0x125)+_0xd17d83[_0x274d58(0x124)]);if(_0xd17d83[_0x274d58(0x1b7)])_0x35206d[_0x274d58(0x1ae)]('*🧩Category:*\x20'+_0xd17d83[_0x274d58(0x1b7)]);if(_0xd17d83[_0x274d58(0x1a5)]&&_0xd17d83[_0x274d58(0x1a5)][0x0])_0x35206d[_0x274d58(0x1ae)](_0x274d58(0x158)+_0xd17d83[_0x274d58(0x1a5)][_0x274d58(0x1c3)](',\x20'));if(_0xd17d83[_0x274d58(0x121)])_0x35206d[_0x274d58(0x1ae)](_0x274d58(0x13a)+_0xd17d83[_0x274d58(0x121)]);if(_0xd17d83[_0x274d58(0x17c)])_0x35206d[_0x274d58(0x1ae)](_0x274d58(0x171)+prefix+_0xd17d83[_0x274d58(0x124)]+'\x20'+_0xd17d83['use']+_0x274d58(0x18e));if(_0xd17d83[_0x274d58(0x178)])_0x35206d[_0x274d58(0x1ae)]('*〽️Usage:*\x0a\x20```'+_0xd17d83[_0x274d58(0x178)]+_0x274d58(0x18e));await _0xd2266a[_0x274d58(0x1b5)](_0x35206d['join']('\x0a'));}}var _0x2a8461,_0x2c3e5e,_0x44b88b,_0x10e1a7,_0x8fdfd,_0x1a5728,_0x50e224;let _0x43d142=0x0;Config[_0x274d58(0x1a8)]===''&&(_0x43d142=Math[_0x274d58(0x12b)](Math['random']()*0x4)+0x1);if(_0x43d142==0x1||Config[_0x274d58(0x1a8)][_0x274d58(0x183)]()[_0x274d58(0x140)]('1')||Config['menu']['toLowerCase']()[_0x274d58(0x1a7)]('aztec'))_0x2a8461=_0x274d58(0x15b)+Config['botname']+_0x274d58(0x120),_0x2c3e5e='┃\x20✗',_0x44b88b=_0x274d58(0x192),_0x10e1a7='┌──『',_0x8fdfd=_0x274d58(0x18f),_0x1a5728=_0x274d58(0x1d1),_0x50e224=_0x274d58(0x148);else _0x43d142==0x2||Config[_0x274d58(0x1a8)]['trim']()['startsWith']('2')||Config[_0x274d58(0x1a8)][_0x274d58(0x13c)]()[_0x274d58(0x1a7)](_0x274d58(0x1aa))?(_0x2a8461=_0x274d58(0x1bd)+Config[_0x274d58(0x14f)]+_0x274d58(0x1d2),_0x2c3e5e=_0x274d58(0x18c),_0x44b88b=_0x274d58(0x16b),_0x10e1a7='┌───〈',_0x8fdfd=_0x274d58(0x1ca),_0x1a5728=_0x274d58(0x168),_0x50e224=_0x274d58(0x16c)):(_0x2a8461=_0x274d58(0x12a)+Config[_0x274d58(0x14f)]+'\x20\x20》────⊷\x0a│\x20╭──────✧❁✧──────◆',_0x2c3e5e=_0x274d58(0x164),_0x44b88b=_0x274d58(0x1d5),_0x10e1a7='╭────❏',_0x8fdfd='❏',_0x1a5728='│',_0x50e224=_0x274d58(0x127));const _0x376e27={};_0x4f1da9[_0x274d58(0x1a2)](async(_0x3b0442,_0x3e603e)=>{const _0x50dfc7=_0x274d58;if(_0x3b0442[_0x50dfc7(0x199)]===![]&&_0x3b0442['pattern']!==undefined){if(!_0x376e27[_0x3b0442[_0x50dfc7(0x1b7)]])_0x376e27[_0x3b0442['category']]=[];_0x376e27[_0x3b0442[_0x50dfc7(0x1b7)]]['push'](_0x3b0442[_0x50dfc7(0x124)]);}});const _0x1b2e30=_0xd2266a['time'],_0x35bd69=_0xd2266a[_0x274d58(0x184)];let _0x192602=_0x2a8461+'\x0a'+_0x2c3e5e+_0x274d58(0x152)+tlang()['title']+'\x0a'+_0x2c3e5e+_0x274d58(0x150)+Config[_0x274d58(0x19a)]+'\x0a'+_0x2c3e5e+'\x20Plugins:-\x20'+_0x4f1da9[_0x274d58(0x1de)]+'\x0a'+_0x2c3e5e+_0x274d58(0x130)+runtime(process[_0x274d58(0x198)]())+'\x0a'+_0x2c3e5e+_0x274d58(0x14b)+formatp(os[_0x274d58(0x1c2)]()-os[_0x274d58(0x14e)]())+'/'+formatp(os[_0x274d58(0x1c2)]())+'\x0a'+_0x2c3e5e+_0x274d58(0x15a)+_0x1b2e30+'\x0a'+_0x2c3e5e+_0x274d58(0x12f)+_0x35bd69+'\x0a'+_0x44b88b+'\x0a\x0a';for(const _0x2745af in _0x376e27){_0x192602+=_0x10e1a7+'\x20*'+tiny(_0x2745af)+'*\x20'+_0x8fdfd+'\x0a';if(_0x54954a['toLowerCase']()==_0x2745af['toLowerCase']()){_0x192602=_0x10e1a7+'\x20*'+tiny(_0x2745af)+'*\x20'+_0x8fdfd+'\x0a';for(const _0x375619 of _0x376e27[_0x2745af]){_0x192602+=_0x1a5728+'\x20'+fancytext(_0x375619,0x1)+'\x0a';}_0x192602+=_0x50e224+'\x0a';break;}else{for(const _0x3d11d4 of _0x376e27[_0x2745af]){_0x192602+=_0x1a5728+'\x20'+fancytext(_0x3d11d4,0x1)+'\x0a';}_0x192602+=_0x50e224+'\x0a';}}_0x192602+=Config[_0x274d58(0x151)];let _0x2ca50e={'caption':_0x192602};return await _0xd2266a[_0x274d58(0x14a)](_0xd2266a[_0x274d58(0x1d8)],_0x2ca50e,_0xd2266a);}catch(_0x323e96){await _0xd2266a[_0x274d58(0x181)](_0x323e96+_0x274d58(0x1a3),_0x323e96);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':_0xec06de(0x157),'desc':_0xec06de(0x15e),'category':_0xec06de(0x1b6),'react':'🥀'},async _0x1d5ddc=>{const _0x37fbc7=_0xec06de;try{const {commands:_0x7cfe13}=require(_0x37fbc7(0x123));let _0x95885d='\x0a\x20\x20╭━━〘\x20*'+Config[_0x37fbc7(0x14f)]+_0x37fbc7(0x17b)+tlang()[_0x37fbc7(0x173)]+_0x37fbc7(0x176)+prefix+_0x37fbc7(0x196)+Config[_0x37fbc7(0x19a)]+'\x0a\x20\x20┃\x20✭\x20Commands:\x20'+_0x7cfe13[_0x37fbc7(0x1de)]+_0x37fbc7(0x153)+runtime(process['uptime']())+_0x37fbc7(0x188)+formatp(os['totalmem']()-os[_0x37fbc7(0x14e)]())+'/'+formatp(os[_0x37fbc7(0x1c2)]())+_0x37fbc7(0x1df);for(let _0x2bd72c=0x0;_0x2bd72c<_0x7cfe13[_0x37fbc7(0x1de)];_0x2bd72c++){if(_0x7cfe13[_0x2bd72c][_0x37fbc7(0x124)]==undefined)continue;_0x95885d+='*'+(_0x2bd72c+0x1)+'\x20'+fancytext(_0x7cfe13[_0x2bd72c]['pattern'],0x1)+'*\x0a',_0x95885d+='\x20\x20'+fancytext(_0x7cfe13[_0x2bd72c]['desc'],0x1)+'\x0a';}return await _0x1d5ddc[_0x37fbc7(0x14a)](_0x1d5ddc[_0x37fbc7(0x1d8)],{'caption':_0x95885d+Config[_0x37fbc7(0x151)]});}catch(_0x3e730d){await _0x1d5ddc[_0x37fbc7(0x181)](_0x3e730d+'\x0aCommand:list',_0x3e730d);}}),sᴜʜᴀɪʟ_ᴍᴅ['smd']({'pattern':_0xec06de(0x174),'desc':_0xec06de(0x12e),'category':'general','filename':__filename},async _0x563719=>{const _0x4572c4=_0xec06de;try{const _0x389599=_0x4572c4(0x19e)+'VERSION:3.0\x0a'+'FN:'+Config[_0x4572c4(0x19a)]+'\x0a'+_0x4572c4(0x1b2)+'TEL;type=CELL;type=VOICE;waid='+global[_0x4572c4(0x174)]?.[_0x4572c4(0x166)](',')[0x0]+':+'+global[_0x4572c4(0x174)]?.[_0x4572c4(0x166)](',')[0x0]+'\x0a'+_0x4572c4(0x126);let _0x140248={'contacts':{'displayName':Config['ownername'],'contacts':[{'vcard':_0x389599}]},'contextInfo':{'externalAdReply':{'title':Config[_0x4572c4(0x19a)],'body':_0x4572c4(0x1c0),'renderLargerThumbnail':!![],'thumbnailUrl':'','thumbnail':log0,'mediaType':0x1,'mediaUrl':'','sourceUrl':'https://wa.me/+'+global[_0x4572c4(0x174)]?.['split'](',')[0x0]+'?text=Hii+'+Config[_0x4572c4(0x19a)]}}};return await _0x563719[_0x4572c4(0x1a9)](_0x563719['jid'],_0x140248,{'quoted':_0x563719});}catch(_0x26ce8b){await _0x563719[_0x4572c4(0x181)](_0x26ce8b+_0x4572c4(0x1d7),_0x26ce8b);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':_0xec06de(0x1dd),'alias':[_0xec06de(0x1a6)],'category':_0xec06de(0x1b6),'filename':__filename,'use':_0xec06de(0x147),'desc':'Translate\x27s\x20given\x20text\x20in\x20desird\x20language.'},async(_0x15cc76,_0xa38a39)=>{const _0x39dbd4=_0xec06de;try{let _0x4b3f03=_0xa38a39?_0xa38a39[_0x39dbd4(0x166)]('\x20')[0x0]['toLowerCase']():'en';if(!_0x15cc76[_0x39dbd4(0x1a1)])var _0x5eb566=_0xa38a39[_0x39dbd4(0x1b8)](_0x4b3f03,'')?.[_0x39dbd4(0x183)]()||![];else var _0x5eb566=_0x15cc76['reply_text'];if(!_0x5eb566)return await _0x15cc76[_0x39dbd4(0x1b5)](_0x39dbd4(0x194)+prefix+_0x39dbd4(0x179));var _0x443df8=await translatte(_0x5eb566,{'from':_0x39dbd4(0x160),'to':_0x4b3f03});if(_0x39dbd4(0x186)in _0x443df8)return await _0x15cc76[_0x39dbd4(0x1b5)](_0x443df8[_0x39dbd4(0x186)]);}catch(_0xfe5ca7){await _0x15cc76[_0x39dbd4(0x181)](_0xfe5ca7+_0x39dbd4(0x141),_0xfe5ca7);}}));const readDirectory=_0x2ccc1f=>{return new Promise((_0x23d4da,_0x41ae43)=>{fs['readdir'](_0x2ccc1f,(_0x4adeb4,_0x1ec69)=>{const _0x23fed1=_0x46ca;_0x4adeb4?_0x41ae43(_0x23fed1(0x1cf)):_0x23d4da(_0x1ec69);});});};function _0x46ca(_0x984047,_0x504083){const _0x5ee9f3=_0x5ee9();return _0x46ca=function(_0x46cace,_0x27cd87){_0x46cace=_0x46cace-0x120;let _0x456ce5=_0x5ee9f3[_0x46cace];return _0x456ce5;},_0x46ca(_0x984047,_0x504083);}function _0x5ee9(){const _0x3a8ce1=['*\x20⟫━━⦿','desc','mtype','../lib','pattern','*🍁Command:*\x20','END:VCARD','╰━━━━━━━━━━━━━━──⊷','category\x20list','smd','╭────《\x20\x20','floor','jid','object','To\x20check\x20ping','\x20Date:-\x20','\x20Uptime:-\x20','*_Uhh\x20Dear,\x20Give\x20Cmd\x20With\x20New\x20Name_*\x0a*Eg:\x20_.setcmd\x20New_Name,\x20Cmd_Name_*','\x0aCommand:help','getTime','filename','eval','7071526XVxXRB','menus','3191765VHDoUr','to\x20get\x20extact\x20name\x20where\x20that\x20command\x20is\x20in\x20repo.\x0aSo\x20user\x20can\x20edit\x20that.','*🧩Description:*\x20','toUpperCase','toLowerCase','3018069PmBqjb','quoted','toString','startsWith','\x0a\x0acommand\x20trt','┃\x20✗\x20','time','Help\x20list','578780GkIxAs','help','<\x20text\x20>','\x0a└──────────────◉','*_\x22','sendUi','\x20Mem:-\x20','\x22\x20Succesfully\x20set\x20to\x20\x22','isCreator','freemem','botname','\x20Owner:-\x20','caption','\x20Theme:-\x20','\x0a\x20\x20┃\x20✭\x20Uptime:\x20','\x0a\x0acommand\x20shell','\x0aCommand:delcmd','cmd\x20Name','list','*🧩Alias:*\x20','\x0aCommand:file','\x20Time:-\x20','┏━━⟪\x20*','----','msg','list\x20menu','\x20to\x20delete_*','auto','runtime','\x0a➮Nᴜᴍ\x20-\x20','\x22\x20deleted\x20Succesfully\x20at\x20\x22','│\x20│','misc','split','*-------------\x20FILE\x20MANAGER\x20-------------*\x0a','⬡│▸\x20','const\x20a\x20=\x20async()=>{\x0a','fileSha256','┬│▸\x0a│╰─────────────···▸\x0a└───────────────···▸','┬│▸\x0a│╰────────────···▸▸\x0a└───────────────···▸','\x22\x20Already\x20set\x20for\x20\x22','setcmd','*🧩Category:*\x20','6Lyvxij','*〽️Usa:*\x0a\x20```','----\x0a\x0a','title','owner','MENU','\x0a\x20\x20┃\x20✭\x20Prefix:\x20','9IrYnOd','usage','trt\x20en\x20Who\x20are\x20you_*','*_Uhh\x20Dear,\x20provide\x20Name\x20that\x20set\x20to\x20a\x20cmd_*\x0a*Eg:\x20_.delcmd\x20Cmd_Name_*','*\x20〙────⊷\x20\x20\x20\x20\x20\x0a\x20\x20┃\x20✭\x20Theme:\x20','use','*_Uhh\x20Please,\x20Provide\x20New_Cmd\x20Name\x20First_*',')\x20not\x20found\x20in\x20bot\x20cmds.\x20Please\x20Provide\x20Valid\x20cmd\x20Name_*','\x0a\x0a➮Fᴏᴜɴᴅᴇʀ-\x20SuhailTechInfo𝛁\x0a➮Oᴡɴᴇʀ\x20-\x20','*_Provided\x20Cmd(\x20','error','43134ECSexq','trim','date','COMMANDS','text','*❌No\x20Such\x20commands.*','\x0a\x20\x20┃\x20✭\x20Mem:\x20','3492952DREQMK','MENU\x20list','bot','⬡│▸','ping','```','』──❖\x0a','\x0a*🍁\x20ᴛᴏᴅᴀʏ\x20ɪs\x20:*\x20','find','┗━━━━━━━━━━━━━━━⦿','_LIST*\x20\x0a┗━━━━━━━━━━━━━━━━━━━━━━━━\x0a\x0a\x09```Reply\x20the\x20number\x20you\x20wants\x20to\x20select```\x0a\x0a','*Please\x20Give\x20Me\x20Text.\x20Example:\x20_','*✨FileName:*\x20','\x0a\x20\x20┃\x20✭\x20Owner:\x20','from','uptime','dontAddCommandList','ownername','\x0a┗━━━━━━━━━━━━━━⦿','*_Please\x20reply\x20to\x20a\x20Sticker\x20that\x20set\x20for\x20a\x20Cmd_*','*_Cmd\x20\x22','BEGIN:VCARD\x0a','3736908gpKsxd','*_Uptime\x20of\x20','reply_text','map','\x0aCommand:menu','*\x20⟫━━⦿\x0a\x0a','alias','translate','includes','menu','sendMessage','a17','*Provide\x20A\x20Query\x20To\x20Run\x20Master*','*Testing\x20Ping!!!*','function','push','forEach','\x0a➮Mᴇᴍᴏ\x20-\x20','stringify','ORG:;\x0a','\x22\x20cmd_*','commands','reply','general','category','replace','isSuhail','setCmdAlias','\x0a\x0acommand\x20:\x20uptime','\x22\x20Cmd,\x20Please\x20try\x20another\x20','┌───═[\x20*','','┏━━━━━━━━━━━━━━━━━━━━━━━━\x0a┃\x09\x20*SUHAIL-MD_','Touch\x20here.','*〽️Usage:*\x0a\x20```','totalmem','join','random','ctgry','Given\x20Sticker','cmd','*Pong*\x0a\x20*','\x22\x20not\x20Set\x20for\x20any\x20cmd._*\x0a\x20*_Please\x20Provide\x20Valid\x20','〉───◆\x0a│╭─────────────···▸\x0a┴│▸','Tells\x20runtime/uptime\x20of\x20bot.','Runs\x20js\x20code\x20on\x20node\x20server.','Name','\x0a*🎗\x20ɴᴏᴡ\x20ᴛɪᴍᴇ\x20:*\x20','Error\x20reading\x20directory','Runs\x20command\x20in\x20Heroku(server)\x20shell.','\x20|\x20','*\x20]═──▸\x0a│╭────────────···▸\x0a┴│▸','stickerMessage','sticker-','│\x20╰──────✧❁✧──────◆\x0a╰══════════════════⊷','Sticker','\x0aCommand:owner','chat','*🧩Function:*\x20','\x0a\x0a\x20*🧑‍💻\x20:*\x20\x20Sᴜʜᴀɪʟ-Mᴜʟᴛɪᴅᴇᴠɪᴄᴇ\x20ɪꜱ\x20ɴᴏᴡ\x20Aᴠᴀɪʟᴀʙʟᴇ\x0a\x0a','delcmd','send','trt','length','\x0a\x20\x20╰━━━━━━━━━━━━━━⊷\x0a','\x0a}\x0aa()'];_0x5ee9=function(){return _0x3a8ce1;};return _0x5ee9();}sᴜʜᴀɪʟ_ᴍᴅ['cmd']({'pattern':'file','desc':_0xec06de(0x139),'category':_0xec06de(0x1b6),'fromMe':!![],'filename':__filename},async(_0x1ec907,_0x3f7dbe)=>{const _0x1f25d4=_0xec06de;try{if(!_0x3f7dbe)return _0x1ec907[_0x1f25d4(0x1b5)]('*Uhh\x20PLease,\x20Provide\x20A\x20Command/Directory*');if(_0x3f7dbe['startsWith']('.')){let _0x4680aa=_0x1f25d4(0x167);try{const _0x297689=await readDirectory(_0x3f7dbe);_0x297689[_0x1f25d4(0x1af)](_0x1709d6=>{_0x4680aa+=_0x1709d6+'\x0a';}),await _0x1ec907['reply'](_0x4680aa[_0x1f25d4(0x13f)]());}catch(_0x311055){_0x1ec907[_0x1f25d4(0x1b5)](_0x311055);}return;}const {commands:_0x4f7532}=require('../lib');let _0x2c8ec8=[],_0x4984d5=_0x3f7dbe[_0x1f25d4(0x166)]('\x20')[0x0][_0x1f25d4(0x13c)]()[_0x1f25d4(0x183)](),_0x1df566=events[_0x1f25d4(0x1b4)][_0x1f25d4(0x191)](_0x3d28be=>_0x3d28be[_0x1f25d4(0x124)]===_0x4984d5)||events[_0x1f25d4(0x1b4)][_0x1f25d4(0x191)](_0x14526a=>_0x14526a['alias']&&_0x14526a['alias']['includes'](_0x4984d5));if(!_0x1df566)return await _0x1ec907['reply'](_0x1f25d4(0x187));_0x2c8ec8[_0x1f25d4(0x1ae)](_0x1f25d4(0x125)+_0x1df566[_0x1f25d4(0x124)]);if(_0x1df566['category'])_0x2c8ec8['push']('*🧩Type:*\x20'+_0x1df566[_0x1f25d4(0x1b7)]);if(_0x1df566[_0x1f25d4(0x1a5)]&&_0x1df566[_0x1f25d4(0x1a5)][0x0])_0x2c8ec8[_0x1f25d4(0x1ae)]('*🧩Alias:*\x20'+_0x1df566[_0x1f25d4(0x1a5)][_0x1f25d4(0x1c3)](',\x20'));if(_0x1df566['desc'])_0x2c8ec8[_0x1f25d4(0x1ae)]('*✨Description:*\x20'+_0x1df566['desc']);if(_0x1df566[_0x1f25d4(0x17c)])_0x2c8ec8[_0x1f25d4(0x1ae)](_0x1f25d4(0x171)+prefix+_0x1df566[_0x1f25d4(0x124)]+'\x20'+_0x1df566['use']+_0x1f25d4(0x18e));if(_0x1df566[_0x1f25d4(0x178)])_0x2c8ec8[_0x1f25d4(0x1ae)](_0x1f25d4(0x1c1)+_0x1df566[_0x1f25d4(0x178)]+_0x1f25d4(0x18e));if(_0x1df566['filename'])_0x2c8ec8[_0x1f25d4(0x1ae)](_0x1f25d4(0x195)+_0x1df566[_0x1f25d4(0x134)]);try{if(_0x3f7dbe[_0x1f25d4(0x1a7)](_0x1f25d4(0x1ad))&&_0x1df566[_0x1f25d4(0x1ad)]&&_0x1ec907[_0x1f25d4(0x1b9)]&&_0x1df566['pattern']!=='file')_0x2c8ec8[_0x1f25d4(0x1ae)](_0x1f25d4(0x1d9)+_0x1df566[_0x1f25d4(0x1ad)][_0x1f25d4(0x13f)]());}catch{}await _0x1ec907[_0x1f25d4(0x1b5)](_0x2c8ec8[_0x1f25d4(0x1c3)]('\x0a'));}catch(_0xe61d1f){await _0x1ec907[_0x1f25d4(0x181)](_0xe61d1f+_0x1f25d4(0x159),_0xe61d1f);}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':_0xec06de(0x135),'alias':['$'],'category':_0xec06de(0x174),'filename':__filename,'fromMe':!![],'desc':_0xec06de(0x1cc),'use':'<\x20run\x20code\x20>','dontAddCommandList':!![]},async(_0x5a9ab6,_0x3b225e,{isCreator:_0x5aa140,cmdName:_0x83bdbc,Void:_0x4d5314})=>{const _0x2ad705=_0xec06de;try{if(!_0x3b225e)return _0x5a9ab6[_0x2ad705(0x1b5)](_0x2ad705(0x1ab));let _0x1cffc8=eval(_0x2ad705(0x169)+_0x3b225e+_0x2ad705(0x1e0));if(typeof _0x1cffc8===_0x2ad705(0x12d))await _0x5a9ab6[_0x2ad705(0x1b5)](JSON[_0x2ad705(0x1b1)](_0x1cffc8));else await _0x5a9ab6[_0x2ad705(0x1b5)](_0x1cffc8[_0x2ad705(0x13f)]());}catch(_0x1fb40e){return await _0x5a9ab6['reply'](_0x1fb40e[_0x2ad705(0x13f)]());}}),sᴜʜᴀɪʟ_ᴍᴅ[_0xec06de(0x1c7)]({'pattern':'shell','category':_0xec06de(0x174),'filename':__filename,'fromMe':!![],'desc':_0xec06de(0x1d0),'use':_0xec06de(0x1be),'dontAddCommandList':!![]},async(_0x32b2cc,_0x4c791b)=>{const _0x4bebb1=_0xec06de;try{if(!_0x32b2cc[_0x4bebb1(0x14d)])return _0x32b2cc[_0x4bebb1(0x1b5)](tlang()['owner']);if(!_0x4c791b)return _0x32b2cc[_0x4bebb1(0x1b5)]('*Uhh\x20PLease,\x20Provide\x20A\x20Command\x20to\x20Run\x20Heroku*');exec(_0x4c791b,(_0x44a722,_0x2688ce)=>{const _0x5c101d=_0x4bebb1;if(_0x44a722)return _0x32b2cc['reply'](_0x5c101d(0x15c)+tlang()[_0x5c101d(0x173)]+_0x5c101d(0x172)+_0x44a722);if(_0x2688ce)return _0x32b2cc[_0x5c101d(0x1b5)]('----'+tlang()[_0x5c101d(0x173)]+'----\x0a\x0a'+_0x2688ce);});}catch(_0x2b0925){await _0x32b2cc[_0x4bebb1(0x181)](_0x2b0925+_0x4bebb1(0x154),_0x2b0925);}});function _0x213c(_0x345a66,_0x1f74b8){const _0x593b05=_0x593b();return _0x213c=function(_0x213cbe,_0x58c23c){_0x213cbe=_0x213cbe-0x161;let _0x3d37ed=_0x593b05[_0x213cbe];return _0x3d37ed;},_0x213c(_0x345a66,_0x1f74b8);}function _0x593b(){const _0x579036=['6522QmnZgz','readdir','toFixed','unlink','*/15\x20*\x20*\x20*\x20*','category','reply_message','trim','startsWith','COMMANDS*','forEach','```\x0a\x0a','toLowerCase','help','```','57304VUSDcZ','276864ouXpfJ','7659558aRJrDI','66413FlbkYf','from','includes','sendUi','28JDktra','isPublic','desc','length','replace','use','dontAddCommandList','\x0a*🧩Info:*\x20```','schedule','_COMMANDS*\x20\x20\x0a┗━━━━━━━━━━━━━━━━━━━━━━━\x0a\x0a\x0a','text','┏━━━━━━━━━━━━━━━━━━━━━━━\x0a┃\x09*SUHAIL-MD_','2716190HSgAcg','info','endsWith','find','send','1072iiXGaj','pattern','split','../lib','toUpperCase','MENU*','19523750lqZXVD','ERROR\x20:\x20','826LaJjSA'];_0x593b=function(){return _0x579036;};return _0x593b();}(function(_0x58691b,_0x4712be){const _0x49221f=_0x213c,_0x3831e3=_0x58691b();while(!![]){try{const _0x27411c=parseInt(_0x49221f(0x168))/0x1*(parseInt(_0x49221f(0x16c))/0x2)+-parseInt(_0x49221f(0x186))/0x3*(-parseInt(_0x49221f(0x17d))/0x4)+-parseInt(_0x49221f(0x178))/0x5+-parseInt(_0x49221f(0x166))/0x6+parseInt(_0x49221f(0x185))/0x7*(parseInt(_0x49221f(0x165))/0x8)+parseInt(_0x49221f(0x167))/0x9+-parseInt(_0x49221f(0x183))/0xa;if(_0x27411c===_0x4712be)break;else _0x3831e3['push'](_0x3831e3['shift']());}catch(_0x41bdec){_0x3831e3['push'](_0x3831e3['shift']());}}}(_0x593b,0xa2d49),smd({'on':'text'},async(_0x460b55,_0x2fcc6c,{mek:_0x376ae1,body:_0x6c25b0,args:_0x213257,botNumber:_0x615ced,isCreator:_0x44cb69,icmd:_0x52773f,store:_0x1d9a76,budy:_0x1e9bcf,Suhail:_0x6ee677,Void:_0x43102c,proto:_0x5f14ef})=>{const _0x210c92=_0x213c;let _0x3efef6=_0x460b55;try{!cronStart&&cron[_0x210c92(0x174)](_0x210c92(0x18a),()=>{const _0x529045=_0x210c92;cronStart=!![],fs[_0x529045(0x187)]('./temp',(_0x13ab05,_0x5b39ed)=>{const _0x57a393=_0x529045;if(_0x13ab05)return;_0x5b39ed[_0x57a393(0x190)](_0x630e8=>{const _0x2da99b=_0x57a393;try{fs[_0x2da99b(0x189)]('./temp/'+_0x630e8);}catch{}});});});if(!_0x460b55['reply_message']||!_0x2fcc6c||!_0x460b55[_0x210c92(0x16d)])return;const _0x1eb88a=_0x460b55[_0x210c92(0x18c)][_0x210c92(0x176)]['split']('\x0a');let _0x56b5d3=parseInt(_0x2fcc6c[_0x210c92(0x17f)]('\x20')[0x0]);if(!isNaN(_0x56b5d3)){if(_0x1eb88a[_0x210c92(0x16f)]>0x1e&&_0x1eb88a[0x1][_0x210c92(0x16a)]('SUHAIL-MD_FANCY_TEXT')){var _0x7b7a13=_0x1eb88a[_0x210c92(0x17b)](_0x4377cc=>_0x4377cc['startsWith'](_0x56b5d3+'\x20'));try{_0x7b7a13?await _0x460b55[_0x210c92(0x17c)](_0x7b7a13[_0x210c92(0x170)](''+_0x56b5d3,'')[_0x210c92(0x18d)](),{},'',_0x460b55):'';}catch{}}}let _0x245187=parseFloat(_0x2fcc6c['split']('\x20')[0x0]);if(isNaN(_0x245187))return;let _0x5b0909=_0x245187[_0x210c92(0x188)](0x1);var _0x42e09a=_0x1eb88a[_0x210c92(0x17b)](_0x34ef22=>_0x34ef22[_0x210c92(0x18e)]('*'+_0x5b0909+'\x20'));if(_0x42e09a&&(_0x42e09a[_0x210c92(0x17a)](_0x210c92(0x18f))||_0x42e09a[_0x210c92(0x17a)](_0x210c92(0x182)))){var _0x56c097=_0x42e09a['replace']('*'+_0x5b0909,'')[_0x210c92(0x170)]('|','')[_0x210c92(0x170)](/COMMANDS\*/gi,'')[_0x210c92(0x170)](/MENU\*/gi,'')[_0x210c92(0x162)]();if(_0x56c097[_0x210c92(0x16f)]>0x0&&_0x56c097[_0x210c92(0x16f)]<0x14){const {commands:_0x4f16cc}=require(_0x210c92(0x180)),_0x59e793={};_0x4f16cc[_0x210c92(0x190)](_0xc3d8cc=>{const _0x20ed1a=_0x210c92;if(!_0xc3d8cc[_0x20ed1a(0x172)]&&_0xc3d8cc['pattern']!==undefined){if(!_0x59e793[_0xc3d8cc[_0x20ed1a(0x18b)]])_0x59e793[_0xc3d8cc['category']]=[];_0x59e793[_0xc3d8cc[_0x20ed1a(0x18b)]]['push']({'command':_0xc3d8cc['pattern'],'info':_0xc3d8cc[_0x20ed1a(0x16e)],'help':prefix+_0xc3d8cc[_0x20ed1a(0x17e)]+'\x20'+(_0xc3d8cc[_0x20ed1a(0x171)]?_0xc3d8cc[_0x20ed1a(0x171)]:'')});}});let _0x5cca14=![];for(const _0x1af79d in _0x59e793){let _0x37f2ac=''+_0x1af79d['toLowerCase']();if(_0x56c097['includes'](_0x37f2ac)){_0x5cca14=_0x210c92(0x177)+_0x1af79d[_0x210c92(0x181)]()+_0x210c92(0x175),_0x59e793[_0x1af79d][_0x210c92(0x190)](_0xf574fc=>{const _0x4231a3=_0x210c92;_0x5cca14+='*🍁Command:*\x20```'+_0xf574fc['command']+'```\x20'+(_0xf574fc[_0x4231a3(0x179)]?_0x4231a3(0x173)+_0xf574fc[_0x4231a3(0x179)]+_0x4231a3(0x164):'')+'\x0a*〽️Help:*\x20```'+_0xf574fc[_0x4231a3(0x163)]+_0x4231a3(0x161);}),_0x5cca14+='\x0a\x0a'+Config['caption'];break;}}if(_0x5cca14)return await _0x460b55[_0x210c92(0x16b)](_0x460b55[_0x210c92(0x169)],{'caption':_0x5cca14});}}}catch(_0x3e9a32){console['log'](_0x210c92(0x184),_0x3e9a32);}}));/**MASTER */smd({ on: "text" }, async(msg, text, {mek, body, args,botNumber, isCreator, icmd,store ,budy, Suhail,Void, proto } ) => { const _0xd6a12a=_0x1571;function _0x2edb(){const _0x667561=['62454JBmitF','react','isCreator','reply','Provide\x20me\x20with\x20a\x20query\x20to\x20run\x20Master!','2618667xpRQLH','2022148AUDBwx','text','1398Krkwgm','15pWevhh','format','log','16457KBRIAc','20604213meAmhj','slice','includes','chat','\x0a}\x0aa()','6414720cwIFyR','1471072FUlQDN','ERROR\x20FROM\x20RUNNING\x20QUERY\x20WITH\x20MASTER\x20$\x0a'];_0x2edb=function(){return _0x667561;};return _0x2edb();}(function(_0x3e0222,_0xfa3e8a){const _0xe793f5=_0x1571,_0x1a4f58=_0x3e0222();while(!![]){try{const _0xf50973=-parseInt(_0xe793f5(0x1cc))/0x1+-parseInt(_0xe793f5(0x1d2))/0x2+parseInt(_0xe793f5(0x1d1))/0x3+-parseInt(_0xe793f5(0x1ca))/0x4*(parseInt(_0xe793f5(0x1d5))/0x5)+-parseInt(_0xe793f5(0x1d4))/0x6*(-parseInt(_0xe793f5(0x1d8))/0x7)+-parseInt(_0xe793f5(0x1c9))/0x8+parseInt(_0xe793f5(0x1d9))/0x9;if(_0xf50973===_0xfa3e8a)break;else _0x1a4f58['push'](_0x1a4f58['shift']());}catch(_0x556c40){_0x1a4f58['push'](_0x1a4f58['shift']());}}}(_0x2edb,0xb28dd));let conn=Void,sock=Void,citel=msg,message=msg,m=msg,jid=msg[_0xd6a12a(0x1c7)],client=Void;function _0x1571(_0x262039,_0x151011){const _0x2edb64=_0x2edb();return _0x1571=function(_0x15719d,_0x45ddb3){_0x15719d=_0x15719d-0x1c7;let _0x347d5c=_0x2edb64[_0x15719d];return _0x347d5c;},_0x1571(_0x262039,_0x151011);}const {send,reply,react,sendMessage}=msg;let $='';if(msg[_0xd6a12a(0x1ce)]){if(!Config['HANDLERS'][_0xd6a12a(0x1db)]('>')&&citel[_0xd6a12a(0x1d3)]['startsWith']('>')){let code=budy[_0xd6a12a(0x1da)](0x1);if(!code)return citel[_0xd6a12a(0x1cf)](_0xd6a12a(0x1d0));try{let resultTest=eval(code);if(resultTest)return citel[_0xd6a12a(0x1cf)](util[_0xd6a12a(0x1d6)](resultTest));}catch(_0x75dc0b){return citel[_0xd6a12a(0x1cf)](util[_0xd6a12a(0x1d6)](_0x75dc0b));}}else{if(!Config['HANDLERS'][_0xd6a12a(0x1db)]('$')&&citel[_0xd6a12a(0x1d3)]['startsWith']('$')){let code=budy[_0xd6a12a(0x1da)](0x1);if(!code)return citel[_0xd6a12a(0x1cf)](_0xd6a12a(0x1d0));try{let resultTest=await eval('const\x20a\x20=\x20async()=>{\x0a'+code+_0xd6a12a(0x1c8));await citel[_0xd6a12a(0x1cd)]('🍁');if(resultTest)return await citel['reply'](util[_0xd6a12a(0x1d6)](resultTest));}catch(_0x467251){return console[_0xd6a12a(0x1d7)](_0xd6a12a(0x1cb),_0x467251),await citel['reply'](util[_0xd6a12a(0x1d6)](_0x467251));}}}} }); ================================================ FILE: plugins/_main.js ================================================ const util = require("util"); const fs = require("fs-extra"); const { cmd } = require("../lib/plugins"); const { formatp, TelegraPh, aitts, smd, prefix, runtime, Config, parsedJid, sleep, createUrl } = require("../lib"); const axios = require("axios"); const fetch = require("node-fetch"); const os = require("os"); const speed = require("performance-now"); function _0x2a0d(_0x32de74, _0xce23fd) { const _0x3ffb1a = _0x2953(); _0x2a0d = function (_0x151552, _0x18c062) { _0x151552 = _0x151552 - 233; let _0x5c396f = _0x3ffb1a[_0x151552]; return _0x5c396f; }; return _0x2a0d(_0x32de74, _0xce23fd); } function _0x2953() { const _0x4f0c10 = ["json", "choices", "2KTKIiW", "application/json", "chat", "http://api.brainshop.ai/get?bid=175685&key=Pg8Wu8mrDQjfr0uv&uid=[", "4017447FwUKbt", "2673069xtYnEg", "REMOVE_BG_KEY", "Bearer ", "image-alpha-001", "320668Kzvhym", "data", "then", "message", "1548910BYiCAA", "error in aiResponce : ", "119490ILpvcx", "system", "sender", "binary", "from", "log", "dalle", "https://api.remove.bg/v1.0/removebg", "567277OBjzQH", "length", "get", "POST", "stringify", "content", "512x512", "78qmNvDj", "https://api.openai.com/v1/images/generations", "Error While getting Ai responce ", "url", "catch", "]&msg=[", "split", "8yTiNwA", "You", "gpt", "1769427SEqioY"]; _0x2953 = function () { return _0x4f0c10; }; return _0x2953(); } (function (_0x4f4b4b, _0x46381a) { const _0x23b0f7 = _0x2a0d; const _0x17ab9c = _0x4f4b4b(); while (true) { try { const _0x24d937 = parseInt(_0x23b0f7(264)) / 1 * (-parseInt(_0x23b0f7(241)) / 2) + parseInt(_0x23b0f7(238)) / 3 + -parseInt(_0x23b0f7(250)) / 4 + -parseInt(_0x23b0f7(256)) / 5 * (parseInt(_0x23b0f7(271)) / 6) + parseInt(_0x23b0f7(246)) / 7 * (parseInt(_0x23b0f7(235)) / 8) + parseInt(_0x23b0f7(245)) / 9 + -parseInt(_0x23b0f7(254)) / 10; if (_0x24d937 === _0x46381a) { break; } else { _0x17ab9c.push(_0x17ab9c.shift()); } } catch (_0x1a2819) { _0x17ab9c.push(_0x17ab9c.shift()); } } })(_0x2953, 305050); async function aiResponce(_0x109acf, _0xf00650, _0x2728a0 = "") { const _0x242f00 = _0x2a0d; let _0x2d78d9 = ""; try { if (_0xf00650 === _0x242f00(243)) { _0x2d78d9 = await (await axios[_0x242f00(266)](_0x242f00(244) + _0x109acf[_0x242f00(258)][_0x242f00(234)]("@")[0] + _0x242f00(233) + _0x2728a0 + "]"))[_0x242f00(251)].cnt; } else if (_0xf00650 === _0x242f00(237)) { const _0x3e1043 = await fetch("https://api.openai.com/v1/chat/completions", { method: "POST", headers: { "Content-Type": "application/json", Authorization: _0x242f00(248) + Config.OPENAI_API_KEY }, body: JSON[_0x242f00(268)]({ model: "gpt-3.5-turbo", messages: [{ role: _0x242f00(257), content: _0x242f00(236) }, { role: "user", content: _0x2728a0 }] }) }); const _0x26c61c = await _0x3e1043[_0x242f00(239)](); if (!_0x26c61c[_0x242f00(240)] || _0x26c61c[_0x242f00(240)][_0x242f00(265)] === 0) { _0x2d78d9 = "*Invalid ChatGPT API Key, Please Put New Key*"; } else { _0x2d78d9 = _0x26c61c[_0x242f00(240)][0][_0x242f00(253)][_0x242f00(269)]; } } else if (_0xf00650 === _0x242f00(262)) { const _0x1a4db1 = await fetch(_0x242f00(272), { method: _0x242f00(267), headers: { "Content-Type": _0x242f00(242), Authorization: _0x242f00(248) + Config.OPENAI_API_KEY }, body: JSON[_0x242f00(268)]({ model: _0x242f00(249), prompt: _0x2728a0, size: _0x242f00(270), response_format: _0x242f00(274) }) }); const _0x2cdadf = await _0x1a4db1[_0x242f00(239)](); _0x2d78d9 = _0x2cdadf[_0x242f00(251)][0][_0x242f00(274)]; } if (_0xf00650 === "rmbg") { const _0x142226 = { image_url: _0x2728a0, size: "auto" }; axios.post(_0x242f00(263), _0x142226, { headers: { "X-Api-Key": Config[_0x242f00(247)] }, responseType: "arraybuffer" })[_0x242f00(252)](_0x18f9bd => { const _0x382416 = _0x242f00; _0x2d78d9 = Buffer[_0x382416(260)](_0x18f9bd[_0x382416(251)], _0x382416(259)); })[_0x242f00(275)](_0x25d8c1 => { _0x2d78d9 = false; }); } return _0x2d78d9; } catch (_0x4eee67) { console[_0x242f00(261)](_0x242f00(255), _0x4eee67); return _0x242f00(273); } } ; smd({ pattern: "chat", desc: "chat with an AI", category: "ai", use: "", filename: __filename }, async (_0x1c0160, _0x482db1) => { try { return _0x1c0160.reply(await aiResponce(_0x1c0160, "chat", _0x482db1)); } catch (_0x4adf95) { await _0x1c0160.error(_0x4adf95 + "\n\ncommand: chat", _0x4adf95, "*_no responce from chatbot, sorry!!_*"); } }); smd({ pattern: "gpt", desc: "chat with an AI", category: "ai", use: "", filename: __filename }, async (_0x5cb388, _0x302ad5) => { try { try { let _0x557719 = _0x302ad5 ? _0x302ad5 : bot.reply_text; if (!_0x557719) { return man.reply("Provide me a query ex Who is Suhail"); } const _0x50c8d3 = await fetch("https://aemt.me/openai?text=" + _0x557719); const _0x14c9d6 = await _0x50c8d3.json(); if (_0x14c9d6 && _0x14c9d6.status && _0x14c9d6.result) { return await _0x5cb388.reply(_0x14c9d6.result); } } catch {} if (Config.OPENAI_API_KEY == "" || !Config.OPENAI_API_KEY || !("" + Config.OPENAI_API_KEY).startsWith("sk")) { return _0x5cb388.reply("```You Dont Have OPENAI API KEY \nPlease Create OPEN API KEY from Given Link \nhttps://platform.openai.com/account/api-keys\nAnd Set Key in Heroku OPENAI_API_KEY Var```"); } if (!_0x302ad5) { return _0x5cb388.reply("Hey there! " + _0x5cb388.senderName + ". How are you doing these days?"); } return _0x5cb388.send(await aiResponce(_0x5cb388, "gpt", _0x302ad5)); } catch (_0x2ef914) { await _0x5cb388.error(_0x2ef914 + "\n\ncommand: gpt", _0x2ef914, "*_no responce from chatgpt, sorry!!_*"); } }); smd({ pattern: "fgpt", desc: "chat with an AI", category: "ai", use: "", filename: __filename }, async (_0x42b3b8, _0x3f3887) => { try { let _0x1b0897 = _0x3f3887 ? _0x3f3887 : _0x42b3b8.reply_text; if (!_0x1b0897) { return _0x42b3b8.reply("Provide me a query ex Who is Suhail"); } const _0x4c275e = await fetch("https://aemt.me/openai?text=" + _0x1b0897); const _0x4743c3 = await _0x4c275e.json(); if (_0x4743c3 && _0x4743c3.status && _0x4743c3.result) { return await _0x42b3b8.send(_0x4743c3.result); } else { await _0x42b3b8.send("*_Error while getting gpt responce!!_*"); } } catch (_0x70fc81) { await _0x42b3b8.error(_0x70fc81 + "\n\ncommand: fgpt", _0x70fc81, "*_no responce from chatgpt, sorry!!_*"); } }); smd({ pattern: "dalle", alias: ["dall", "dall-e"], desc: "chat with an AI", category: "ai", use: "", filename: __filename }, async (_0x21be87, _0x17d498) => { try { if (!_0x17d498) { return await _0x21be87.reply("*Give Me A Query To Get Dall-E Reponce?*"); } const _0x27bd9a = "https://gurugpt.cyclic.app/dalle?prompt=" + encodeURIComponent(_0x17d498); try { return await _0x21be87.bot.sendMessage(_0x21be87.chat, { image: { url: _0x27bd9a }, caption: "[PROMPT]: ```" + _0x17d498 + " ``` \n " + Config.caption + " " }); } catch (_0x5cee92) { console.log("ERROR IN DALLE RESPONCE FROM API GURUGPT\n", _0x5cee92); } if (Config.OPENAI_API_KEY == "" || !Config.OPENAI_API_KEY || !("" + Config.OPENAI_API_KEY).startsWith("sk")) { return _0x21be87.reply("```You Dont Have OPENAI API KEY \nPlease Create OPEN API KEY from Given Link \nhttps://platform.openai.com/account/api-keys\nAnd Set Key in Heroku OPENAI_API_KEY Var```"); } return await _0x21be87.bot.sendMessage(_0x21be87.chat, { image: { url: await aiResponce(_0x21be87, "dalle", _0x17d498) }, caption: "*---Your DALL-E Result---*\n" + Config.caption }); } catch (_0x25b4b9) { await _0x21be87.error(_0x25b4b9 + "\n\ncommand: dalle", _0x25b4b9, "*_No responce from Dall-E Ai, Sorry!!_*"); } }); smd({ pattern: "imagine", alias: ["imagin"], desc: "chat with an AI", category: "ai", use: "", filename: __filename }, async (_0x9bac01, _0x3700d4) => { try { let _0x2968fd = _0x3700d4 || _0x9bac01.reply_text; if (!_0x2968fd) { return await _0x9bac01.reply("*Give Me A Query To Get imagination?*"); } let _0x24d5e9 = false; try { const _0x156dd7 = await fetch("https://aemt.me/openai?text=" + (_0x2968fd + " \nNOTE: Make sure to looks like imagination, make it short and concise, also in english!")); const _0x49b22e = await _0x156dd7.json(); _0x24d5e9 = _0x49b22e && _0x49b22e.status && _0x49b22e.result ? _0x49b22e.result : ""; } catch (_0xf1623a) { _0x24d5e9 = false; } try { await Draw(_0x2968fd || _0x9bac01.reply_text).then(_0x1f03a3 => { _0x9bac01.bot.sendMessage(_0x9bac01.chat, { image: _0x1f03a3, caption: "*[IMAGININATION]:* ```" + _0x2968fd + " ```" + (_0x24d5e9 ? "\n\n*[RESPONCE]:* ```" + _0x24d5e9 + "``` \n" : "") + " \n " + Config.caption + " " }); }); return; } catch (_0x45726b) { console.log("ERROR IN IMAGINE RESPONCE FROM IMAGINE API n", _0x45726b); } if (Config.OPENAI_API_KEY == "" || !Config.OPENAI_API_KEY || !("" + Config.OPENAI_API_KEY).startsWith("sk")) { return _0x9bac01.reply("```You Dont Have OPENAI API KEY \nPlease Create OPEN API KEY from Given Link \nhttps://platform.openai.com/account/api-keys\nAnd Set Key in Heroku OPENAI_API_KEY Var```"); } return await _0x9bac01.bot.sendMessage(_0x9bac01.chat, { image: { url: await aiResponce(_0x9bac01, "dalle", _0x2968fd) }, caption: "*---Your DALL-E Result---*\n" + Config.caption }); } catch (_0x5d8080) { await _0x9bac01.error(_0x5d8080 + "\n\ncommand: imagine", _0x5d8080, "*_No responce from Server side, Sorry!!_*"); } }); smd({ pattern: "imagine2", alias: ["imagin2"], desc: "chat with an AI", category: "ai", use: "", filename: __filename }, async (_0x39716c, _0xe79cfd) => { try { let _0x5e79d4 = _0xe79cfd || _0x39716c.reply_text; if (!_0x5e79d4) { return await _0x39716c.reply("*Give Me A Query To Get imagination?*"); } const _0x14515f = "https://gurugpt.cyclic.app/dalle?prompt=" + encodeURIComponent(_0x5e79d4 + " \nNOTE: Make sure to looks like imagination"); let _0x5d0b6a = false; try { const _0x37057d = await fetch("https://aemt.me/openai?text=" + (_0x5e79d4 + " \nNOTE: Make sure to looks like imagination, make it short and concise, also in english!")); const _0x644785 = await _0x37057d.json(); _0x5d0b6a = _0x644785 && _0x644785.status && _0x644785.result ? _0x644785.result : ""; } catch (_0x3ecac9) { _0x5d0b6a = false; } try { return await _0x39716c.bot.sendMessage(_0x39716c.chat, { image: { url: _0x14515f }, caption: "*[IMAGININATION]:* ```" + _0x5e79d4 + " ```" + (_0x5d0b6a ? "\n\n*[RESPONCE]:* ```" + _0x5d0b6a + "``` \n" : "") + " \n " + Config.caption + " " }); } catch (_0x484392) { console.log("ERROR IN IMAGINE RESPONCE FROM API GURUGPT\n", _0x484392); } if (Config.OPENAI_API_KEY == "" || !Config.OPENAI_API_KEY || !("" + Config.OPENAI_API_KEY).startsWith("sk")) { return _0x39716c.reply("```You Dont Have OPENAI API KEY \nPlease Create OPEN API KEY from Given Link \nhttps://platform.openai.com/account/api-keys\nAnd Set Key in Heroku OPENAI_API_KEY Var```"); } return await _0x39716c.bot.sendMessage(_0x39716c.chat, { image: { url: await aiResponce(_0x39716c, "dalle", _0x5e79d4) }, caption: "*---Your DALL-E Result---*\n" + Config.caption }); } catch (_0x110b5d) { await _0x39716c.error(_0x110b5d + "\n\ncommand: imagine", _0x110b5d, "*_No responce from Server side, Sorry!!_*"); } }); async function Draw(_0x3ab488) { const _0x54c8a4 = await fetch("https://api-inference.huggingface.co/models/prompthero/openjourney-v2", { method: "POST", headers: { "content-type": "application/json", Authorization: "Bearer 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" }, body: JSON.stringify({ inputs: _0x3ab488 }) }).then(_0x5838c2 => _0x5838c2.blob()); const _0x1c59a6 = await _0x54c8a4.arrayBuffer(); return Buffer.from(_0x1c59a6); } smd({ pattern: "rmbg", alias: ["removebg"], category: "ai", filename: __filename, desc: "Remove image Background." }, async _0x28a796 => { try { if (!Config.REMOVE_BG_KEY) { return _0x28a796.reply("```You Dont Have REMOVE_BG_KEY \nPlease Create RemoveBG KEY from Given Link \nhttps://www.remove.bg/\nAnd Set Key in REMOVE_BG_KEY Var```"); } let _0x536d9f = ["imageMessage"]; let _0x4f2076 = _0x536d9f.includes(_0x28a796.mtype) ? _0x28a796 : _0x28a796.reply_message; if (!_0x4f2076 || !_0x536d9f.includes(_0x4f2076?.mtype || "null")) { return await _0x28a796.send("*_Uhh Dear, Reply to an image_*"); } let _0x437dc5 = await _0x28a796.bot.downloadAndSaveMediaMessage(_0x4f2076); let _0x4dcaa0 = await TelegraPh(_0x437dc5); try { fs.unlinkSync(_0x437dc5); } catch {} let _0x9b86dd = await aiResponce(_0x28a796, "rmbg", _0x4dcaa0); if (_0x9b86dd) { await _0x28a796.send(_0x9b86dd, { caption: Config.caption }, "image", _0x28a796); } else { await _0x28a796.send("*_Request not be preceed!!_*"); } } catch (_0x166d80) { await _0x28a796.error(_0x166d80 + "\n\ncommand: rmbg", _0x166d80, "*_No responce from remove.bg, Sorry!!_*"); } }); smd({ pattern: "readmore", alias: ["rmore", "readmor"], desc: "Adds *readmore* in given text.", category: "general", filename: __filename }, async (_0x5db0de, _0x38fb87) => { try { let _0x5ea4b8 = _0x38fb87 ? _0x38fb87 : _0x5db0de.reply_text; if (!_0x5ea4b8) { _0x5ea4b8 = "*Uhh Dear,Please provide text*\n*Eg:- _.readmor text1 readmore text2_*"; } else { _0x5ea4b8 += " "; } if (_0x5ea4b8.includes("readmore")) { await _0x5db0de.reply(_0x5ea4b8.replace(/readmore/, String.fromCharCode(8206).repeat(4001))); } else { await _0x5db0de.reply(_0x5ea4b8.replace(" ", String.fromCharCode(8206).repeat(4001))); } } catch (_0x36cb2c) { await _0x5db0de.error(_0x36cb2c + "\n\ncommand : readmore", _0x36cb2c, false); } }); let pmtypes = ["videoMessage", "imageMessage"]; cmd({ pattern: "url", alias: ["createurl"], category: "general", filename: __filename, desc: "image to url.", use: "