forked from Lexxy24/v13
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
17 lines (14 loc) · 9.64 KB
/
main.js
File metadata and controls
17 lines (14 loc) · 9.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
------------------------------------------------------------------------------------------
𝐂𝐫𝐞𝐚𝐭𝐞𝐝 𝐁𝐲 𝐋𝐞𝐱𝐱𝐲 𝐎𝐟𝐟𝐢𝐜𝐢𝐚𝐥
𝑴𝒂𝒖 𝑩𝒆𝒍𝒊 𝒀𝒂𝒏𝒈 𝑵𝒐 𝑬𝒏𝒄 𝑪𝒉𝒂𝒕 𝑾𝑨 𝑮𝒖𝒂
Wa.me/6282279915237
Wa.me/6285789004732
𝙇𝙞𝙨𝙩 𝙃𝙖𝙧𝙜𝙖 𝙎𝙘𝙧𝙞𝙥𝙩 𝘽𝙤𝙩
20𝙠 : 𝙉𝙚𝙬𝙗𝙞𝙚 (𝙎𝙖𝙩𝙪 𝙆𝙖𝙡𝙞)
50𝙠 : 𝙋𝙧𝙚𝙢𝙞𝙪𝙢 (𝙇𝙖𝙣𝙜𝙜𝙖𝙣𝙖𝙣)
𝐍𝐞𝐰𝐛𝐢𝐞 => 𝘋𝘪𝘬𝘢𝘴𝘪𝘩 𝘚𝘤 𝘪𝘯𝘪 𝘋𝘰𝘢𝘯𝘨 𝘕𝘰 𝘌𝘯𝘤 1 𝘒𝘢𝘭𝘪
𝐏𝐫𝐞𝐦𝐢𝐮𝐦 => 𝘋𝘪𝘬𝘢𝘴𝘪𝘩 𝘚𝘤 𝘎𝘳𝘢𝘵𝘪𝘴 𝘕𝘰 𝘌𝘯𝘤 𝘚𝘦𝘵𝘪𝘢𝘱 𝘜𝘱𝘥𝘢𝘵𝘦
------------------------------------------------------------------------------------------
*/
function _0x1464(_0x45e058,_0x403a1a){const _0x19dd56=_0x19dd();return _0x1464=function(_0x14645f,_0x268572){_0x14645f=_0x14645f-0x19e;let _0x526ffa=_0x19dd56[_0x14645f];return _0x526ffa;},_0x1464(_0x45e058,_0x403a1a);}const _0x4d3d21=_0x1464;(function(_0x409bde,_0x372c64){const _0x4ebe60=_0x1464,_0x16b4ac=_0x409bde();while(!![]){try{const _0x5909d6=parseInt(_0x4ebe60(0x1e2))/0x1*(-parseInt(_0x4ebe60(0x1ca))/0x2)+parseInt(_0x4ebe60(0x1aa))/0x3*(-parseInt(_0x4ebe60(0x1eb))/0x4)+-parseInt(_0x4ebe60(0x1ae))/0x5+parseInt(_0x4ebe60(0x1c7))/0x6*(parseInt(_0x4ebe60(0x1df))/0x7)+-parseInt(_0x4ebe60(0x1c6))/0x8*(-parseInt(_0x4ebe60(0x1ea))/0x9)+-parseInt(_0x4ebe60(0x1cd))/0xa*(parseInt(_0x4ebe60(0x1c1))/0xb)+parseInt(_0x4ebe60(0x1bb))/0xc*(parseInt(_0x4ebe60(0x1b6))/0xd);if(_0x5909d6===_0x372c64)break;else _0x16b4ac['push'](_0x16b4ac['shift']());}catch(_0x408765){_0x16b4ac['push'](_0x16b4ac['shift']());}}}(_0x19dd,0x8ad09));const {WAConnection,MessageType,Presence,Mimetype,GroupSettingChange}=require(_0x4d3d21(0x1ad)),fs=require('fs'),moment=require('moment-timezone'),{banner,start,success}=require(_0x4d3d21(0x1e6)),{color}=require(_0x4d3d21(0x1bf));require(_0x4d3d21(0x1d1)),nocache(_0x4d3d21(0x1d1),_0x513c0e=>console[_0x4d3d21(0x1a6)](_0x513c0e+_0x4d3d21(0x1ab)));function _0x19dd(){const _0x24f1a8=['*\x0a𝐁𝐞𝐛𝐚𝐧\x20𝐓𝐞𝐥𝐚𝐡\x20𝐊𝐞𝐥𝐮𝐚𝐫\x20𝐃𝐚𝐫𝐢\x20𝐆𝐫𝐮𝐩\x0a𝐊𝐚𝐫𝐞𝐧𝐚\x20𝐃𝐢𝐚\x20𝐒𝐞𝐫𝐢𝐧𝐠\x20𝐃𝐢\x20𝐁𝐮𝐥𝐥𝐲\x0a𝐀𝐰𝐨𝐤𝐚𝐰𝐨𝐤\x20𝐉𝐚𝐝𝐢\x20𝐃𝐢𝐚\x20𝐁𝐚𝐩𝐞𝐫𝐚𝐧','\x20In\x20','𝐇𝐚𝐢\x20*@','https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg','writeFileSync','getProfilePicture','demote','@c.us','log','logger','chat-update','Connecting...','91857wOQpxQ','\x20Telah\x20Di\x20Update✓','readFileSync','@adiwajshing/baileys','1843305tXAGdK','jid','warn','Demote\x20Admin\x20','add','version','0@s.whatsapp.net','connect','42367HxBwnl','*\x0a𝐆𝐫𝐨𝐮𝐩\x20:\x20*','promote','./session.json','*\x0a𝐖𝐚𝐤𝐭𝐮\x20:\x20*','7416pGWkDm','action','format','group-participants-update','./lib/color','𝐃𝐚𝐡𝐡\x20*@','1397033tHSEkk','groupMetadata','cyan','level','Lexxy\x20Official','24QwQkCK','18TnUtIN','subject','DI\x20Pantau\x20Oleh\x20Lexxy\x20Official','28EUlTho','remove','Promote\x20Member\x20','50RPjWEs','./gambar/menu.jpg','red','existsSync','./index.js','sendMessage','Connected','resolve','BEGIN:VCARD\x0aVERSION:3.0\x0aN:2;Lexxy;;;\x0aFN:Lexxy\x0aitem1.TEL;waid=6282279915237:6282279915237\x0aitem1.X-ABLabel:Mobile\x0aEND:VCARD','stringify','𝙋𝙍𝙊𝙈𝙊𝙏𝙀\x20-\x20𝘿𝙀𝙏𝙀𝘾𝙏𝙀𝘿\x0a𝐌𝐞𝐦𝐛𝐞𝐫\x20:\x20*@','Asia/Jakarta','https://youtu.be/6DYH9n7CH44','open','6283136505591-1604595598@g.us','*\x0a𝐈𝐧𝐭𝐫𝐨\x20𝐃𝐮𝐥𝐮\x20𝐘𝐚𝐤\x20!!\x0a𝐍𝐚𝐦𝐚\x20:\x0a𝐀𝐬𝐤𝐨𝐭\x20:\x0a𝐔𝐦𝐮𝐫\x20:\x0a𝐊𝐞𝐥𝐚𝐬\x20:\x0a𝐒𝐭𝐚𝐭𝐮𝐬\x20:','cache','white','1796655LuvgGw','Keluar\x20Dari\x20','split','65434fTnvlI','base64EncodedAuthInfo','participants','browserDescription','./lib/functions','DD/MM\x20HH:mm:ss','Error\x20:\x20%s','[\x20!\x20]','2511549xyihCN','148GhWavT'];_0x19dd=function(){return _0x24f1a8;};return _0x19dd();}const starts=async(_0xe8697b=new WAConnection())=>{const _0x37df51=_0x4d3d21;_0xe8697b[_0x37df51(0x1a7)][_0x37df51(0x1c4)]=_0x37df51(0x1b0),_0xe8697b[_0x37df51(0x1b3)]=[0x2,0x85f,0x8],_0xe8697b[_0x37df51(0x1e5)]=[_0x37df51(0x1c5),'safari','windows\x2010'],console[_0x37df51(0x1a6)](banner['string']),_0xe8697b['on']('qr',()=>{const _0x57ed4e=_0x37df51;console[_0x57ed4e(0x1a6)](color('[',_0x57ed4e(0x1de)),color('!',_0x57ed4e(0x1cf)),color(']',_0x57ed4e(0x1de)),color('\x20Scan\x20bang'));}),fs[_0x37df51(0x1d0)]('./session.json')&&_0xe8697b['loadAuthInfo'](_0x37df51(0x1b9)),_0xe8697b['on']('connecting',()=>{const _0x3296b9=_0x37df51;start('2',_0x3296b9(0x1a9));}),_0xe8697b['on'](_0x37df51(0x1da),()=>{const _0x2962b9=_0x37df51;success('2',_0x2962b9(0x1d3));}),await _0xe8697b[_0x37df51(0x1b5)]({'timeoutMs':0x1e*0x3e8}),fs[_0x37df51(0x1a2)]('./session.json',JSON[_0x37df51(0x1d6)](_0xe8697b[_0x37df51(0x1e3)](),null,'\x09')),_0xe8697b['on'](_0x37df51(0x1be),async _0x4a4621=>{const _0x390615=_0x37df51;mem=_0x4a4621['participants'][0x0];const _0x54c558=moment['tz'](_0x390615(0x1d8))[_0x390615(0x1bd)](_0x390615(0x1e7)),_0x1107a3=await _0xe8697b[_0x390615(0x1c2)](_0x4a4621['jid']);try{console[_0x390615(0x1a6)](_0x4a4621);if(_0x4a4621['action']==_0x390615(0x1b2)){fkontakk={'key':{'fromMe':![],'participant':'0@s.whatsapp.net',..._0x4a4621['jid']?{'remoteJid':_0x390615(0x1db)}:{}},'message':{'contactMessage':{'displayName':''+_0x1107a3[_0x390615(0x1c8)],'vcard':_0x390615(0x1d5)}}},num=_0x4a4621['participants'][0x0];try{ppimg=await _0xe8697b[_0x390615(0x1a3)](num[_0x390615(0x1e1)]('@')[0x0]+_0x390615(0x1a5));}catch{ppimg='https://i0.wp.com/www.gambarunik.id/wp-content/uploads/2019/06/Top-Gambar-Foto-Profil-Kosong-Lucu-Tergokil-.jpg';}let _0x56b57e=await getBuffer(ppimg);masuk=_0x390615(0x1a0)+num['split']('@')[0x0]+_0x390615(0x1dc),_0xe8697b['sendMessage'](_0x1107a3['id'],masuk,MessageType['text'],{'quoted':fkontakk,'thumbnail':fs[_0x390615(0x1ac)](_0x390615(0x1ce)),'contextInfo':{'forwardingScore':0x1fc,'isForwarded':!![],'externalAdReply':{'title':'Welcome\x20To\x20'+_0x1107a3[_0x390615(0x1c8)],'body':'','mediaType':'2','thumbnail':_0x56b57e,'mediaUrl':_0x390615(0x1d9)}}});}else{if(_0x4a4621[_0x390615(0x1bc)]==_0x390615(0x1cb)){fkontakk={'key':{'fromMe':![],'participant':'0@s.whatsapp.net',..._0x4a4621[_0x390615(0x1af)]?{'remoteJid':_0x390615(0x1db)}:{}},'message':{'contactMessage':{'displayName':''+_0x1107a3[_0x390615(0x1c8)],'vcard':'BEGIN:VCARD\x0aVERSION:3.0\x0aN:2;Lexxy;;;\x0aFN:Lexxy\x0aitem1.TEL;waid=6282279915237:6282279915237\x0aitem1.X-ABLabel:Mobile\x0aEND:VCARD'}}},num=_0x4a4621[_0x390615(0x1e4)][0x0];try{ppimg=await _0xe8697b[_0x390615(0x1a3)](num['split']('@')[0x0]+'@c.us');}catch{ppimg=_0x390615(0x1a1);}let _0x4540e1=await getBuffer(ppimg);keluar=_0x390615(0x1c0)+num['split']('@')[0x0]+_0x390615(0x19e),_0xe8697b[_0x390615(0x1d2)](_0x1107a3['id'],keluar,MessageType['text'],{'quoted':fkontakk,'thumbnail':fs[_0x390615(0x1ac)](_0x390615(0x1ce)),'contextInfo':{'forwardingScore':0x1fc,'isForwarded':!![],'externalAdReply':{'title':_0x390615(0x1e0)+_0x1107a3['subject'],'body':'','mediaType':'2','thumbnail':_0x4540e1,'mediaUrl':'https://youtu.be/6DYH9n7CH44'}}});}else{if(_0x4a4621[_0x390615(0x1bc)]==_0x390615(0x1b8))fkontakk={'key':{'fromMe':![],'participant':_0x390615(0x1b4),..._0x4a4621[_0x390615(0x1af)]?{'remoteJid':_0x390615(0x1db)}:{}},'message':{'contactMessage':{'displayName':''+_0x1107a3[_0x390615(0x1c8)],'vcard':_0x390615(0x1d5)}}},num=_0x4a4621[_0x390615(0x1e4)][0x0],teks=_0x390615(0x1d7)+num[_0x390615(0x1e1)]('@')[0x0]+_0x390615(0x1b7)+_0x1107a3[_0x390615(0x1c8)]+'*\x0a𝐖𝐚𝐤𝐭𝐮\x20:\x20*'+_0x54c558+'*',_0xe8697b[_0x390615(0x1d2)](_0x1107a3['id'],teks,MessageType['text'],{'contextInfo':{'mentionedJid':[num]},'quoted':fkontakk}),console['log'](color('|TRM|'),color(_0x390615(0x1cc)+num[_0x390615(0x1e1)]('@')[0x0]+_0x390615(0x19f)+_0x1107a3[_0x390615(0x1c8)],'cyan'));else _0x4a4621['action']==_0x390615(0x1a4)&&(fkontakk={'key':{'fromMe':![],'participant':'0@s.whatsapp.net',..._0x4a4621['jid']?{'remoteJid':_0x390615(0x1db)}:{}},'message':{'contactMessage':{'displayName':''+_0x1107a3[_0x390615(0x1c8)],'vcard':_0x390615(0x1d5)}}},num=_0x4a4621[_0x390615(0x1e4)][0x0],teks='𝘿𝙀𝙈𝙊𝙏𝙀\x20-\x20𝘿𝙀𝙏𝙀𝘾𝙏𝙀𝘿\x0a𝐌𝐞𝐦𝐛𝐞𝐫\x20:\x20*@'+num[_0x390615(0x1e1)]('@')[0x0]+_0x390615(0x1b7)+_0x1107a3[_0x390615(0x1c8)]+_0x390615(0x1ba)+_0x54c558+'*',_0xe8697b[_0x390615(0x1d2)](_0x1107a3['id'],teks,MessageType['text'],{'contextInfo':{'mentionedJid':[num]},'quoted':fkontakk}),console['log'](color('|TRM|'),color(_0x390615(0x1b1)+num[_0x390615(0x1e1)]('@')[0x0]+_0x390615(0x19f)+_0x1107a3[_0x390615(0x1c8)],_0x390615(0x1c3))));}}}catch(_0x46b3b0){console[_0x390615(0x1a6)](_0x390615(0x1e8),color(_0x46b3b0,_0x390615(0x1cf)));}}),_0xe8697b['on'](_0x37df51(0x1a8),async _0x24b1bc=>{const _0x36e94f=_0x37df51;require(_0x36e94f(0x1d1))(_0xe8697b,_0x24b1bc);});};function nocache(_0xa2fab,_0x74843a=()=>{}){const _0x5c9d7d=_0x4d3d21;console['log'](_0x5c9d7d(0x1e9),'\x27'+_0xa2fab+'\x27',_0x5c9d7d(0x1c9)),fs['watchFile'](require['resolve'](_0xa2fab),async()=>{await uncache(require['resolve'](_0xa2fab)),_0x74843a(_0xa2fab);});}function uncache(_0x98acc6='.'){return new Promise((_0x40260a,_0x4694eb)=>{const _0x5df652=_0x1464;try{delete require[_0x5df652(0x1dd)][require[_0x5df652(0x1d4)](_0x98acc6)],_0x40260a();}catch(_0x4e9cdf){_0x4694eb(_0x4e9cdf);}});}starts();