UNPKG

@bastion/tesseract

Version:

The heart and soul of the Bastion bot.

1 lines 2.64 kB
const a11_0x436748=a11_0x4293;(function(_0x58d1e5,_0x59c0b5){const _0x26afde=a11_0x4293,_0x3efda0=_0x58d1e5();while(!![]){try{const _0x2faa53=-parseInt(_0x26afde(0x1b1))/0x1*(parseInt(_0x26afde(0x1ba))/0x2)+-parseInt(_0x26afde(0x1be))/0x3*(-parseInt(_0x26afde(0x1b2))/0x4)+-parseInt(_0x26afde(0x1b0))/0x5*(parseInt(_0x26afde(0x1ad))/0x6)+-parseInt(_0x26afde(0x1aa))/0x7+-parseInt(_0x26afde(0x1b7))/0x8*(parseInt(_0x26afde(0x1b6))/0x9)+-parseInt(_0x26afde(0x1ab))/0xa+-parseInt(_0x26afde(0x1bb))/0xb*(-parseInt(_0x26afde(0x1b5))/0xc);if(_0x2faa53===_0x59c0b5)break;else _0x3efda0['push'](_0x3efda0['shift']());}catch(_0x3ceef7){_0x3efda0['push'](_0x3efda0['shift']());}}}(a11_0x34a7,0x9b8e7));const a11_0x5bfff0=(function(){let _0x255f1f=!![];return function(_0x198a07,_0xdfa0ab){const _0x380aea=_0x255f1f?function(){const _0x552cc3=a11_0x4293;if(_0xdfa0ab){const _0x4856e4=_0xdfa0ab[_0x552cc3(0x1ae)](_0x198a07,arguments);return _0xdfa0ab=null,_0x4856e4;}}:function(){};return _0x255f1f=![],_0x380aea;};}()),a11_0x7e63d4=a11_0x5bfff0(this,function(){const _0x404843=a11_0x4293;return a11_0x7e63d4['toString']()[_0x404843(0x1b4)](_0x404843(0x1c0))[_0x404843(0x1b9)]()[_0x404843(0x1b3)](a11_0x7e63d4)[_0x404843(0x1b4)]('(((.+)+)+)+$');});a11_0x7e63d4();import a11_0x4e3cd0 from'dotenv';import{REST,Routes}from'discord.js';import a11_0x191483 from'../TesseractLogger.js';import a11_0x55a6c8 from'../TesseractSettings.js';import a11_0x42cad6 from'../utils/getCommands.js';a11_0x4e3cd0[a11_0x436748(0x1ac)]({'quiet':!![]});function a11_0x34a7(){const _0x1ab26e=['token','toString','216530YoUJvg','30965QhDdmt','put','info','1877301UWvDqt','applicationCommands','(((.+)+)+)+$','error','4896339SjIlAh','4851400lbBxgZ','config','1038bROSDt','apply','Publishing\x20commands\x20to\x20Discord...','16265auigMv','4yncLmU','4fHMHRk','constructor','search','9540VspcyJ','9mDparx','368696quroZP'];a11_0x34a7=function(){return _0x1ab26e;};return a11_0x34a7();}const settings=new a11_0x55a6c8(),rest=new REST({'version':'10'})['setToken'](settings[a11_0x436748(0x1b8)]),exec=async()=>{const _0x5e5f56=a11_0x436748;try{a11_0x191483[_0x5e5f56(0x1bd)](_0x5e5f56(0x1af)),await rest[_0x5e5f56(0x1bc)](Routes[_0x5e5f56(0x1bf)](settings['id']),{'body':a11_0x42cad6()}),a11_0x191483[_0x5e5f56(0x1bd)]('Successfully\x20published\x20commands\x20to\x20Discord.');}catch(_0x420fd2){a11_0x191483[_0x5e5f56(0x1a9)](_0x420fd2);}};function a11_0x4293(_0x14ffa0,_0x2e0af3){const _0x248a12=a11_0x34a7();return a11_0x4293=function(_0x7e63d4,_0x5bfff0){_0x7e63d4=_0x7e63d4-0x1a9;let _0x34a7db=_0x248a12[_0x7e63d4];return _0x34a7db;},a11_0x4293(_0x14ffa0,_0x2e0af3);}export{exec};