forked from Toxic1239/Queen-RiasV2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
1 lines (1 loc) · 1.93 KB
/
index.js
File metadata and controls
1 lines (1 loc) · 1.93 KB
1
const _0x950f40=_0x5de7;(function(_0x365f04,_0x217fb8){const _0x2bf35b=_0x5de7,_0x27c664=_0x365f04();while(!![]){try{const _0x251788=-parseInt(_0x2bf35b(0x118))/0x1*(-parseInt(_0x2bf35b(0x10b))/0x2)+parseInt(_0x2bf35b(0x116))/0x3+-parseInt(_0x2bf35b(0x10c))/0x4+parseInt(_0x2bf35b(0x112))/0x5*(-parseInt(_0x2bf35b(0x108))/0x6)+parseInt(_0x2bf35b(0x109))/0x7*(-parseInt(_0x2bf35b(0x119))/0x8)+parseInt(_0x2bf35b(0x11a))/0x9*(-parseInt(_0x2bf35b(0x115))/0xa)+parseInt(_0x2bf35b(0x10d))/0xb;if(_0x251788===_0x217fb8)break;else _0x27c664['push'](_0x27c664['shift']());}catch(_0x18afc0){_0x27c664['push'](_0x27c664['shift']());}}}(_0x2a15,0x2c151));const {spawn}=require(_0x950f40(0x117)),path=require(_0x950f40(0x113));function _0x5de7(_0x31562f,_0x9e30f4){const _0x2a15fc=_0x2a15();return _0x5de7=function(_0x5de765,_0x3f7307){_0x5de765=_0x5de765-0x105;let _0x48d37d=_0x2a15fc[_0x5de765];return _0x48d37d;},_0x5de7(_0x31562f,_0x9e30f4);}function _0x2a15(){const _0xce887e=['475065KBzblo','path','log','40760yBfqid','757728lAoDlp','child_process','23wMnnSe','72nTHdKB','594bqfmug','Restarting\x20Bot...','argv','inherit','18cUfMTJ','92883HJKbkU','ipc','13474Tpytfx','433580fXjAQQ','6103955lTwuhn','kill','exit','join','slice'];_0x2a15=function(){return _0xce887e;};return _0x2a15();}function start(){const _0x2dcbb=_0x950f40;let _0x3a61de=[path[_0x2dcbb(0x110)](__dirname,'main.js'),...process['argv'][_0x2dcbb(0x111)](0x2)];console[_0x2dcbb(0x114)]([process[_0x2dcbb(0x106)][0x0],..._0x3a61de]['join']('\x0a'));let _0x541178=spawn(process[_0x2dcbb(0x106)][0x0],_0x3a61de,{'stdio':['inherit',_0x2dcbb(0x107),_0x2dcbb(0x107),_0x2dcbb(0x10a)]})['on']('message',_0x157bdf=>{const _0x230d9b=_0x2dcbb;_0x157bdf=='reset'&&(console[_0x230d9b(0x114)](_0x230d9b(0x105)),_0x541178[_0x230d9b(0x10e)](),start(),delete _0x541178);})['on'](_0x2dcbb(0x10f),_0x22d24e=>{console['error']('Exited\x20with\x20code:',_0x22d24e);if(_0x22d24e=='.'||_0x22d24e==0x1||_0x22d24e==0x0)start();});}start();