UNPKG

@bastion/tesseract

Version:

The heart and soul of the Bastion bot.

1 lines 2.49 kB
const a12_0x212cf3=a12_0x28fe;(function(_0x4077c8,_0x3f99d0){const _0x95213b=a12_0x28fe,_0x33e271=_0x4077c8();while(!![]){try{const _0x189625=parseInt(_0x95213b(0xbf))/0x1+parseInt(_0x95213b(0xc9))/0x2+-parseInt(_0x95213b(0xc3))/0x3*(parseInt(_0x95213b(0xcc))/0x4)+parseInt(_0x95213b(0xbe))/0x5*(parseInt(_0x95213b(0xc7))/0x6)+parseInt(_0x95213b(0xc6))/0x7*(-parseInt(_0x95213b(0xc4))/0x8)+parseInt(_0x95213b(0xcb))/0x9*(parseInt(_0x95213b(0xc2))/0xa)+-parseInt(_0x95213b(0xbd))/0xb*(parseInt(_0x95213b(0xc5))/0xc);if(_0x189625===_0x3f99d0)break;else _0x33e271['push'](_0x33e271['shift']());}catch(_0x489a74){_0x33e271['push'](_0x33e271['shift']());}}}(a12_0x446e,0xb1d16));const a12_0x19337e=(function(){let _0x31a9eb=!![];return function(_0x4ec01a,_0x53ebba){const _0x1bc6cb=_0x31a9eb?function(){const _0x41cc7=a12_0x28fe;if(_0x53ebba){const _0x78287e=_0x53ebba[_0x41cc7(0xc1)](_0x4ec01a,arguments);return _0x53ebba=null,_0x78287e;}}:function(){};return _0x31a9eb=![],_0x1bc6cb;};}()),a12_0x4ee062=a12_0x19337e(this,function(){const _0xe0c5f4=a12_0x28fe;return a12_0x4ee062[_0xe0c5f4(0xcd)]()['search'](_0xe0c5f4(0xc8))[_0xe0c5f4(0xcd)]()[_0xe0c5f4(0xca)](a12_0x4ee062)['search'](_0xe0c5f4(0xc8));});a12_0x4ee062();import a12_0x2be090 from'dotenv';import{REST,Routes}from'discord.js';import a12_0x5215b5 from'../TesseractLogger.js';import a12_0x388d33 from'../TesseractSettings.js';a12_0x2be090['config']();const settings=new a12_0x388d33(),rest=new REST({'version':'10'})['setToken'](settings[a12_0x212cf3(0xce)]),exec=async()=>{const _0x58e293=a12_0x212cf3;try{a12_0x5215b5[_0x58e293(0xba)](_0x58e293(0xbb)),await rest[_0x58e293(0xbc)](Routes['applicationCommands'](settings['id']),{'body':[]}),a12_0x5215b5[_0x58e293(0xba)](_0x58e293(0xc0));}catch(_0x1a4d9d){a12_0x5215b5['error'](_0x1a4d9d);}};function a12_0x28fe(_0x480e01,_0x3e412f){const _0x10132a=a12_0x446e();return a12_0x28fe=function(_0x4ee062,_0x19337e){_0x4ee062=_0x4ee062-0xba;let _0x446efa=_0x10132a[_0x4ee062];return _0x446efa;},a12_0x28fe(_0x480e01,_0x3e412f);}export{exec};function a12_0x446e(){const _0x2b7e66=['2265904TKwJSj','constructor','36ansQmO','8uFqaoR','toString','token','info','Unpublishing\x20commands\x20from\x20Discord...','put','22458623dWRfTl','4641685IVfiMq','1406708PgUVNp','Successfully\x20unpublished\x20commands\x20from\x20Discord.','apply','3614970wQfkVi','1948329TUkoaa','1690128tYoSnF','12kgGdCM','28EfUSbP','6zlomOj','(((.+)+)+)+$'];a12_0x446e=function(){return _0x2b7e66;};return a12_0x446e();}