forked from ilmanhdyt/ShiraoriBOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
1 lines (1 loc) · 3.02 KB
/
index.js
1
const _0x541223=_0xcffd;(function(_0x4af907,_0x5753e9){const _0x632b79=_0xcffd,_0x4dd9b2=_0x4af907();while(!![]){try{const _0x279cf6=-parseInt(_0x632b79(0xea))/0x1*(parseInt(_0x632b79(0xf5))/0x2)+parseInt(_0x632b79(0xf8))/0x3*(-parseInt(_0x632b79(0xef))/0x4)+parseInt(_0x632b79(0xe9))/0x5*(parseInt(_0x632b79(0xe1))/0x6)+parseInt(_0x632b79(0xe5))/0x7*(parseInt(_0x632b79(0xf4))/0x8)+parseInt(_0x632b79(0xd5))/0x9*(-parseInt(_0x632b79(0xe6))/0xa)+-parseInt(_0x632b79(0xe7))/0xb*(parseInt(_0x632b79(0xec))/0xc)+parseInt(_0x632b79(0xfe))/0xd;if(_0x279cf6===_0x5753e9)break;else _0x4dd9b2['push'](_0x4dd9b2['shift']());}catch(_0x472db9){_0x4dd9b2['push'](_0x4dd9b2['shift']());}}}(_0x1c93,0xc5b50),console[_0x541223(0xe8)](_0x541223(0xfd)));let {spawn}=require('child_process'),path=require(_0x541223(0xf6)),fs=require('fs'),package=require(_0x541223(0xf1));function _0xcffd(_0x4436d2,_0x3342eb){const _0x1c93d7=_0x1c93();return _0xcffd=function(_0xcffd5f,_0x43dcc7){_0xcffd5f=_0xcffd5f-0xd5;let _0x15f3be=_0x1c93d7[_0xcffd5f];return _0x15f3be;},_0xcffd(_0x4436d2,_0x3342eb);}const CFonts=require(_0x541223(0xee));CFonts[_0x541223(0xf9)](_0x541223(0xe4),{'colors':[_0x541223(0xe0)],'font':'block','align':_0x541223(0xdf)}),CFonts['say']('\x27'+package[_0x541223(0xeb)]+'\x27\x20Oleh\x20@'+(package['author'][_0x541223(0xeb)]||package[_0x541223(0xf0)]),{'colors':[_0x541223(0xe0)],'font':_0x541223(0xe3),'align':'center'});var isRunning=![];function _0x1c93(){const _0x46128d=['center','#ff33cc','7635450UEsvPb','Exited\x20with\x20code:','console','SHIRAORI\x0aBOT','14zqGLYX','342170YqoePu','4257wXajhg','log','5zjZJTA','3095EhzwKY','name','37188foZFSe','uptime','cfonts','121804SDFeuj','author','./package.json','error','[RECEIVED]','5604728OryeHz','586QVYDzI','path','exit','33WjrXel','say','send','apply','inherit','Memulai...','25740741dehRyP','369HjPKJV','slice','main.js','#f2aa4c','join','watchFile','kill','message','reset','argv'];_0x1c93=function(){return _0x46128d;};return _0x1c93();}function start(_0x43b92b){const _0x5d7674=_0x541223;if(isRunning)return;isRunning=!![];let _0x57008a=[path[_0x5d7674(0xd9)](__dirname,_0x43b92b),...process[_0x5d7674(0xde)][_0x5d7674(0xd6)](0x2)];CFonts[_0x5d7674(0xf9)]([process[_0x5d7674(0xde)][0x0],..._0x57008a][_0x5d7674(0xd9)]('\x20'),{'colors':[_0x5d7674(0xd8)],'font':_0x5d7674(0xe3),'align':_0x5d7674(0xdf)});let _0x2281a7=spawn(process[_0x5d7674(0xde)][0x0],_0x57008a,{'stdio':[_0x5d7674(0xfc),_0x5d7674(0xfc),'inherit','ipc']});_0x2281a7['on'](_0x5d7674(0xdc),_0x55bc1d=>{const _0x1f53bb=_0x5d7674;console[_0x1f53bb(0xe8)](_0x1f53bb(0xf3),_0x55bc1d);switch(_0x55bc1d){case _0x1f53bb(0xdd):_0x2281a7[_0x1f53bb(0xdb)](),isRunning=![],start[_0x1f53bb(0xfb)](this,arguments);break;case _0x1f53bb(0xed):_0x2281a7[_0x1f53bb(0xfa)](process['uptime']());break;}}),_0x2281a7['on'](_0x5d7674(0xf7),_0x42bc47=>{const _0x2f535f=_0x5d7674;isRunning=![],console[_0x2f535f(0xf2)](_0x2f535f(0xe2),_0x42bc47);if(_0x42bc47===0x0)return;fs[_0x2f535f(0xda)](_0x57008a[0x0],()=>{fs['unwatchFile'](_0x57008a[0x0]),start(_0x43b92b);});});}start(_0x541223(0xd7));