@bastion/tesseract
Version:
The heart and soul of the Bastion bot.
1 lines • 2.46 kB
JavaScript
(function(_0x4732ad,_0x5de32a){const _0x2cc9de=a10_0x1ee3,_0x446aa2=_0x4732ad();while(!![]){try{const _0x22d8ed=parseInt(_0x2cc9de(0x1bc))/0x1+parseInt(_0x2cc9de(0x1c6))/0x2*(-parseInt(_0x2cc9de(0x1c3))/0x3)+-parseInt(_0x2cc9de(0x1c1))/0x4+parseInt(_0x2cc9de(0x1b2))/0x5*(parseInt(_0x2cc9de(0x1b3))/0x6)+parseInt(_0x2cc9de(0x1b8))/0x7*(parseInt(_0x2cc9de(0x1c7))/0x8)+parseInt(_0x2cc9de(0x1b7))/0x9*(-parseInt(_0x2cc9de(0x1bf))/0xa)+-parseInt(_0x2cc9de(0x1c8))/0xb*(parseInt(_0x2cc9de(0x1c2))/0xc);if(_0x22d8ed===_0x5de32a)break;else _0x446aa2['push'](_0x446aa2['shift']());}catch(_0x502261){_0x446aa2['push'](_0x446aa2['shift']());}}}(a10_0x4e8a,0x4fa5b));const a10_0x2168c0=(function(){let _0x5b0953=!![];return function(_0x307757,_0x38aa4a){const _0x54e683=_0x5b0953?function(){const _0x26c342=a10_0x1ee3;if(_0x38aa4a){const _0x425ae8=_0x38aa4a[_0x26c342(0x1b1)](_0x307757,arguments);return _0x38aa4a=null,_0x425ae8;}}:function(){};return _0x5b0953=![],_0x54e683;};}()),a10_0xa4e0fd=a10_0x2168c0(this,function(){const _0x46de47=a10_0x1ee3;return a10_0xa4e0fd['toString']()[_0x46de47(0x1b9)](_0x46de47(0x1c4))[_0x46de47(0x1c9)]()[_0x46de47(0x1ba)](a10_0xa4e0fd)['search'](_0x46de47(0x1c4));});function a10_0x4e8a(){const _0x34a1ac=['stringify','518864gYEhGn','Generating\x20commands\x20data...','info','1670scxFRF','error','280956nTVkfn','7956QQLsGI','3834hlAocS','(((.+)+)+)+$','Successfully\x20generated\x20commands\x20data.','524CJdqLT','892152sJltzm','6028yYMJtY','toString','utf-8','apply','5gvagpZ','1701786koEWOI','writeFileSync','commands.json','resolve','2286GbCXgb','21JqtoYf','search','constructor'];a10_0x4e8a=function(){return _0x34a1ac;};return a10_0x4e8a();}a10_0xa4e0fd();import a10_0x453dc3 from'node:fs';import a10_0x8eb283 from'node:path';import a10_0x12a86e from'../TesseractLogger.js';function a10_0x1ee3(_0xd133ad,_0x340635){const _0x101d50=a10_0x4e8a();return a10_0x1ee3=function(_0xa4e0fd,_0x2168c0){_0xa4e0fd=_0xa4e0fd-0x1b1;let _0x4e8a23=_0x101d50[_0xa4e0fd];return _0x4e8a23;},a10_0x1ee3(_0xd133ad,_0x340635);}import a10_0x282981 from'../utils/getCommands.js';const exec=async()=>{const _0x3d19c0=a10_0x1ee3;try{a10_0x12a86e[_0x3d19c0(0x1be)](_0x3d19c0(0x1bd)),a10_0x453dc3[_0x3d19c0(0x1b4)](a10_0x8eb283[_0x3d19c0(0x1b6)](_0x3d19c0(0x1b5)),JSON[_0x3d19c0(0x1bb)](a10_0x282981()),{'encoding':_0x3d19c0(0x1ca)}),a10_0x12a86e[_0x3d19c0(0x1be)](_0x3d19c0(0x1c5));}catch(_0x13e6c1){a10_0x12a86e[_0x3d19c0(0x1c0)](_0x13e6c1);}};export{exec};