UNPKG

@bastion/tesseract

Version:

The heart and soul of the Bastion bot.

1 lines 2.39 kB
function a10_0xb7e1(){const _0x1e2893=['88806mtkzNt','3sGiILl','constructor','12Vwehlf','9wMhNgn','2418880xAAkyv','toString','info','4544023GmfblA','commands.json','resolve','3727910EzkPBp','stringify','133oPTgVe','129690yhgoiQ','(((.+)+)+)+$','error','writeFileSync','5fiAHSf','search','1736472WdDwCt','741338fsWjBY','utf-8'];a10_0xb7e1=function(){return _0x1e2893;};return a10_0xb7e1();}(function(_0x2b4b35,_0x2589d){const _0xc4390c=a10_0x37e0,_0x4a3774=_0x2b4b35();while(!![]){try{const _0x4ef8b7=parseInt(_0xc4390c(0x1f8))/0x1+parseInt(_0xc4390c(0x1f6))/0x2*(-parseInt(_0xc4390c(0x1f9))/0x3)+-parseInt(_0xc4390c(0x1f5))/0x4*(-parseInt(_0xc4390c(0x1f3))/0x5)+-parseInt(_0xc4390c(0x1ef))/0x6*(parseInt(_0xc4390c(0x1ee))/0x7)+-parseInt(_0xc4390c(0x1e6))/0x8+-parseInt(_0xc4390c(0x1e5))/0x9*(-parseInt(_0xc4390c(0x1ec))/0xa)+-parseInt(_0xc4390c(0x1e9))/0xb*(-parseInt(_0xc4390c(0x1e4))/0xc);if(_0x4ef8b7===_0x2589d)break;else _0x4a3774['push'](_0x4a3774['shift']());}catch(_0x50db57){_0x4a3774['push'](_0x4a3774['shift']());}}}(a10_0xb7e1,0x36f46));const a10_0x1239d9=(function(){let _0x31ca63=!![];return function(_0x4cffb9,_0x4ac10f){const _0x302040=_0x31ca63?function(){if(_0x4ac10f){const _0x169342=_0x4ac10f['apply'](_0x4cffb9,arguments);return _0x4ac10f=null,_0x169342;}}:function(){};return _0x31ca63=![],_0x302040;};}()),a10_0x464ef1=a10_0x1239d9(this,function(){const _0x2089da=a10_0x37e0;return a10_0x464ef1[_0x2089da(0x1e7)]()[_0x2089da(0x1f4)]('(((.+)+)+)+$')[_0x2089da(0x1e7)]()[_0x2089da(0x1fa)](a10_0x464ef1)[_0x2089da(0x1f4)](_0x2089da(0x1f0));});a10_0x464ef1();import a10_0x4b35ee from'node:fs';import a10_0x19d5fb from'node:path';import a10_0x39151c from'../TesseractLogger.js';import a10_0x51903a from'../utils/getCommands.js';const exec=async()=>{const _0x46b571=a10_0x37e0;try{a10_0x39151c[_0x46b571(0x1e8)]('Generating\x20commands\x20data...'),a10_0x4b35ee[_0x46b571(0x1f2)](a10_0x19d5fb[_0x46b571(0x1eb)](_0x46b571(0x1ea)),JSON[_0x46b571(0x1ed)](a10_0x51903a()),{'encoding':_0x46b571(0x1f7)}),a10_0x39151c['info']('Successfully\x20generated\x20commands\x20data.');}catch(_0xe8dc3){a10_0x39151c[_0x46b571(0x1f1)](_0xe8dc3);}};function a10_0x37e0(_0x50b1df,_0x464622){const _0x1fbb5e=a10_0xb7e1();return a10_0x37e0=function(_0x464ef1,_0x1239d9){_0x464ef1=_0x464ef1-0x1e4;let _0xb7e1a1=_0x1fbb5e[_0x464ef1];return _0xb7e1a1;},a10_0x37e0(_0x50b1df,_0x464622);}export{exec};