@bastion/tesseract
Version:
The heart and soul of the Bastion bot.
1 lines • 3.97 kB
JavaScript
var a4_0x5805be=a4_0x28cf;(function(_0xe9865a,_0x1837a7){var _0x142655=a4_0x28cf,_0x26d047=_0xe9865a();while(!![]){try{var _0x4368f7=-parseInt(_0x142655(0x124))/0x1*(-parseInt(_0x142655(0x11d))/0x2)+-parseInt(_0x142655(0x104))/0x3+parseInt(_0x142655(0x101))/0x4*(-parseInt(_0x142655(0x121))/0x5)+-parseInt(_0x142655(0x110))/0x6+-parseInt(_0x142655(0x111))/0x7+-parseInt(_0x142655(0x11e))/0x8+parseInt(_0x142655(0x100))/0x9;if(_0x4368f7===_0x1837a7)break;else _0x26d047['push'](_0x26d047['shift']());}catch(_0x5bc4db){_0x26d047['push'](_0x26d047['shift']());}}}(a4_0x576c,0x93a00));function a4_0x576c(){var _0x1266f5=['604272myJHZJ','\x20/\x20','gray','5vgMioQ','name','\x0a[\x20\x20\x20\x20\x20USER]:\x20','2bqaJVW','trace','apply','warn','toString','red','9530649HDcuDH','224820jWGOxT','[ERROR]','shard','1172157mRwTLB','ids','inGuild','commandName','(((.+)+)+)+$','isChatInputCommand','guildId','tag','channelId','\x0a[\x20\x20CHANNEL]:\x20','join','info','715710cAiNCs','6193236LLGWwJ','error','user','yellow','constructor','channel','client','[ERROR\x20','command','search','cyan','\x0a[\x20\x20COMMAND]:\x20','1072202mXFYMg'];a4_0x576c=function(){return _0x1266f5;};return a4_0x576c();}var a4_0x494990=(function(){var _0xe6e527=!![];return function(_0x731438,_0x58883a){var _0x5ca7ed=_0xe6e527?function(){var _0x59bfcb=a4_0x28cf;if(_0x58883a){var _0x14d576=_0x58883a[_0x59bfcb(0x126)](_0x731438,arguments);return _0x58883a=null,_0x14d576;}}:function(){};return _0xe6e527=![],_0x5ca7ed;};}()),a4_0x503bdf=a4_0x494990(this,function(){var _0x26af3c=a4_0x28cf;return a4_0x503bdf['toString']()[_0x26af3c(0x11a)](_0x26af3c(0x108))['toString']()[_0x26af3c(0x115)](a4_0x503bdf)[_0x26af3c(0x11a)](_0x26af3c(0x108));});a4_0x503bdf();import a4_0x1cb98e from'picocolors';function a4_0x28cf(_0x5b0007,_0x1276e6){var _0x1ba05c=a4_0x576c();return a4_0x28cf=function(_0x503bdf,_0x494990){_0x503bdf=_0x503bdf-0xfd;var _0x576cb4=_0x1ba05c[_0x503bdf];return _0x576cb4;},a4_0x28cf(_0x5b0007,_0x1276e6);}class TesseractLogger{static [a4_0x5805be(0x119)]=_0x6799f7=>{var _0x1f7513=a4_0x5805be;console[_0x1f7513(0x10f)](a4_0x1cb98e[_0x1f7513(0x120)]('['+new Date()+']')+(_0x6799f7[_0x1f7513(0x117)][_0x1f7513(0x103)]?a4_0x1cb98e[_0x1f7513(0x11b)]('\x0a[\x20\x20\x20\x20SHARD]:\x20')+_0x6799f7['client']['shard'][_0x1f7513(0x105)][_0x1f7513(0x10e)](_0x1f7513(0x11f)):'')+(_0x6799f7[_0x1f7513(0x106)]()?a4_0x1cb98e[_0x1f7513(0x11b)]('\x0a[\x20\x20\x20SERVER]:\x20')+_0x6799f7['guild'][_0x1f7513(0x122)]+a4_0x1cb98e[_0x1f7513(0x120)]('\x20/\x20'+_0x6799f7[_0x1f7513(0x10a)])+a4_0x1cb98e[_0x1f7513(0x11b)](_0x1f7513(0x10d))+_0x6799f7[_0x1f7513(0x116)][_0x1f7513(0x122)]+a4_0x1cb98e[_0x1f7513(0x120)](_0x1f7513(0x11f)+_0x6799f7[_0x1f7513(0x10c)]):'')+a4_0x1cb98e[_0x1f7513(0x11b)](_0x1f7513(0x123))+_0x6799f7['user'][_0x1f7513(0x10b)]+a4_0x1cb98e['gray'](_0x1f7513(0x11f)+_0x6799f7[_0x1f7513(0x113)]['id'])+a4_0x1cb98e['cyan'](_0x1f7513(0x11c))+(_0x6799f7[_0x1f7513(0x109)]()?_0x6799f7[_0x1f7513(0xfe)]()['slice'](0x1):_0x6799f7[_0x1f7513(0x107)]));};static [a4_0x5805be(0x112)]=(..._0x28b92e)=>{var _0x325bab=a4_0x5805be;console['info'](a4_0x1cb98e[_0x325bab(0xff)](_0x325bab(0x118))+a4_0x1cb98e[_0x325bab(0x120)](new Date()[_0x325bab(0xfe)]())+a4_0x1cb98e[_0x325bab(0xff)](']')),console[_0x325bab(0x112)](..._0x28b92e),console['trace'](),console[_0x325bab(0x10f)](a4_0x1cb98e[_0x325bab(0xff)](_0x325bab(0x102)));};static ['ignore']=()=>{};static [a4_0x5805be(0x10f)]=(..._0x2279d7)=>{var _0x5efc6f=a4_0x5805be;console[_0x5efc6f(0x10f)](a4_0x1cb98e['gray'](new Date()[_0x5efc6f(0xfe)]()),..._0x2279d7);};static [a4_0x5805be(0xfd)]=(..._0x357b46)=>{var _0x2b4167=a4_0x5805be;console[_0x2b4167(0x10f)](a4_0x1cb98e[_0x2b4167(0x114)]('[WARNING\x20')+a4_0x1cb98e['gray'](new Date()[_0x2b4167(0xfe)]())+a4_0x1cb98e[_0x2b4167(0x114)](']')),console[_0x2b4167(0xfd)](..._0x357b46),console[_0x2b4167(0x125)](),console['info'](a4_0x1cb98e[_0x2b4167(0x114)]('[WARNING]'));};}export default TesseractLogger;