-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.js
3 lines (3 loc) · 10.2 KB
/
index.js
1
2
3
/*https://github.com/ketchupmaze/MXYULA-MD
No Enc? Chat: https://facebook.com/xmaze12*/
var _0x40190e=_0x35dc;function _0x2c7b(){var _0x3fa879=['apply','\x0a\x0aAssisten-YuLa\x20Bot\x0a','exitProcess','line','2150034ednlfa','test','82803MgGacm','emit','Rabu','main.js','Malam','listenerCount','watchFile','getFullYear','Juni','./package.json','yargs/yargs','1646220yccdRJ','9DMoKwy','Jum\x27at','process','getMonth','Januari','Kamis','error','blue','Februari','fork','center','parse','stdout','console','Connecting...','Senin','red','trim','April','10ruStIb','getHours','484733QoboCi','reset','Asia/Jakarta','tiny','Maret','Sore','createInterface','argv','Sabtu','exit','send','green','5725864TGaNek','kill','Siang','Jam\x20:\x20','7saeeDy','getSeconds','39596NeDUfA','stdin','say','Simple\x20Whatsapp\x20Bot\x20Use\x20QR\x20Code\x20&\x20Pairing\x20Code\x0aWith\x20Baileys\x20Library\x0a\x0aInstagram:\x20https://instagram.com/maximusstore.id\x0aFacebook:\x20https://facebook.com/maximusstoreindonesia\x0aWhatsApp:\x20wa.me/6281283516246\x0a\x0a','slice','\x20Hari','[STATUS]','./lib/color','cluster','log','2WVZNut','HH:mm:ss','join','September','8802002vmIEdI','format','uptime','November','Pagi','aqua','message','getMinutes'];_0x2c7b=function(){return _0x3fa879;};return _0x2c7b();}(function(_0x2d12a9,_0x5620e3){var _0x2d5e31=_0x35dc,_0x14e6b5=_0x2d12a9();while(!![]){try{var _0x5e714f=-parseInt(_0x2d5e31(0x207))/0x1*(-parseInt(_0x2d5e31(0x223))/0x2)+parseInt(_0x2d5e31(0x1e6))/0x3+parseInt(_0x2d5e31(0x219))/0x4*(-parseInt(_0x2d5e31(0x205))/0x5)+-parseInt(_0x2d5e31(0x233))/0x6+-parseInt(_0x2d5e31(0x217))/0x7*(parseInt(_0x2d5e31(0x213))/0x8)+-parseInt(_0x2d5e31(0x1f2))/0x9*(-parseInt(_0x2d5e31(0x1f1))/0xa)+parseInt(_0x2d5e31(0x227))/0xb;if(_0x5e714f===_0x5620e3)break;else _0x14e6b5['push'](_0x14e6b5['shift']());}catch(_0x325b90){_0x14e6b5['push'](_0x14e6b5['shift']());}}}(_0x2c7b,0x5d924));function _0x35dc(_0x18ae56,_0x581b82){var _0x2c7bcc=_0x2c7b();return _0x35dc=function(_0x35dc52,_0x206ae0){_0x35dc52=_0x35dc52-0x1e5;var _0xa2e12b=_0x2c7bcc[_0x35dc52];return _0xa2e12b;},_0x35dc(_0x18ae56,_0x581b82);}const moment=require('moment-timezone'),time=moment['tz'](_0x40190e(0x209))[_0x40190e(0x228)](_0x40190e(0x224));let cluster=require(_0x40190e(0x221)),path=require('path'),fs=require('fs'),package=require(_0x40190e(0x1ef));const {color}=require(_0x40190e(0x220)),CFonts=require('cfonts'),Readline=require('readline'),yargs=require(_0x40190e(0x1f0)),rl=Readline[_0x40190e(0x20d)](process[_0x40190e(0x21a)],process[_0x40190e(0x1fe)]);console[_0x40190e(0x222)](color(time,'white'),color(_0x40190e(0x21f),_0x40190e(0x212)),color(_0x40190e(0x200),_0x40190e(0x22c)));var date=new Date(),tahun=date[_0x40190e(0x1ed)](),bulan=date[_0x40190e(0x1f5)](),tanggal=date['getDate'](),hari=date['getDay'](),jams=date[_0x40190e(0x206)](),jamNow=date['getHours'](),menitNow=date[_0x40190e(0x22e)](),detikNow=date[_0x40190e(0x218)]();switch(hari){case 0x0:hari='Minggu';break;case 0x1:hari=_0x40190e(0x201);break;case 0x2:hari='Selasa';break;case 0x3:hari=_0x40190e(0x1e8);break;case 0x4:hari=_0x40190e(0x1f7);break;case 0x5:hari=_0x40190e(0x1f3);break;case 0x6:hari=_0x40190e(0x20f);break;}switch(bulan){case 0x0:bulan=_0x40190e(0x1f6);break;case 0x1:bulan=_0x40190e(0x1fa);break;case 0x2:bulan=_0x40190e(0x20b);break;case 0x3:bulan=_0x40190e(0x204);break;case 0x4:bulan='Mei';break;case 0x5:bulan=_0x40190e(0x1ee);break;case 0x6:bulan='Juli';break;case 0x7:bulan='Agustus';break;case 0x8:bulan=_0x40190e(0x226);break;case 0x9:bulan='Oktober';break;case 0xa:bulan=_0x40190e(0x22a);break;case 0xb:bulan='Desember';break;}switch(jams){case 0x0:jams='Malam';break;case 0x1:jams='Malam';break;case 0x2:jams=_0x40190e(0x1ea);break;case 0x3:jams='Pagi';break;case 0x4:jams=_0x40190e(0x22b);break;case 0x5:jams=_0x40190e(0x22b);break;case 0x6:jams=_0x40190e(0x22b);break;case 0x7:jams='Pagi';break;case 0x8:jams='Pagi';break;case 0x9:jams='Pagi';break;case 0xa:jams=_0x40190e(0x22b);break;case 0xb:jams=_0x40190e(0x215);break;case 0xc:jams=_0x40190e(0x215);break;case 0xd:jams='Siang';break;case 0xe:jams=_0x40190e(0x215);break;case 0xf:jams=_0x40190e(0x20c);break;case 0x10:jams=_0x40190e(0x20c);break;case 0x11:jams='Sore';break;case 0x12:jams=_0x40190e(0x1ea);break;case 0x13:jams=_0x40190e(0x1ea);break;case 0x14:jams=_0x40190e(0x1ea);break;case 0x15:jams=_0x40190e(0x1ea);break;case 0x16:jams=_0x40190e(0x1ea);break;case 0x17:jams=_0x40190e(0x1ea);break;}switch(jamNow){case 0x0:jamNow='00';break;case 0x1:jamNow='01';break;case 0x2:jamNow='02';break;case 0x3:jamNow='03';break;case 0x4:jamNow='04';break;case 0x5:jamNow='05';break;case 0x6:jamNow='06';break;case 0x7:jamNow='07';break;case 0x8:jamNow='08';break;case 0x9:jamNow='09';break;case 0xa:jamNow='10';break;case 0xb:jamNow='11';break;case 0xc:jamNow='12';break;case 0xd:jamNow='13';break;case 0xe:jamNow='14';break;case 0xf:jamNow='15';break;case 0x10:jamNow='16';break;case 0x11:jamNow='17';break;case 0x12:jamNow='18';break;case 0x13:jamNow='19';break;case 0x14:jamNow='20';break;case 0x15:jamNow='21';break;case 0x16:jamNow='22';break;case 0x17:jamNow='23';break;}switch(menitNow){case 0x0:menitNow='00';break;case 0x1:menitNow='01';break;case 0x2:menitNow='02';break;case 0x3:menitNow='03';break;case 0x4:menitNow='04';break;case 0x5:menitNow='05';break;case 0x6:menitNow='06';break;case 0x7:menitNow='07';break;case 0x8:menitNow='08';break;case 0x9:menitNow='09';break;case 0xa:menitNow='10';break;case 0xb:menitNow='11';break;case 0xc:menitNow='12';break;case 0xd:menitNow='13';break;case 0xe:menitNow='14';break;case 0xf:menitNow='15';break;case 0x10:menitNow='16';break;case 0x11:menitNow='17';break;case 0x12:menitNow='18';break;case 0x13:menitNow='19';break;case 0x14:menitNow='20';break;case 0x15:menitNow='21';break;case 0x16:menitNow='22';break;case 0x17:menitNow='23';break;case 0x18:menitNow='24';break;case 0x19:menitNow='25';break;case 0x1a:menitNow='26';break;case 0x1b:menitNow='27';break;case 0x1c:menitNow='28';break;case 0x1d:menitNow='29';break;case 0x1e:menitNow='30';break;case 0x1f:menitNow='31';break;case 0x20:menitNow='32';break;case 0x21:menitNow='33';break;case 0x22:menitNow='34';break;case 0x23:menitNow='35';break;case 0x24:menitNow='36';break;case 0x25:menitNow='37';break;case 0x26:menitNow='38';break;case 0x27:menitNow='39';break;case 0x28:menitNow='40';break;case 0x29:menitNow='41';break;case 0x2a:menitNow='42';break;case 0x2b:menitNow='43';break;case 0x2c:menitNow='44';break;case 0x2d:menitNow='45';break;case 0x2e:menitNow='46';break;case 0x2f:menitNow='47';break;case 0x30:menitNow='48';break;case 0x31:menitNow='49';break;case 0x32:menitNow='50';break;case 0x33:menitNow='51';break;case 0x34:menitNow='52';break;case 0x35:menitNow='53';break;case 0x36:menitNow='54';break;case 0x37:menitNow='55';break;case 0x38:menitNow='56';break;case 0x39:menitNow='57';break;case 0x3a:menitNow='58';break;case 0x3b:menitNow='59';break;}switch(detikNow){case 0x0:detikNow='00';break;case 0x1:detikNow='01';break;case 0x2:detikNow='02';break;case 0x3:detikNow='03';break;case 0x4:detikNow='04';break;case 0x5:detikNow='05';break;case 0x6:detikNow='06';break;case 0x7:detikNow='07';break;case 0x8:detikNow='08';break;case 0x9:detikNow='09';break;case 0xa:detikNow='10';break;case 0xb:detikNow='11';break;case 0xc:detikNow='12';break;case 0xd:detikNow='13';break;case 0xe:detikNow='14';break;case 0xf:detikNow='15';break;case 0x10:detikNow='16';break;case 0x11:detikNow='17';break;case 0x12:detikNow='18';break;case 0x13:detikNow='19';break;case 0x14:detikNow='20';break;case 0x15:detikNow='21';break;case 0x16:detikNow='22';break;case 0x17:detikNow='23';break;case 0x18:detikNow='24';break;case 0x19:detikNow='25';break;case 0x1a:detikNow='26';break;case 0x1b:detikNow='27';break;case 0x1c:detikNow='28';break;case 0x1d:detikNow='29';break;case 0x1e:detikNow='30';break;case 0x1f:detikNow='31';break;case 0x20:detikNow='32';break;case 0x21:detikNow='33';break;case 0x22:detikNow='34';break;case 0x23:detikNow='35';break;case 0x24:detikNow='36';break;case 0x25:detikNow='37';break;case 0x26:detikNow='38';break;case 0x27:detikNow='39';break;case 0x28:detikNow='40';break;case 0x29:detikNow='41';break;case 0x2a:detikNow='42';break;case 0x2b:detikNow='43';break;case 0x2c:detikNow='44';break;case 0x2d:detikNow='45';break;case 0x2e:detikNow='46';break;case 0x2f:detikNow='47';break;case 0x30:detikNow='48';break;case 0x31:detikNow='49';break;case 0x32:detikNow='50';break;case 0x33:detikNow='51';break;case 0x34:detikNow='52';break;case 0x35:detikNow='53';break;case 0x36:detikNow='54';break;case 0x37:detikNow='55';break;case 0x38:detikNow='56';break;case 0x39:detikNow='57';break;case 0x3a:detikNow='58';break;case 0x3b:detikNow='59';break;}var tampilTanggal=hari+'\x20'+tanggal+'\x20'+bulan+'\x20'+tahun,tampilWaktu=_0x40190e(0x216)+jamNow+'\x20'+menitNow+'\x20'+detikNow,tampilHari=''+jams+_0x40190e(0x21e);CFonts[_0x40190e(0x21b)](_0x40190e(0x230),{'font':_0x40190e(0x20a),'align':'center','gradient':[_0x40190e(0x202),_0x40190e(0x1f9)]}),CFonts[_0x40190e(0x21b)](_0x40190e(0x21c),{'font':_0x40190e(0x1ff),'align':_0x40190e(0x1fc),'colors':[_0x40190e(0x1f9)]});var isRunning=![];function start(_0x9bc869){var _0x5be93=_0x40190e;if(isRunning)return;isRunning=!![];let _0x267c93=[path['join'](__dirname,_0x9bc869),...process[_0x5be93(0x20e)][_0x5be93(0x21d)](0x2)];cluster['setupMaster']({'exec':path[_0x5be93(0x225)](__dirname,_0x9bc869),'args':_0x267c93[_0x5be93(0x21d)](0x1)});let _0x57c89c=cluster[_0x5be93(0x1fb)]();_0x57c89c['on'](_0x5be93(0x22d),_0x522ed7=>{var _0xd2fa50=_0x5be93;switch(_0x522ed7){case _0xd2fa50(0x208):_0x57c89c[_0xd2fa50(0x1f4)][_0xd2fa50(0x214)](),isRunning=![],start[_0xd2fa50(0x22f)](this,arguments);break;case _0xd2fa50(0x229):_0x57c89c[_0xd2fa50(0x211)](process[_0xd2fa50(0x229)]());break;}}),_0x57c89c['on'](_0x5be93(0x210),(_0x20c48e,_0x44c81f)=>{var _0x42636b=_0x5be93;isRunning=![],console[_0x42636b(0x1f8)]('Exited\x20with\x20code:',_0x44c81f);if(_0x44c81f===0x0)return;fs[_0x42636b(0x1ec)](_0x267c93[0x0],()=>{fs['unwatchFile'](_0x267c93[0x0]),start(_0x9bc869);});});let _0x5d29e7=new Object(yargs(process[_0x5be93(0x20e)][_0x5be93(0x21d)](0x2))[_0x5be93(0x231)](![])[_0x5be93(0x1fd)]());if(!_0x5d29e7[_0x5be93(0x1e5)]){if(!rl[_0x5be93(0x1eb)]())rl['on'](_0x5be93(0x232),_0x4e21f9=>{var _0x3a2560=_0x5be93;_0x57c89c[_0x3a2560(0x1e7)](_0x3a2560(0x22d),_0x4e21f9[_0x3a2560(0x203)]());});}}start(_0x40190e(0x1e9));