commit 657268d3c9c6edb2c159ebe5b5d1a718da427da3 Author: ShadowVirtual Date: Mon Apr 1 18:59:09 2024 -0800 Added the bot files diff --git a/config.js b/config.js new file mode 100644 index 0000000..cb50623 --- /dev/null +++ b/config.js @@ -0,0 +1,73 @@ +module.exports = { + bot_token: "", //your discord bot token + guild_id: "", // your discord server id + licenseKey: "", // your License Key + domainIP: "", + api_role_id: "", // Verify Role + api_url: "https://YOURDOMAIN/api/v1", + auth_url: "https://YOURDOMAIN/oauth/discord/connect", // required Discord OAuth. AdminPanel -> Configuration -> Oauth + api_token: "", // Admin Panel -> Create a new token under API Token. The token must have all permissions + + notification_channelID: "", + review_channelID: "", + + package_roles: [ + { + roleID: "", // Discord Role ID + packageID: 1 + }, + { + roleID: "", + packageID: 2 + }, + { + roleID: "", + packageID: 3 + }, + { + roleID: "", + packageID: 4 + }, + { + roleID: "", + packageID: 5 + }, + ], + + support_topics: [ // Max 25 Topics ( Discord Limit ) + { name: "Support 1 bla bla bla", value: "1", response: "123", footer: "" , image: false, thumbnail: false }, + { name: "Support 2 bla bla bla", value: "2", response: "123 \n Test \n Hilfe", image: false, thumbnail: false }, + { name: "Support 3 bla bla bla", value: "3", response: "123", footer: "" , image: false, thumbnail: false }, + { name: "Support 4 bla bla bla", value: "4", response: "123", footer: "" , image: false, thumbnail: false }, + ], + + review_products: [ // Max 25 Topics ( Discord Limit ) + { name: "NGoGAuther", value: "1" }, + { name: "Review 2 bla bla bla", value: "2" }, + { name: "Review 3 bla bla bla", value: "3" }, + { name: "Review 4 bla bla bla", value: "4" }, + ], + + mysql: { // MYSQL Requried for Ticket + host: "localhost", + user: "root", + password: "", + database: "", + port: 3306, + }, + + ticket_settings: { + embed_color: "Green", + ticket_message: "Welcome {user},\nSupport will get in test ahb you shortly.", + ticket_thumbnail: "https://i.imgur.com/ApeRvJk.png", + + buttoncloseemoji: '😂', + buttoncloselabel: "Schließen", + buttonclosestyle: "Secondary", + + buttoncreateemoji: "🎫", + buttoncreatelabel: "Öffnen", + buttoncreatestyle: "Secondary", + }, + +}; diff --git a/helpers/api.js b/helpers/api.js new file mode 100644 index 0000000..a653c23 --- /dev/null +++ b/helpers/api.js @@ -0,0 +1 @@ +const a0_0x5691dc=a0_0x123b;(function(_0x2f2ce7,_0x1e25b9){const _0x588091=a0_0x123b,_0x3dbabb=_0x2f2ce7();while(!![]){try{const _0x12c62a=-parseInt(_0x588091(0x93))/0x1+-parseInt(_0x588091(0xa0))/0x2+-parseInt(_0x588091(0xbd))/0x3+-parseInt(_0x588091(0xcb))/0x4+parseInt(_0x588091(0xcd))/0x5*(parseInt(_0x588091(0xba))/0x6)+-parseInt(_0x588091(0xb1))/0x7*(-parseInt(_0x588091(0xd0))/0x8)+parseInt(_0x588091(0x92))/0x9;if(_0x12c62a===_0x1e25b9)break;else _0x3dbabb['push'](_0x3dbabb['shift']());}catch(_0x4ea274){_0x3dbabb['push'](_0x3dbabb['shift']());}}}(a0_0x3b20,0xf2278));const a0_0x1c225b=(function(){let _0x26ff6f=!![];return function(_0x3098f9,_0x33f4a0){const _0x4039b1=_0x26ff6f?function(){const _0x4f570f=a0_0x123b;if(_0x33f4a0){if('nXTMw'===_0x4f570f(0xd2))_0xb23b49(_0x40168f['data']);else{const _0x1febc4=_0x33f4a0[_0x4f570f(0xc7)](_0x3098f9,arguments);return _0x33f4a0=null,_0x1febc4;}}}:function(){};return _0x26ff6f=![],_0x4039b1;};}()),a0_0x19978d=a0_0x1c225b(this,function(){const _0x87cbbf=a0_0x123b;return a0_0x19978d['toString']()['search']('(((.+)+)+)'+'+$')['toString']()[_0x87cbbf(0x99)+'r'](a0_0x19978d)[_0x87cbbf(0xc0)]('(((.+)+)+)'+'+$');});a0_0x19978d();function a0_0x3b20(){const _0x1085d1=['uSRob','constructo','ge=','split','push','headers','action','exports','520816fvtLqh','then','sOtdb','request','fxSqm','Okbaj','stateObjec','test','input','data','method','umWEN','age=','call',']=active&p','length','0-9a-zA-Z_','677362UCjrTg','kuQwZ','function\x20*','string','XrGaR','GET','orders?fil','ilter[data','ldvOe','129618ilwpWM','next_page_','../config','5865807ULDhth','gger','$]*)','search','ections?pa','PICmS','LYjWC','/users?fil','JAQRQ','debu','apply','\x5c+\x5c+\x20*(?:[','users?page','Ppckh','5632416YtyKeV','/oauth-con','355pkfvrq','url','page=','96cmLCnb','ixWxT','aWQrC','axios','dxctC','rders','oauth-conn','nections?f','->id]=','counter','&include=o','Bearer\x20','a-zA-Z_$][','init','Authorizat','lOpoi','ter[email]','LMhjW','chain','32101749sLyWzb','1646221nKPXKR','ion','catch','\x5c(\x20*\x5c)','while\x20(tru'];a0_0x3b20=function(){return _0x1085d1;};return a0_0x3b20();}const a0_0x102e8c=(function(){let _0x5c7e41=!![];return function(_0xa34e2c,_0x312be1){const _0x1e35f5=_0x5c7e41?function(){const _0x31a158=a0_0x123b;if(_0x312be1){const _0x245e03=_0x312be1[_0x31a158(0xc7)](_0xa34e2c,arguments);return _0x312be1=null,_0x245e03;}}:function(){};return _0x5c7e41=![],_0x1e35f5;};}());(function(){a0_0x102e8c(this,function(){const _0x57d3d7=a0_0x123b;if(_0x57d3d7(0xb9)!=='ldvOe')_0x528ed2('0');else{const _0xbf92e=new RegExp(_0x57d3d7(0xb3)+_0x57d3d7(0x96)),_0x35370f=new RegExp('\x5c+\x5c+\x20*(?:['+'a-zA-Z_$]['+_0x57d3d7(0xb0)+_0x57d3d7(0xbf),'i'),_0x339327=a0_0x4ec4cc(_0x57d3d7(0x8c));!_0xbf92e['test'](_0x339327+'chain')||!_0x35370f[_0x57d3d7(0xa7)](_0x339327+'input')?_0x339327('0'):_0x57d3d7(0xa5)===_0x57d3d7(0xc2)?_0x9343c4(this,function(){const _0x32227c=_0x57d3d7,_0x5e2634=new _0x36ec6f(_0x32227c(0xb3)+_0x32227c(0x96)),_0x5a8134=new _0x487472(_0x32227c(0xc8)+_0x32227c(0x8b)+_0x32227c(0xb0)+_0x32227c(0xbf),'i'),_0x50fe68=_0x4c69f4('init');!_0x5e2634[_0x32227c(0xa7)](_0x50fe68+_0x32227c(0x91))||!_0x5a8134[_0x32227c(0xa7)](_0x50fe68+_0x32227c(0xa8))?_0x50fe68('0'):_0x53ff55();})():a0_0x4ec4cc();}})();}());const axios=require(a0_0x5691dc(0xd3)),{api_url,api_token}=require(a0_0x5691dc(0xbc));module[a0_0x5691dc(0x9f)]={'getUser':async function(_0x3587a7){const _0x4bbc44=a0_0x5691dc,_0x18e41e={};_0x18e41e[_0x4bbc44(0x8d)+_0x4bbc44(0x94)]=_0x4bbc44(0x8a)+api_token;const _0x50a9eb={};_0x50a9eb[_0x4bbc44(0xaa)]=_0x4bbc44(0xb6),_0x50a9eb[_0x4bbc44(0xce)]=api_url+(_0x4bbc44(0xc4)+_0x4bbc44(0x8f)+'=')+_0x3587a7+(_0x4bbc44(0x89)+_0x4bbc44(0xd5)),_0x50a9eb[_0x4bbc44(0x9d)]=_0x18e41e;let _0x35c1d4=_0x50a9eb;return new Promise(function(_0x328bf9,_0x1b762c){const _0xe2241a=_0x4bbc44;_0xe2241a(0xa4)!==_0xe2241a(0xa4)?_0x280815['request'](_0x16d1f1)[_0xe2241a(0xa1)](_0x3eaf43=>{const _0x4f4683=_0xe2241a;_0x41d119(_0x3eaf43[_0x4f4683(0xa9)]);})[_0xe2241a(0x95)](_0x2a0259=>{_0x3f3794(![]);}):axios[_0xe2241a(0xa3)](_0x35c1d4)['then'](_0xf8546a=>{const _0x2f13b7=_0xe2241a;_0x328bf9(_0xf8546a[_0x2f13b7(0xa9)]);})[_0xe2241a(0x95)](_0x1e9c4a=>{const _0x1ad254=_0xe2241a;_0x1ad254(0xb2)===_0x1ad254(0xb2)?_0x328bf9(![]):_0x565165[_0x1ad254(0xa3)](_0x207545)[_0x1ad254(0xa1)](_0x4d3a12=>{const _0x471c16=_0x1ad254;_0x21af2e(_0x4d3a12[_0x471c16(0xa9)]);})[_0x1ad254(0x95)](_0x5bdc47=>{_0x4c62d3(![]);});});});},'getDiscordUser':async function(_0x17a450){const _0x6b6c40=a0_0x5691dc,_0x108855={};_0x108855[_0x6b6c40(0x8d)+_0x6b6c40(0x94)]='Bearer\x20'+api_token;const _0x14dab5={};_0x14dab5['method']=_0x6b6c40(0xb6),_0x14dab5[_0x6b6c40(0xce)]=api_url+('/oauth-con'+_0x6b6c40(0xd7)+_0x6b6c40(0xb8)+_0x6b6c40(0x87))+_0x17a450,_0x14dab5[_0x6b6c40(0x9d)]=_0x108855;let _0x37e146=_0x14dab5;return new Promise(function(_0x2fe4ec,_0x11e844){const _0x3a0c57=_0x6b6c40;axios[_0x3a0c57(0xa3)](_0x37e146)[_0x3a0c57(0xa1)](_0x54a58b=>{const _0x8e22d4=_0x3a0c57;_0x2fe4ec(_0x54a58b[_0x8e22d4(0xa9)]);})[_0x3a0c57(0x95)](_0xa96b95=>{_0x2fe4ec(![]);});});},'getNewOauths':async function(){const _0x5c81a7=a0_0x5691dc,_0x447e11={};_0x447e11['Authorizat'+'ion']='Bearer\x20'+api_token;const _0x239a7a={};_0x239a7a['method']=_0x5c81a7(0xb6),_0x239a7a[_0x5c81a7(0xce)]=api_url+('/oauth-con'+'nections?d'+'ate=3days'),_0x239a7a['headers']=_0x447e11;let _0x5b41a7=_0x239a7a;return new Promise(function(_0x1a2033,_0x3efbb7){const _0x551a33=_0x5c81a7;axios[_0x551a33(0xa3)](_0x5b41a7)[_0x551a33(0xa1)](_0x11e80d=>{_0x1a2033(_0x11e80d['data']);})[_0x551a33(0x95)](_0x432895=>{_0x1a2033(![]);});});},'getOauthUsers':async function(){const _0x38384e=a0_0x5691dc;let _0x4450b1=0x1,_0x51c057=[],_0x1795bb=![];while(!_0x1795bb){if(_0x38384e(0xab)!==_0x38384e(0xab))(function(){return![];}[_0x38384e(0x99)+'r'](_0x38384e(0xc6)+_0x38384e(0xbe))[_0x38384e(0xc7)]('stateObjec'+'t'));else{let _0x1a365c=await pagination(_0x38384e(0xd6)+_0x38384e(0xc1)+_0x38384e(0x9a)+_0x4450b1);_0x51c057['push'](..._0x1a365c['data']);if(!_0x1a365c[_0x38384e(0xbb)+_0x38384e(0xce)])_0x1795bb=!![];else _0x4450b1=_0x1a365c[_0x38384e(0xbb)+'url'][_0x38384e(0x9b)](_0x38384e(0xcf))[0x1];}}return _0x51c057;},'getActiveOrders':async function(){const _0x4c808e=a0_0x5691dc;let _0x23c335=0x1,_0x3becc5=[],_0x55415c=![];while(!_0x55415c){let _0x43ec80=await pagination(_0x4c808e(0xb7)+'ter[status'+_0x4c808e(0xae)+_0x4c808e(0xac)+_0x23c335);_0x3becc5['push'](..._0x43ec80['data']);if(!_0x43ec80[_0x4c808e(0xbb)+_0x4c808e(0xce)])_0x55415c=!![];else _0x23c335=_0x43ec80[_0x4c808e(0xbb)+_0x4c808e(0xce)][_0x4c808e(0x9b)]('page=')[0x1];}return _0x3becc5;},'getAllUsers':async function(){const _0x5af0df=a0_0x5691dc;let _0x66b7e9=0x1,_0x4dd437=[],_0x3d3b75=![];while(!_0x3d3b75){let _0x3e0308=await pagination(_0x5af0df(0xc9)+'='+_0x66b7e9);_0x4dd437[_0x5af0df(0x9c)](..._0x3e0308['data']);if(!_0x3e0308[_0x5af0df(0xbb)+_0x5af0df(0xce)])_0x3d3b75=!![];else _0x66b7e9=_0x3e0308[_0x5af0df(0xbb)+'url'][_0x5af0df(0x9b)](_0x5af0df(0xcf))[0x1];}return _0x4dd437;}};function a0_0x123b(_0xb3985a,_0x188c09){const _0x1b87f9=a0_0x3b20();return a0_0x123b=function(_0x4ec4cc,_0x102e8c){_0x4ec4cc=_0x4ec4cc-0x87;let _0x35ca96=_0x1b87f9[_0x4ec4cc];return _0x35ca96;},a0_0x123b(_0xb3985a,_0x188c09);}async function pagination(_0x555d30){const _0x4f302e=a0_0x5691dc,_0x24eb29={};_0x24eb29[_0x4f302e(0x8d)+_0x4f302e(0x94)]=_0x4f302e(0x8a)+api_token;const _0x1d8596={};_0x1d8596[_0x4f302e(0xaa)]=_0x4f302e(0xb6),_0x1d8596[_0x4f302e(0xce)]=api_url+'/'+_0x555d30,_0x1d8596[_0x4f302e(0x9d)]=_0x24eb29;let _0xaaa08f=_0x1d8596;return new Promise(function(_0x69b493,_0x598a19){const _0x8398c0=_0x4f302e;axios['request'](_0xaaa08f)[_0x8398c0(0xa1)](async _0x571fc2=>{const _0x5ed4b8=_0x8398c0;if(_0x5ed4b8(0xc3)!==_0x5ed4b8(0xd4))return _0x69b493(_0x571fc2['data']);else _0x346319();})['catch'](_0x584f23=>{_0x69b493(![]);});});}function a0_0x4ec4cc(_0x3b9e64){const _0xb2198e=a0_0x5691dc;function _0x36cc4c(_0xf1d4d7){const _0x1f4647=a0_0x123b;if(typeof _0xf1d4d7===_0x1f4647(0xb4))return function(_0x15b4cd){}[_0x1f4647(0x99)+'r'](_0x1f4647(0x97)+'e)\x20{}')['apply'](_0x1f4647(0x88));else{if(_0x1f4647(0x8e)!=='lOpoi'){if(_0x1aa8b4){const _0x4083f5=_0x231e1f['apply'](_0x4b5eeb,arguments);return _0x4dab36=null,_0x4083f5;}}else{if((''+_0xf1d4d7/_0xf1d4d7)[_0x1f4647(0xaf)]!==0x1||_0xf1d4d7%0x14===0x0)_0x1f4647(0x90)===_0x1f4647(0xa2)?_0x1130c2(![]):function(){return!![];}['constructo'+'r'](_0x1f4647(0xc6)+_0x1f4647(0xbe))[_0x1f4647(0xad)](_0x1f4647(0x9e));else{if(_0x1f4647(0xca)==='iFBtT'){const _0x15ff29={};_0x15ff29[_0x1f4647(0x8d)+'ion']=_0x1f4647(0x8a)+_0x5963f7;const _0x4ac6f9={};_0x4ac6f9[_0x1f4647(0xaa)]=_0x1f4647(0xb6),_0x4ac6f9['url']=_0x126c33+(_0x1f4647(0xcc)+_0x1f4647(0xd7)+'ilter[data'+_0x1f4647(0x87))+_0x59e8d3,_0x4ac6f9['headers']=_0x15ff29;let _0x6d438f=_0x4ac6f9;return new _0x4cf8d8(function(_0x2d698e,_0x425ecb){const _0x5409c8=_0x1f4647;_0x17afd7['request'](_0x6d438f)[_0x5409c8(0xa1)](_0x5bdb09=>{const _0x10ea51=_0x5409c8;_0x2d698e(_0x5bdb09[_0x10ea51(0xa9)]);})[_0x5409c8(0x95)](_0x397d01=>{_0x2d698e(![]);});});}else(function(){const _0x5202b6=_0x1f4647;return _0x5202b6(0x98)!==_0x5202b6(0xb5)?![]:!![];}[_0x1f4647(0x99)+'r'](_0x1f4647(0xc6)+_0x1f4647(0xbe))[_0x1f4647(0xc7)](_0x1f4647(0xa6)+'t'));}}}_0x36cc4c(++_0xf1d4d7);}try{if(_0x3b9e64){if(_0xb2198e(0xc5)!==_0xb2198e(0xd1))return _0x36cc4c;else{const _0x147042=_0x28a3ce?function(){const _0x38646e=_0xb2198e;if(_0x4f15ec){const _0x36bafe=_0x5b7f00[_0x38646e(0xc7)](_0x36996e,arguments);return _0x3de172=null,_0x36bafe;}}:function(){};return _0x321e3b=![],_0x147042;}}else _0x36cc4c(0x0);}catch(_0x3c7595){}} \ No newline at end of file diff --git a/helpers/createTicket.js b/helpers/createTicket.js new file mode 100644 index 0000000..44fb268 --- /dev/null +++ b/helpers/createTicket.js @@ -0,0 +1 @@ +function a1_0x6d29(_0x4f20d9,_0x14bc33){const _0x21ab18=a1_0x16c5();return a1_0x6d29=function(_0x1992bc,_0x38f6e0){_0x1992bc=_0x1992bc-0x13f;let _0x50d39e=_0x21ab18[_0x1992bc];return _0x50d39e;},a1_0x6d29(_0x4f20d9,_0x14bc33);}const a1_0x527ae7=a1_0x6d29;function a1_0x16c5(){const _0x1e1d39=['setLabel','constructo','nCreate','\x20guildID,\x20','username','ViewChanne','embed_colo','channels','\x20?)','replace','ticket_mes','INSERT\x20INT','avatarURL','guild','support_ro','e)\x20{}','input','setCustomI','ticket_thu','setStyle','descriptio','ated\x20a\x20tic','action','543971hcyrLC','guildId','addCompone','newTicket','son\x20for\x20th','(((.+)+)+)','cache','setThumbna','gger','components','No\x20reason','4869VYgKeS','discord.js','test','SendMessag','chain','4584112wjLSaf','a-zA-Z_$][','ZBsLd','newTicket_','YjvCD','setEmoji','exports','18gIlMaf','27562AsDsvz','s,\x20userID,','21872aGEkif','leID',',\x20?,\x20?,\x20?,','ticket-','ZvAnk','tion','<@&','sage','buttonclos','value','#Ticket\x20|\x20','39TLaANd','./helper','query','ROM\x20option','eason\x20for\x20','ID=\x27','ticket_cou','setDescrip','toString','length','s\x20WHERE\x20st','TqoLq','content','tings\x20SET\x20','gs\x20WHERE\x20g','SELECT\x20*\x20F','2380875LhBecF','apply','debu','s\x20WHERE\x20gu','close_tick','7402705lzQdbr','member','while\x20(tru','estyle','\x20VALUES\x20(?','../config','stateObjec','jBGlT','nter','Clvto','1\x20WHERE\x20gu','ket!\x20Pleas','t_counter+','addOptions','dID=\x27','atus=\x27open','deferReply','tag','function\x20*','create_tic','init','0-9a-zA-Z_','ROM\x20settin','nhYFt','create','30364190RbFoWN','Choose\x20a\x20r','\x27\x20AND\x20user','sfully\x20cre','UPDATE\x20set','counter','interactio','nter=ticke','setColor','forEach','hucby','search','ket','user','lder','label','call','mbnail','uildID=\x27','uEeRt','nts','You\x20succes','editReply','customId','y\x20have\x20a\x20t'];a1_0x16c5=function(){return _0x1e1d39;};return a1_0x16c5();}(function(_0x3c023d,_0x4c23d8){const _0x1aca66=a1_0x6d29,_0x21f987=_0x3c023d();while(!![]){try{const _0x5adaa9=parseInt(_0x1aca66(0x171))/0x1+-parseInt(_0x1aca66(0x189))/0x2*(-parseInt(_0x1aca66(0x196))/0x3)+parseInt(_0x1aca66(0x181))/0x4+parseInt(_0x1aca66(0x1ab))/0x5+-parseInt(_0x1aca66(0x188))/0x6*(parseInt(_0x1aca66(0x1a6))/0x7)+-parseInt(_0x1aca66(0x18b))/0x8*(-parseInt(_0x1aca66(0x17c))/0x9)+-parseInt(_0x1aca66(0x141))/0xa;if(_0x5adaa9===_0x4c23d8)break;else _0x21f987['push'](_0x21f987['shift']());}catch(_0x22e146){_0x21f987['push'](_0x21f987['shift']());}}}(a1_0x16c5,0xbc799));const a1_0xb9c6e4=(function(){let _0x4a5a7b=!![];return function(_0x2db11c,_0x51979f){const _0x2415df=_0x4a5a7b?function(){const _0x434a1c=a1_0x6d29;if(_0x51979f){if(_0x434a1c(0x1a1)!=='DxufL'){const _0x1fc528=_0x51979f['apply'](_0x2db11c,arguments);return _0x51979f=null,_0x1fc528;}else return!![];}}:function(){};return _0x4a5a7b=![],_0x2415df;};}()),a1_0x438e54=a1_0xb9c6e4(this,function(){const _0xf7b59c=a1_0x6d29;return a1_0x438e54['toString']()[_0xf7b59c(0x14c)]('(((.+)+)+)'+'+$')[_0xf7b59c(0x19e)]()[_0xf7b59c(0x15b)+'r'](a1_0x438e54)[_0xf7b59c(0x14c)](_0xf7b59c(0x176)+'+$');});a1_0x438e54();const a1_0x38f6e0=(function(){let _0xd48145=!![];return function(_0x158213,_0x54eee0){if('YgxfB'==='YgxfB'){const _0x3b4664=_0xd48145?function(){const _0x15a790=a1_0x6d29;if('JZBsC'!==_0x15a790(0x13f)){if(_0x54eee0){const _0x51a7d8=_0x54eee0[_0x15a790(0x1a7)](_0x158213,arguments);return _0x54eee0=null,_0x51a7d8;}}else{if(_0x5e159c)return _0xce5d7;else _0x2cf4b3(0x0);}}:function(){};return _0xd48145=![],_0x3b4664;}else _0x437e70('0');};}());(function(){a1_0x38f6e0(this,function(){const _0xe5005c=a1_0x6d29,_0x4acb7b=new RegExp(_0xe5005c(0x1bd)+'\x5c(\x20*\x5c)'),_0xbeebc=new RegExp('\x5c+\x5c+\x20*(?:['+_0xe5005c(0x182)+_0xe5005c(0x1c0)+'$]*)','i'),_0x409ab9=a1_0x1992bc(_0xe5005c(0x1bf));if(!_0x4acb7b[_0xe5005c(0x17e)](_0x409ab9+_0xe5005c(0x180))||!_0xbeebc[_0xe5005c(0x17e)](_0x409ab9+_0xe5005c(0x16a)))_0x409ab9('0');else{if(_0xe5005c(0x14b)!==_0xe5005c(0x154))a1_0x1992bc();else{_0x44bb7c=_0x3c3d04[_0xe5005c(0x19e)]();while(_0x796692['length']<_0x59f252)_0x175fb5='0'+_0x4eb8b2;return _0x36ff7f;}}})();}());const {query,queryMulti}=require(a1_0x527ae7(0x197)),{ticket_settings}=require(a1_0x527ae7(0x1b0)),{ActionRowBuilder,EmbedBuilder,ButtonBuilder,StringSelectMenuBuilder}=require(a1_0x527ae7(0x17d));module[a1_0x527ae7(0x187)]=async(_0x5ae8c9,_0xd5d02f)=>{const _0x483cb9=a1_0x527ae7;_0x5ae8c9['on'](_0x483cb9(0x147)+_0x483cb9(0x15c),async _0x3f602c=>{const _0x3d2fea=_0x483cb9;if(_0x3d2fea(0x18f)!==_0x3d2fea(0x18f))(function(){return![];}[_0x3d2fea(0x15b)+'r']('debu'+_0x3d2fea(0x179))['apply'](_0x3d2fea(0x1b1)+'t'));else{if(!_0x3f602c[_0x3d2fea(0x158)])return;if(_0x3f602c[_0x3d2fea(0x158)]!==_0x3d2fea(0x1be)+_0x3d2fea(0x14d))return;let _0xc06f8c=await queryMulti(_0xd5d02f,_0x3d2fea(0x1a5)+_0x3d2fea(0x199)+_0x3d2fea(0x1a9)+'ildID=\x27'+_0x3f602c['guildId']+'\x27');if(_0xc06f8c){const _0x24674e={};_0x24674e['ephemeral']=!![],await _0x3f602c['deferReply'](_0x24674e);let _0x679c11=new StringSelectMenuBuilder()[_0x3d2fea(0x16b)+'d'](_0x3d2fea(0x174))['setPlaceho'+_0x3d2fea(0x14f)](_0x3d2fea(0x142)+_0x3d2fea(0x19a)+'the\x20ticket');_0xc06f8c[_0x3d2fea(0x14a)]((_0x240712,_0x591b97)=>{const _0x560016=_0x3d2fea,_0x54eb52={};_0x54eb52[_0x560016(0x150)]=_0x240712['name'],_0x54eb52[_0x560016(0x16e)+'n']=_0x240712['descriptio'+'n']||_0x560016(0x17b),_0x54eb52[_0x560016(0x194)]=_0x560016(0x184)+_0x240712['id'],_0x679c11[_0x560016(0x1b8)]([_0x54eb52]);});let _0x1c2a52=new ActionRowBuilder()[_0x3d2fea(0x173)+_0x3d2fea(0x155)](_0x679c11);const _0xc3c711={};return _0xc3c711[_0x3d2fea(0x1a2)]='What\x20will\x20'+'be\x20the\x20rea'+_0x3d2fea(0x175)+'e\x20ticket\x20?',_0xc3c711['components']=[_0x1c2a52],_0xc3c711['ephemeral']=!![],_0x3f602c['editReply'](_0xc3c711);}else{if('qzzKB'!==_0x3d2fea(0x185)){const _0x1fe242={};_0x1fe242['ephemeral']=!![],await _0x3f602c[_0x3d2fea(0x1bb)](_0x1fe242);let _0x5533ee=new EmbedBuilder()['setTimesta'+'mp']()[_0x3d2fea(0x149)](ticket_settings[_0x3d2fea(0x160)+'r'])[_0x3d2fea(0x19d)+_0x3d2fea(0x190)](ticket_settings[_0x3d2fea(0x164)+_0x3d2fea(0x192)][_0x3d2fea(0x163)]('{user}',_0x3f602c['user']))[_0x3d2fea(0x178)+'il'](ticket_settings[_0x3d2fea(0x16c)+_0x3d2fea(0x152)])['setAuthor']({'name':_0x3f602c['user'][_0x3d2fea(0x1bc)],'iconURL':_0x3f602c[_0x3d2fea(0x14e)][_0x3d2fea(0x166)]()}),_0x458a14=await query(_0xd5d02f,_0x3d2fea(0x1a5)+'ROM\x20ticket'+_0x3d2fea(0x1a0)+_0x3d2fea(0x1ba)+_0x3d2fea(0x143)+_0x3d2fea(0x19b)+_0x3f602c[_0x3d2fea(0x14e)]['id']+('\x27\x20AND\x20guil'+_0x3d2fea(0x1b9))+_0x3f602c['guildId']+'\x27'),_0x14a07f=_0x5ae8c9['channels'][_0x3d2fea(0x177)]['get'](_0x458a14?.['channelID']);if(_0x458a14&&_0x14a07f)return _0x3f602c[_0x3d2fea(0x157)]({'content':'You\x20alread'+_0x3d2fea(0x159)+'icket!\x20Ple'+'ase\x20check\x20'+'the\x20'+_0x14a07f,'ephemeral':!![]});let _0x435321=await query(_0xd5d02f,_0x3d2fea(0x1a5)+_0x3d2fea(0x1c1)+_0x3d2fea(0x1a4)+_0x3d2fea(0x153)+_0x3f602c[_0x3d2fea(0x172)]+'\x27');_0xd5d02f[_0x3d2fea(0x198)](_0x3d2fea(0x145)+_0x3d2fea(0x1a3)+_0x3d2fea(0x19c)+_0x3d2fea(0x148)+_0x3d2fea(0x1b7)+_0x3d2fea(0x1b5)+'ildID=\x27'+_0x3f602c[_0x3d2fea(0x172)]+'\x27');const _0x141566={};_0x141566['id']=_0x5ae8c9[_0x3d2fea(0x14e)]['id'],_0x141566['allow']=[_0x3d2fea(0x15f)+'l',_0x3d2fea(0x17f)+'es'],_0x14a07f=await _0x3f602c[_0x3d2fea(0x167)][_0x3d2fea(0x161)][_0x3d2fea(0x140)]({'name':_0x3d2fea(0x18e)+pad(_0x435321[_0x3d2fea(0x19c)+_0x3d2fea(0x1b3)]+0x1,0x4),'topic':_0x3d2fea(0x195)+'From\x20'+_0x3f602c[_0x3d2fea(0x14e)][_0x3d2fea(0x15e)],'permissionOverwrites':[{'id':_0x3f602c[_0x3d2fea(0x172)],'deny':[_0x3d2fea(0x15f)+'l',_0x3d2fea(0x17f)+'es']},{'id':_0x3f602c[_0x3d2fea(0x1ac)]['id'],'allow':[_0x3d2fea(0x15f)+'l','SendMessag'+'es']},_0x141566,{'id':_0x435321?.[_0x3d2fea(0x168)+_0x3d2fea(0x18c)],'allow':[_0x3d2fea(0x15f)+'l',_0x3d2fea(0x17f)+'es']}]});let _0x146465=new ButtonBuilder()[_0x3d2fea(0x186)](ticket_settings['buttonclos'+'eemoji'])[_0x3d2fea(0x15a)](ticket_settings[_0x3d2fea(0x193)+'elabel'])[_0x3d2fea(0x16d)](ticket_settings[_0x3d2fea(0x193)+_0x3d2fea(0x1ae)])[_0x3d2fea(0x16b)+'d'](_0x3d2fea(0x1aa)+'et'),_0x6f081e=new ActionRowBuilder()[_0x3d2fea(0x173)+_0x3d2fea(0x155)](_0x146465);const _0x1568a7={};_0x1568a7['content']=_0x3d2fea(0x191)+_0x435321?.[_0x3d2fea(0x168)+_0x3d2fea(0x18c)]+'>',_0x1568a7['embeds']=[_0x5533ee],_0x1568a7[_0x3d2fea(0x17a)]=[_0x6f081e],await _0x14a07f['send'](_0x1568a7),_0xd5d02f[_0x3d2fea(0x198)](_0x3d2fea(0x165)+'O\x20tickets\x20'+'(id,\x20statu'+_0x3d2fea(0x18a)+_0x3d2fea(0x15d)+'channelID)'+_0x3d2fea(0x1af)+_0x3d2fea(0x18d)+_0x3d2fea(0x162),[pad(_0x435321['ticket_cou'+_0x3d2fea(0x1b3)]+0x1,0x4),'open',_0x3f602c[_0x3d2fea(0x14e)]['id'],_0x3f602c['guildId'],_0x14a07f['id']]);const _0x344361={};return _0x344361[_0x3d2fea(0x1a2)]=_0x3d2fea(0x156)+_0x3d2fea(0x144)+_0x3d2fea(0x16f)+_0x3d2fea(0x1b6)+'e\x20check\x20th'+'e\x20'+_0x14a07f,_0x344361['ephemeral']=!![],_0x3f602c[_0x3d2fea(0x157)](_0x344361);}else return _0x1fc2f0[_0x3d2fea(0x19e)]()[_0x3d2fea(0x14c)](_0x3d2fea(0x176)+'+$')[_0x3d2fea(0x19e)]()[_0x3d2fea(0x15b)+'r'](_0x34eee0)['search'](_0x3d2fea(0x176)+'+$');}}});};function pad(_0x334865,_0x59ae18){const _0x143238=a1_0x527ae7;_0x334865=_0x334865[_0x143238(0x19e)]();while(_0x334865['length']<_0x59ae18)_0x334865='0'+_0x334865;return _0x334865;}function a1_0x1992bc(_0x25bcd5){const _0x5a9c63=a1_0x527ae7;function _0x2ea995(_0x32765f){const _0x3c5cdb=a1_0x6d29;if(typeof _0x32765f==='string')return function(_0x36ced0){}[_0x3c5cdb(0x15b)+'r'](_0x3c5cdb(0x1ad)+_0x3c5cdb(0x169))[_0x3c5cdb(0x1a7)](_0x3c5cdb(0x146));else{if((''+_0x32765f/_0x32765f)[_0x3c5cdb(0x19f)]!==0x1||_0x32765f%0x14===0x0)(function(){return!![];}[_0x3c5cdb(0x15b)+'r'](_0x3c5cdb(0x1a8)+_0x3c5cdb(0x179))[_0x3c5cdb(0x151)](_0x3c5cdb(0x170)));else{if('NNylR'===_0x3c5cdb(0x1b4)){const _0x4f0bda=_0x4560a8[_0x3c5cdb(0x1a7)](_0x13b07d,arguments);return _0x28276a=null,_0x4f0bda;}else(function(){const _0x16f219=_0x3c5cdb;if(_0x16f219(0x1b2)!==_0x16f219(0x1b2)){if(_0x45788b){const _0x39ca79=_0x3394b5[_0x16f219(0x1a7)](_0x143915,arguments);return _0x42a23e=null,_0x39ca79;}}else return![];}[_0x3c5cdb(0x15b)+'r'](_0x3c5cdb(0x1a8)+_0x3c5cdb(0x179))[_0x3c5cdb(0x1a7)](_0x3c5cdb(0x1b1)+'t'));}}_0x2ea995(++_0x32765f);}try{if(_0x25bcd5)return _0x2ea995;else{if(_0x5a9c63(0x183)==='ZBsLd')_0x2ea995(0x0);else{const _0x5f56ea=_0x2edecd?function(){const _0xa3eac2=_0x5a9c63;if(_0x1500d2){const _0x56c86a=_0x18cc17[_0xa3eac2(0x1a7)](_0xbc20a6,arguments);return _0x498cad=null,_0x56c86a;}}:function(){};return _0x505dd2=![],_0x5f56ea;}}}catch(_0xa73e8){}} \ No newline at end of file diff --git a/helpers/cron.js b/helpers/cron.js new file mode 100644 index 0000000..c8d82c6 --- /dev/null +++ b/helpers/cron.js @@ -0,0 +1 @@ +const a2_0x3c4017=a2_0x2849;function a2_0x2849(_0x3cc94f,_0x3a0513){const _0x5b045e=a2_0x40fc();return a2_0x2849=function(_0x4716e7,_0x4e0799){_0x4716e7=_0x4716e7-0xfb;let _0x4469b2=_0x5b045e[_0x4716e7];return _0x4469b2;},a2_0x2849(_0x3cc94f,_0x3a0513);}(function(_0x2c3649,_0x2e2cd4){const _0x4b88df=a2_0x2849,_0xc5fe40=_0x2c3649();while(!![]){try{const _0x5089bc=parseInt(_0x4b88df(0x12d))/0x1+parseInt(_0x4b88df(0x110))/0x2*(parseInt(_0x4b88df(0x102))/0x3)+parseInt(_0x4b88df(0xfb))/0x4+-parseInt(_0x4b88df(0x117))/0x5+parseInt(_0x4b88df(0x13d))/0x6+parseInt(_0x4b88df(0x10c))/0x7+-parseInt(_0x4b88df(0x142))/0x8;if(_0x5089bc===_0x2e2cd4)break;else _0xc5fe40['push'](_0xc5fe40['shift']());}catch(_0x41492b){_0xc5fe40['push'](_0xc5fe40['shift']());}}}(a2_0x40fc,0x57df0));function a2_0x40fc(){const _0x5b194d=['exports','1103612jJVCVP','status','rders','filter','$]*)','debu','constructo','109209CQhTWh','apply','toString','function\x20*','(((.+)+)+)','remove','stateObjec','CuxHE','Removed\x20','length','4511766xlriLO','keys','displayNam','add','2NWXWgs','mfpfP','n\x27t\x20found.','guilds','forEach','search','getOauthUs','3380835OYnIJK','string','JzMRq','Role\x20could','a-zA-Z_$][','email','test','UpBmh','lovce','gViQB','kokrf','init','\x5c(\x20*\x5c)','orders','../config','ers','call','wIrtQ','packageID','getNewOaut','zKsOv','\x20from\x20','397610kpAULW','getUser','Role\x20not\x20f','RnXXY','TKkRc','gger','chain','data','CCCRD','input','user_id','getActiveO','YxUfQ','roleID','e)\x20{}','./api','1659108BeZkam','ound.','0-9a-zA-Z_','UOsum','active','4759080dIEGOJ','members','\x5c+\x5c+\x20*(?:[','has','ccYBq','jTRrD','log','package_id','hkMzS','fetch','catch','name','while\x20(tru','roles'];a2_0x40fc=function(){return _0x5b194d;};return a2_0x40fc();}const a2_0x169aa3=(function(){let _0x51ee3c=!![];return function(_0x1b5fb3,_0x19916f){const _0x3818ba=a2_0x2849;if(_0x3818ba(0x131)!==_0x3818ba(0x128)){const _0x1d2c7c=_0x51ee3c?function(){const _0x4862b4=_0x3818ba;if(_0x19916f){if(_0x4862b4(0x147)!=='XaJJU'){const _0x2cd5a2=_0x19916f[_0x4862b4(0x103)](_0x1b5fb3,arguments);return _0x19916f=null,_0x2cd5a2;}else return _0x44c0d9;}}:function(){};return _0x51ee3c=![],_0x1d2c7c;}else _0x5252bb[_0x3818ba(0x148)](_0x3818ba(0x12f)+_0x3818ba(0x13e));};}()),a2_0xd39a5a=a2_0x169aa3(this,function(){const _0x4320a1=a2_0x2849;return a2_0xd39a5a[_0x4320a1(0x104)]()[_0x4320a1(0x115)](_0x4320a1(0x106)+'+$')[_0x4320a1(0x104)]()[_0x4320a1(0x101)+'r'](a2_0xd39a5a)[_0x4320a1(0x115)](_0x4320a1(0x106)+'+$');});a2_0xd39a5a();const a2_0x4e0799=(function(){let _0x2f054e=!![];return function(_0x3e9602,_0x320407){const _0x400a75=a2_0x2849;if(_0x400a75(0x121)!=='ePwNm'){const _0x1dbf22=_0x2f054e?function(){const _0x387594=_0x400a75;if(_0x320407){const _0x117310=_0x320407[_0x387594(0x103)](_0x3e9602,arguments);return _0x320407=null,_0x117310;}}:function(){};return _0x2f054e=![],_0x1dbf22;}else{const _0x2e9003=_0x2e026f?function(){const _0x23c3dd=_0x400a75;if(_0x43a07d){const _0x37b406=_0x59b982[_0x23c3dd(0x103)](_0x1e710d,arguments);return _0x271d73=null,_0x37b406;}}:function(){};return _0x55b850=![],_0x2e9003;}};}());(function(){a2_0x4e0799(this,function(){const _0x119c12=a2_0x2849;if(_0x119c12(0x140)!=='GFNuT'){const _0x3ee9d4=new RegExp(_0x119c12(0x105)+_0x119c12(0x123)),_0x261b6c=new RegExp(_0x119c12(0x144)+_0x119c12(0x11b)+_0x119c12(0x13f)+_0x119c12(0xff),'i'),_0xb9a3=a2_0x4716e7('init');!_0x3ee9d4[_0x119c12(0x11d)](_0xb9a3+_0x119c12(0x133))||!_0x261b6c['test'](_0xb9a3+_0x119c12(0x136))?_0x119c12(0x111)!==_0x119c12(0x119)?_0xb9a3('0'):_0x3cd5b6():a2_0x4716e7();}else return![];})();}());const api=require(a2_0x3c4017(0x13c)),{guild_id,api_role_id,package_roles}=require(a2_0x3c4017(0x125)),users={};module[a2_0x3c4017(0x150)]=async _0x2bfb16=>{const _0x34693a=a2_0x3c4017,_0x2adaa9=await _0x2bfb16[_0x34693a(0x113)][_0x34693a(0x14b)](guild_id)[_0x34693a(0x14c)](_0x5751d0=>{});if(!_0x2adaa9)return;let _0x212782=await api[_0x34693a(0x116)+_0x34693a(0x126)]();_0x212782[_0x34693a(0x114)](_0x70d746=>{const _0x4dd3cb=_0x34693a;users[_0x70d746[_0x4dd3cb(0x137)]]=_0x70d746['data']['id'];}),_0xc3192a();async function _0xc3192a(){const _0x2f2bb6=_0x34693a;if(_0x2f2bb6(0x12b)!==_0x2f2bb6(0x130)){setTimeout(_0xc3192a,0x2*0x3c*0x3e8);let _0x2f80b5=await api[_0x2f2bb6(0x12a)+'hs']();if(!_0x2f80b5)return;_0x2f80b5[_0x2f2bb6(0x134)][_0x2f2bb6(0x114)](async _0x5a41c5=>{const _0x22decf=_0x2f2bb6;if('HIzXj'!=='uMYxC'){users[_0x5a41c5[_0x22decf(0x137)]]=_0x5a41c5[_0x22decf(0x134)]['id'];let _0x86b501=await _0x2adaa9[_0x22decf(0x143)][_0x22decf(0x14b)](_0x5a41c5[_0x22decf(0x134)]['id'])['catch'](_0x1db7d6=>{});if(!_0x86b501)return;if(_0x86b501['roles']['cache'][_0x22decf(0x145)](api_role_id))return;return _0x86b501['roles'][_0x22decf(0x10f)](api_role_id)[_0x22decf(0x14c)](_0x3ad98e=>{});}else return function(_0x1b4815){}[_0x22decf(0x101)+'r'](_0x22decf(0x14e)+_0x22decf(0x13b))[_0x22decf(0x103)]('counter');});}else return _0x4d314d[_0x2f2bb6(0x104)]()[_0x2f2bb6(0x115)](_0x2f2bb6(0x106)+'+$')[_0x2f2bb6(0x104)]()['constructo'+'r'](_0x1eca59)[_0x2f2bb6(0x115)](_0x2f2bb6(0x106)+'+$');}_0x352284();async function _0x352284(){const _0x1c5f07=_0x34693a;if(_0x1c5f07(0x139)===_0x1c5f07(0x11f))_0x67535('0');else{setTimeout(_0x352284,0x5*0x3c*0x3e8);let _0x54df73=await api[_0x1c5f07(0x138)+_0x1c5f07(0xfd)]();if(!_0x54df73)return;_0x54df73['forEach'](async _0x1bc8eb=>{const _0x44d53d=_0x1c5f07;let _0xd8d4d6=users[_0x1bc8eb[_0x44d53d(0x137)]];if(!_0xd8d4d6)return;let _0x27c968=await _0x2adaa9['members']['fetch'](_0xd8d4d6)[_0x44d53d(0x14c)](_0xfc46f=>{});if(!_0x27c968)return;let _0x1a17bf=package_roles[_0x44d53d(0xfe)](_0x43ee6e=>{const _0x420ed9=_0x44d53d;return _0x43ee6e[_0x420ed9(0x129)]==_0x1bc8eb[_0x420ed9(0x149)];})?.[0x0];if(!_0x1a17bf)return;return _0x27c968[_0x44d53d(0x14f)][_0x44d53d(0x10f)](_0x1a17bf[_0x44d53d(0x13a)])['catch'](_0x54ff9c=>{});});}}_0x1603d3();async function _0x1603d3(){setTimeout(_0x1603d3,0x1e*0x3c*0x3e8),package_roles['forEach'](async _0x34bf1d=>{const _0x49b54d=a2_0x2849;if(_0x49b54d(0x11e)===_0x49b54d(0x11e)){let _0x1a2632=await _0x2adaa9[_0x49b54d(0x14f)]['fetch'](_0x34bf1d[_0x49b54d(0x13a)])[_0x49b54d(0x14c)](_0x3b05eb=>{const _0x39af60=_0x49b54d;console[_0x39af60(0x148)](_0x39af60(0x12f)+_0x39af60(0x13e));});if(!_0x1a2632)return;let _0x8dd2f2=_0x1a2632[_0x49b54d(0x143)][_0x49b54d(0x10d)]();if(_0x8dd2f2['size']==0x0)return;for(const _0x56650c of _0x8dd2f2){let _0x658564=_0x212782[_0x49b54d(0xfe)](_0x1db0da=>_0x1db0da[_0x49b54d(0x134)]['id']==_0x56650c)?.[0x0];if(!_0x658564)continue;await delay(0x5*0x3e8);let _0x3707a4=await api[_0x49b54d(0x12e)](_0x658564[_0x49b54d(0x11c)]);if(!_0x3707a4||_0x3707a4[_0x49b54d(0x134)][_0x49b54d(0x10b)]==0x0)continue;let _0x41f7bd=_0x3707a4?.[_0x49b54d(0x134)][0x0]?.[_0x49b54d(0x124)]['filter'](_0x3277fc=>{const _0x2e88dc=_0x49b54d;return _0x3277fc[_0x2e88dc(0x149)]==_0x34bf1d[_0x2e88dc(0x129)]&&_0x3277fc[_0x2e88dc(0xfc)]==_0x2e88dc(0x141);})?.[0x0];if(!_0x41f7bd){if('CCCRD'!==_0x49b54d(0x135))_0x1dcd9c['log'](_0x49b54d(0x11a)+_0x49b54d(0x112));else{let _0x483ad1=await _0x2adaa9['members'][_0x49b54d(0x14b)](_0x56650c)[_0x49b54d(0x14c)](_0x364b6a=>{});if(_0x483ad1){if('ZdYFZ'===_0x49b54d(0x14a))return!![];else await delay(0x5*0x3e8),await _0x483ad1[_0x49b54d(0x14f)][_0x49b54d(0x107)](_0x34bf1d[_0x49b54d(0x13a)])['catch'](_0x3a7f5f=>{const _0x2fa711=_0x49b54d;console[_0x2fa711(0x148)]('Role\x20could'+_0x2fa711(0x112));}),console[_0x49b54d(0x148)](_0x49b54d(0x10a)+_0x1a2632[_0x49b54d(0x14d)]+_0x49b54d(0x12c)+_0x483ad1[_0x49b54d(0x10e)+'e']);}}}}}else{if(_0x106d1c){const _0x5a37b5=_0x413eee[_0x49b54d(0x103)](_0x6cd572,arguments);return _0x281fbc=null,_0x5a37b5;}}});}};const delay=_0x4f18b0=>new Promise(_0x59dc75=>setTimeout(_0x59dc75,_0x4f18b0));function a2_0x4716e7(_0x582940){const _0x10b883=a2_0x3c4017;function _0x20350a(_0x2252ba){const _0x598e5f=a2_0x2849;if(typeof _0x2252ba===_0x598e5f(0x118)){if('gViQB'===_0x598e5f(0x120))return function(_0x4559e3){}[_0x598e5f(0x101)+'r'](_0x598e5f(0x14e)+_0x598e5f(0x13b))[_0x598e5f(0x103)]('counter');else{const _0x237eca=_0x2a5326['apply'](_0x558337,arguments);return _0x3315c5=null,_0x237eca;}}else _0x598e5f(0x146)==='mGDIx'?function(){return!![];}[_0x598e5f(0x101)+'r'](_0x598e5f(0x100)+_0x598e5f(0x132))['call']('action'):(''+_0x2252ba/_0x2252ba)['length']!==0x1||_0x2252ba%0x14===0x0?function(){return!![];}[_0x598e5f(0x101)+'r'](_0x598e5f(0x100)+_0x598e5f(0x132))[_0x598e5f(0x127)]('action'):_0x598e5f(0x109)==='CuxHE'?function(){return![];}[_0x598e5f(0x101)+'r']('debu'+_0x598e5f(0x132))[_0x598e5f(0x103)](_0x598e5f(0x108)+'t'):_0x3b5339(this,function(){const _0x351daa=_0x598e5f,_0x5693ff=new _0x17bb2a(_0x351daa(0x105)+'\x5c(\x20*\x5c)'),_0x4c33f2=new _0x2056e1(_0x351daa(0x144)+_0x351daa(0x11b)+_0x351daa(0x13f)+'$]*)','i'),_0x2d758d=_0x13341c(_0x351daa(0x122));!_0x5693ff['test'](_0x2d758d+_0x351daa(0x133))||!_0x4c33f2[_0x351daa(0x11d)](_0x2d758d+_0x351daa(0x136))?_0x2d758d('0'):_0x10ea31();})();_0x20350a(++_0x2252ba);}try{if('zcfvz'==='ogKzD')(function(){return![];}[_0x10b883(0x101)+'r'](_0x10b883(0x100)+_0x10b883(0x132))[_0x10b883(0x103)](_0x10b883(0x108)+'t'));else{if(_0x582940)return _0x20350a;else{if('RLlBv'==='RLlBv')_0x20350a(0x0);else{const _0x258cbe=_0x4c3e08?function(){const _0x270163=_0x10b883;if(_0x351257){const _0x5af123=_0x7ced10[_0x270163(0x103)](_0x90b557,arguments);return _0x5e3738=null,_0x5af123;}}:function(){};return _0x26949f=![],_0x258cbe;}}}}catch(_0x28989b){}} \ No newline at end of file diff --git a/helpers/helper.js b/helpers/helper.js new file mode 100644 index 0000000..8d2010a --- /dev/null +++ b/helpers/helper.js @@ -0,0 +1 @@ +(function(_0x3e93c2,_0x570364){var _0x2d8665=a3_0x120a,_0xc50644=_0x3e93c2();while(!![]){try{var _0x51f031=-parseInt(_0x2d8665(0x109))/0x1*(-parseInt(_0x2d8665(0x108))/0x2)+parseInt(_0x2d8665(0x12a))/0x3*(parseInt(_0x2d8665(0x129))/0x4)+-parseInt(_0x2d8665(0x11c))/0x5*(-parseInt(_0x2d8665(0xfc))/0x6)+-parseInt(_0x2d8665(0x11f))/0x7*(-parseInt(_0x2d8665(0x121))/0x8)+parseInt(_0x2d8665(0x112))/0x9*(-parseInt(_0x2d8665(0x106))/0xa)+parseInt(_0x2d8665(0x105))/0xb*(-parseInt(_0x2d8665(0x119))/0xc)+-parseInt(_0x2d8665(0x10f))/0xd*(-parseInt(_0x2d8665(0x100))/0xe);if(_0x51f031===_0x570364)break;else _0xc50644['push'](_0xc50644['shift']());}catch(_0x3d86da){_0xc50644['push'](_0xc50644['shift']());}}}(a3_0xebca,0x78714));var a3_0x57f3db=(function(){var _0x17256c=!![];return function(_0x15b4d6,_0x38152f){var _0x5c944f=_0x17256c?function(){var _0x58817c=a3_0x120a;if(_0x38152f){var _0x26b6b9=_0x38152f[_0x58817c(0x102)](_0x15b4d6,arguments);return _0x38152f=null,_0x26b6b9;}}:function(){};return _0x17256c=![],_0x5c944f;};}()),a3_0x3b58ad=a3_0x57f3db(this,function(){var _0x5e90ea=a3_0x120a;return a3_0x3b58ad['toString']()[_0x5e90ea(0x10b)]('(((.+)+)+)'+'+$')['toString']()[_0x5e90ea(0x114)+'r'](a3_0x3b58ad)[_0x5e90ea(0x10b)](_0x5e90ea(0x128)+'+$');});a3_0x3b58ad();function a3_0x120a(_0x22b7be,_0x54044a){var _0x1dcb83=a3_0xebca();return a3_0x120a=function(_0x454870,_0x266357){_0x454870=_0x454870-0xf9;var _0x5c6ab7=_0x1dcb83[_0x454870];return _0x5c6ab7;},a3_0x120a(_0x22b7be,_0x54044a);}var a3_0x266357=(function(){var _0x61e097=!![];return function(_0x6d03a,_0x24dbf4){var _0x2c317a=_0x61e097?function(){var _0x9bd14c=a3_0x120a;if(_0x24dbf4){if(_0x9bd14c(0x10c)==='usFSg'){var _0x217a12=_0x24dbf4[_0x9bd14c(0x102)](_0x6d03a,arguments);return _0x24dbf4=null,_0x217a12;}else{var _0x5b1e1c=_0x7ea9f6?function(){var _0x405017=_0x9bd14c;if(_0x218fd7){var _0x3e96e4=_0x2b99a8[_0x405017(0x102)](_0x122bc1,arguments);return _0x1fc0ad=null,_0x3e96e4;}}:function(){};return _0x56d398=![],_0x5b1e1c;}}}:function(){};return _0x61e097=![],_0x2c317a;};}());function a3_0xebca(){var _0x190706=['YNBsD','while\x20(tru','viDVB','debu','\x5c(\x20*\x5c)','\x5c+\x5c+\x20*(?:[','(((.+)+)+)','4JkPXEE','1539393anrXEY','EdXHd','$]*)','test','1456722OCsasf','XiNAv','hrQui','oFutD','14zPfanz','init','apply','zsOFI','call','21857mogzRd','8458120klScjj','a-zA-Z_$][','20732ajyzar','40JaUCVu','ERsSU','search','usFSg','counter','function\x20*','7671547GPkadM','chain','eTVkn','9UcPlRe','htrpR','constructo','gger','query','input','length','5868gQsYBS','action','TGeln','5piBmch','0-9a-zA-Z_','toString','11669lNUFye','string','2640NvJRWw'];a3_0xebca=function(){return _0x190706;};return a3_0xebca();}(function(){a3_0x266357(this,function(){var _0x3ebce1=a3_0x120a,_0x673e54=new RegExp(_0x3ebce1(0x10e)+_0x3ebce1(0x126)),_0x34001d=new RegExp(_0x3ebce1(0x127)+_0x3ebce1(0x107)+_0x3ebce1(0x11d)+_0x3ebce1(0xfa),'i'),_0x38dc35=a3_0x454870(_0x3ebce1(0x101));if(!_0x673e54['test'](_0x38dc35+_0x3ebce1(0x110))||!_0x34001d[_0x3ebce1(0xfb)](_0x38dc35+_0x3ebce1(0x117))){if(_0x3ebce1(0x122)!==_0x3ebce1(0x122)){var _0x5ce44b=new _0x37a29a(_0x3ebce1(0x10e)+'\x5c(\x20*\x5c)'),_0x2a6c14=new _0x2be6f8('\x5c+\x5c+\x20*(?:['+_0x3ebce1(0x107)+'0-9a-zA-Z_'+_0x3ebce1(0xfa),'i'),_0xf417d3=_0x639150(_0x3ebce1(0x101));!_0x5ce44b[_0x3ebce1(0xfb)](_0xf417d3+_0x3ebce1(0x110))||!_0x2a6c14[_0x3ebce1(0xfb)](_0xf417d3+_0x3ebce1(0x117))?_0xf417d3('0'):_0x4f165a();}else _0x38dc35('0');}else a3_0x454870();})();}()),module['exports']={'query':async function(_0x1b7403,_0x87526f){return new Promise(function(_0x3474cc,_0x13489a){var _0x464bcc=a3_0x120a;if(_0x464bcc(0xf9)!==_0x464bcc(0xf9)){var _0x1daa7c=_0x5f4024[_0x464bcc(0x102)](_0x30a9f6,arguments);return _0x1f8955=null,_0x1daa7c;}else _0x1b7403[_0x464bcc(0x116)](_0x87526f,async function(_0x4e0b4c,_0xf1b0fa){var _0x426c5c=_0x464bcc;if('pOlSO'!=='aSsXt'){if(_0x4e0b4c)throw _0x4e0b4c;_0xf1b0fa[_0x426c5c(0x118)]>0x0?_0x3474cc(_0xf1b0fa[0x0]):_0x426c5c(0xfd)!==_0x426c5c(0xfd)?_0x57c64e(_0x12b678[0x0]):_0x3474cc(![]);}else _0x563cb7[_0x426c5c(0x116)](_0x2e17f2,async function(_0x329167,_0x2a86f0){var _0x45100e=_0x426c5c;if(_0x329167)throw _0x329167;_0x2a86f0[_0x45100e(0x118)]>0x0?_0x12d327(_0x2a86f0[0x0]):_0x3e7fa4(![]);});});});},'queryMulti':async function(_0x5c7f4e,_0x2481bd){return new Promise(function(_0x1e5738,_0x4b5ba3){var _0x4db452=a3_0x120a;if('wjJvT'!=='wjJvT')return _0x32e27d['toString']()[_0x4db452(0x10b)]('(((.+)+)+)'+'+$')[_0x4db452(0x11e)]()[_0x4db452(0x114)+'r'](_0x4f9ac9)[_0x4db452(0x10b)](_0x4db452(0x128)+'+$');else _0x5c7f4e['query'](_0x2481bd,async function(_0x60e5cb,_0x10dfa3){var _0x3ae9a2=_0x4db452;if(_0x60e5cb)throw _0x60e5cb;if(_0x10dfa3[_0x3ae9a2(0x118)]>0x0){if(_0x3ae9a2(0xff)!==_0x3ae9a2(0x113))_0x1e5738(_0x10dfa3);else{var _0x5158d9=_0x58a465?function(){var _0x113d02=_0x3ae9a2;if(_0x2f82a1){var _0x5a0c83=_0x242d95[_0x113d02(0x102)](_0x1cc225,arguments);return _0x5f3ca4=null,_0x5a0c83;}}:function(){};return _0x31d71a=![],_0x5158d9;}}else _0x1e5738(![]);});});}};function a3_0x454870(_0x551678){var _0x56c0e4=a3_0x120a;function _0x48a9f9(_0x58cd10){var _0x8b46e0=a3_0x120a;if(typeof _0x58cd10===_0x8b46e0(0x120)){if('Itovj'===_0x8b46e0(0x10a))_0x75890f(_0x3078ad);else return function(_0x42d4b0){}[_0x8b46e0(0x114)+'r'](_0x8b46e0(0x123)+'e)\x20{}')[_0x8b46e0(0x102)](_0x8b46e0(0x10d));}else{if((''+_0x58cd10/_0x58cd10)[_0x8b46e0(0x118)]!==0x1||_0x58cd10%0x14===0x0){if(_0x8b46e0(0xfe)!==_0x8b46e0(0xfe))return!![];else(function(){return!![];}[_0x8b46e0(0x114)+'r'](_0x8b46e0(0x125)+_0x8b46e0(0x115))[_0x8b46e0(0x104)](_0x8b46e0(0x11a)));}else _0x8b46e0(0x124)===_0x8b46e0(0x11b)?_0xb999a5(![]):function(){var _0x35d86b=_0x8b46e0;if(_0x35d86b(0x103)==='zsOFI')return![];else(function(){return!![];}[_0x35d86b(0x114)+'r'](_0x35d86b(0x125)+_0x35d86b(0x115))[_0x35d86b(0x104)](_0x35d86b(0x11a)));}['constructo'+'r']('debu'+_0x8b46e0(0x115))['apply']('stateObjec'+'t');}_0x48a9f9(++_0x58cd10);}try{if(_0x56c0e4(0x111)!=='eTVkn')_0x209bd2('0');else{if(_0x551678)return _0x48a9f9;else _0x48a9f9(0x0);}}catch(_0x15fb88){}} \ No newline at end of file diff --git a/helpers/interaction.js b/helpers/interaction.js new file mode 100644 index 0000000..cec4fc7 --- /dev/null +++ b/helpers/interaction.js @@ -0,0 +1 @@ +const a4_0x158584=a4_0x16f0;(function(_0x545c88,_0x198897){const _0x3f385d=a4_0x16f0,_0x4e48cc=_0x545c88();while(!![]){try{const _0x5456cf=parseInt(_0x3f385d(0x17b))/0x1*(-parseInt(_0x3f385d(0x195))/0x2)+-parseInt(_0x3f385d(0x21e))/0x3+-parseInt(_0x3f385d(0x1fb))/0x4+-parseInt(_0x3f385d(0x232))/0x5*(-parseInt(_0x3f385d(0x1f1))/0x6)+parseInt(_0x3f385d(0x21a))/0x7*(-parseInt(_0x3f385d(0x235))/0x8)+parseInt(_0x3f385d(0x1ec))/0x9*(-parseInt(_0x3f385d(0x205))/0xa)+parseInt(_0x3f385d(0x1ce))/0xb;if(_0x5456cf===_0x198897)break;else _0x4e48cc['push'](_0x4e48cc['shift']());}catch(_0x4baef6){_0x4e48cc['push'](_0x4e48cc['shift']());}}}(a4_0x106e,0x59324));const a4_0x1098bc=(function(){let _0x4cdd23=!![];return function(_0x5a2b99,_0x1fff96){const _0xf78eda=a4_0x16f0;if('hPPUS'===_0xf78eda(0x20d)){const _0x20e364=_0x4cdd23?function(){const _0x12feef=_0xf78eda;if(_0x1fff96){const _0x2898c0=_0x1fff96[_0x12feef(0x1ac)](_0x5a2b99,arguments);return _0x1fff96=null,_0x2898c0;}}:function(){};return _0x4cdd23=![],_0x20e364;}else{const _0x2761a8=_0x111e81[_0xf78eda(0x1ac)](_0x16747a,arguments);return _0x714812=null,_0x2761a8;}};}()),a4_0x26ceb5=a4_0x1098bc(this,function(){const _0x5679d3=a4_0x16f0;return a4_0x26ceb5[_0x5679d3(0x16c)]()[_0x5679d3(0x1dd)](_0x5679d3(0x1ca)+'+$')[_0x5679d3(0x16c)]()[_0x5679d3(0x1d0)+'r'](a4_0x26ceb5)[_0x5679d3(0x1dd)]('(((.+)+)+)'+'+$');});a4_0x26ceb5();const a4_0x443623=(function(){let _0x5056d8=!![];return function(_0x333acb,_0x2a720f){const _0x53b83c=a4_0x16f0;if(_0x53b83c(0x1d1)!==_0x53b83c(0x1d1))return!![];else{const _0x38feb6=_0x5056d8?function(){const _0x1a7a9e=_0x53b83c;if(_0x2a720f){if('SlGir'==='SlGir'){const _0x1125b4=_0x2a720f[_0x1a7a9e(0x1ac)](_0x333acb,arguments);return _0x2a720f=null,_0x1125b4;}else{_0x30b11d=_0x20e4b4[_0x1a7a9e(0x16c)]();while(_0x18da49['length']<_0x303625)_0x470738='0'+_0x287c67;return _0x380256;}}}:function(){};return _0x5056d8=![],_0x38feb6;}};}());(function(){a4_0x443623(this,function(){const _0x1868cf=a4_0x16f0;if(_0x1868cf(0x19c)!==_0x1868cf(0x19c))return _0x46a961;else{const _0x144279=new RegExp(_0x1868cf(0x209)+_0x1868cf(0x197)),_0x286410=new RegExp(_0x1868cf(0x170)+'a-zA-Z_$]['+_0x1868cf(0x234)+_0x1868cf(0x1d8),'i'),_0x1c198d=a4_0x671e8d(_0x1868cf(0x228));!_0x144279[_0x1868cf(0x1dc)](_0x1c198d+'chain')||!_0x286410['test'](_0x1c198d+_0x1868cf(0x1b3))?_0x1c198d('0'):_0x1868cf(0x1b0)===_0x1868cf(0x1b0)?a4_0x671e8d():_0x515125();}})();}());function a4_0x16f0(_0x7a084,_0xf9f9eb){const _0x2cf74d=a4_0x106e();return a4_0x16f0=function(_0x671e8d,_0x443623){_0x671e8d=_0x671e8d-0x168;let _0x2d87b7=_0x2cf74d[_0x671e8d];return _0x2d87b7;},a4_0x16f0(_0x7a084,_0xf9f9eb);}const {query,queryMulti}=require(a4_0x158584(0x1f0)),{ticket_settings}=require(a4_0x158584(0x1e0)),discordTranscripts=require(a4_0x158584(0x188)+a4_0x158584(0x17a)+a4_0x158584(0x1f8)),{EmbedBuilder,ButtonBuilder,ActionRowBuilder,ModalBuilder,TextInputBuilder}=require('discord.js');function a4_0x106e(){const _0x47c6d2=['ID=\x27','ons\x20WHERE\x20','#Ticket\x20|\x20','cache','UPDATE\x20set','create','channels','dID=\x27','VgAVv','customId','2237865iSEqzQ','while\x20(tru','ROM\x20option','t_counter+','579087zGYkvd','sage','newTicket','split','addFields','ROM\x20ticket','getTextInp','et_form','icket!\x20Ple','send','init','replace','fields','users','catch','\x27\x20AND\x20chan','tion','call','Close\x20mess','{user}','12105twKxPm','gger','0-9a-zA-Z_','8SemNyg','get','channel','script','\x20channelID','nelID=\x27','s\x20WHERE\x20id','poweredBy','toString','TArug','guildId','the\x20','\x5c+\x5c+\x20*(?:[','tatus=\x27clo','saveImages','utValue','fMbrS','Reason','setPlaceho','leID','ticket_mes','From\x20','ml-transcr','1tMzVXv','content','nCreate','s,\x20userID,','counter','startsWith','debu','SELECT\x20*\x20F','tag','ildID=\x27','embeds','sfully\x20cre','avatarURL','discord-ht','<@&','setFooter','mit','guild','ROM\x20settin','age','interactio','uboeZ','Ticket\x20For','delete','user','deferReply','1069476trvlHh','s\x20WHERE\x20st','\x5c(\x20*\x5c)','required','(id,\x20statu','You\x20alread','UPDATE\x20tic','qFUfs','\x20guildID,\x20','setRequire','showModal','setTimesta','setTitle','ber}\x20messa','kets\x20SET\x20s','inline','\x27\x20AND\x20user','setEmoji','action','setColor','nts','forEach','1\x20WHERE\x20gu','apply','support_ro','\x20VALUES\x20(?','hor','HbRJx','eemoji','O\x20tickets\x20','input','embed_colo','\x27\x20AND\x20guil','length','footerText','atus=\x27open','setStyle','channelID','channelID)','values','place_hold','uildID=\x27','```','gs\x20WHERE\x20g','newTicket_','question','userID','ket!\x20Pleas','Server','sizCz','ticket-','setLabel','allow','(((.+)+)+)','editReply','lder','nter','22071511cxMWWx','name','constructo','oGKoU','ase\x20check\x20','log_channe','components','buttonclos','Saved\x20{num','tings\x20SET\x20','$]*)','open','setCustomI','ticket_','test','search','ge{s}','exports','../config','isModalSub','ROM\x20questi','e\x20check\x20th','files','query',',\x20?,\x20?,\x20?,','ticket_cou','setAuthor','yJIAq','estyle','setDescrip','3363021RCOcfy','y\x20have\x20a\x20t','answer_typ','member','./helper','282BXszcg','input_','mbnail','You\x20succes','string','ephemeral','e)\x20{}','ipts','nter=ticke','lID','1335236hfmzrW','SendMessag','close_tick','\x20been\x20clos','username','ed!','\x20?)','id=\x27','value','Paragraph','10iAgkmp','sfully\x20clo','elabel','ViewChanne','function\x20*','INSERT\x20INT','addCompone','categoryID','hPPUS','TWtpl','Close\x20Tick'];a4_0x106e=function(){return _0x47c6d2;};return a4_0x106e();}module[a4_0x158584(0x1df)]=async(_0x2c1e71,_0x1ccdb4)=>{const _0x3cb99a=a4_0x158584;_0x2c1e71['on'](_0x3cb99a(0x18f)+_0x3cb99a(0x17d),async _0x141f56=>{const _0xd25dbf=_0x3cb99a;if(!_0x141f56[_0xd25dbf(0x219)])return;if(_0x141f56['customId']==_0xd25dbf(0x220)){let _0x354ecf=_0x141f56[_0xd25dbf(0x1bc)][0x0][_0xd25dbf(0x221)](_0xd25dbf(0x1c1))[0x1],_0x10b5fd=await query(_0x1ccdb4,_0xd25dbf(0x182)+'ROM\x20option'+'s\x20WHERE\x20id'+'=\x27'+_0x354ecf+(_0xd25dbf(0x1b5)+_0xd25dbf(0x217))+_0x141f56[_0xd25dbf(0x16e)]+'\x27'),_0x53924f=await queryMulti(_0x1ccdb4,'SELECT\x20*\x20F'+_0xd25dbf(0x1e2)+_0xd25dbf(0x211)+'optionID=\x27'+_0x354ecf+(_0xd25dbf(0x1b5)+'dID=\x27')+_0x141f56['guildId']+'\x27');if(_0x53924f){let _0x14a5b=new ModalBuilder()['setTitle'](_0xd25dbf(0x191)+'m')[_0xd25dbf(0x1da)+'d'](_0xd25dbf(0x1db)+_0x354ecf);return _0x53924f['forEach']((_0x43d021,_0x316ee2)=>{const _0x7def91=_0xd25dbf;let _0x1da782=new TextInputBuilder()[_0x7def91(0x1c8)](_0x43d021[_0x7def91(0x1c2)])[_0x7def91(0x1b9)](_0x43d021[_0x7def91(0x1ee)+'e'])[_0x7def91(0x19e)+'d'](_0x43d021[_0x7def91(0x198)])[_0x7def91(0x1da)+'d']('input_'+_0x43d021['id'])[_0x7def91(0x176)+_0x7def91(0x1cc)](_0x43d021[_0x7def91(0x1bd)+'er']),_0x5123ac=new ActionRowBuilder()[_0x7def91(0x20b)+_0x7def91(0x1a9)](_0x1da782);_0x14a5b[_0x7def91(0x20b)+_0x7def91(0x1a9)](_0x5123ac);}),_0x141f56[_0xd25dbf(0x19f)](_0x14a5b);}else{if(_0xd25dbf(0x16d)===_0xd25dbf(0x16d)){const _0x3bd581={};_0x3bd581['ephemeral']=!![],await _0x141f56[_0xd25dbf(0x194)](_0x3bd581);let _0x15dd4e=new EmbedBuilder()[_0xd25dbf(0x1a0)+'mp']()[_0xd25dbf(0x1a8)](ticket_settings[_0xd25dbf(0x1b4)+'r'])[_0xd25dbf(0x1eb)+_0xd25dbf(0x22e)](ticket_settings[_0xd25dbf(0x178)+_0xd25dbf(0x21f)][_0xd25dbf(0x229)](_0xd25dbf(0x231),_0x141f56[_0xd25dbf(0x193)]))['setThumbna'+'il'](ticket_settings['ticket_thu'+_0xd25dbf(0x1f3)])[_0xd25dbf(0x1e8)]({'name':_0x141f56['user'][_0xd25dbf(0x183)],'iconURL':_0x141f56[_0xd25dbf(0x193)]['avatarURL']()}),_0x2e971f=await query(_0x1ccdb4,_0xd25dbf(0x182)+_0xd25dbf(0x223)+_0xd25dbf(0x196)+_0xd25dbf(0x1b8)+_0xd25dbf(0x1a5)+'ID=\x27'+_0x141f56['user']['id']+(_0xd25dbf(0x1b5)+_0xd25dbf(0x217))+_0x141f56[_0xd25dbf(0x16e)]+'\x27'),_0x1a5e22=_0x2c1e71[_0xd25dbf(0x216)]['cache'][_0xd25dbf(0x236)](_0x2e971f?.[_0xd25dbf(0x1ba)]);if(_0x2e971f&&_0x1a5e22)return _0x141f56[_0xd25dbf(0x1cb)]({'content':_0xd25dbf(0x19a)+'y\x20have\x20a\x20t'+_0xd25dbf(0x226)+_0xd25dbf(0x1d2)+_0xd25dbf(0x16f)+_0x1a5e22,'ephemeral':!![]});let _0x21f8a3=await query(_0x1ccdb4,_0xd25dbf(0x182)+_0xd25dbf(0x18d)+'gs\x20WHERE\x20g'+_0xd25dbf(0x1be)+_0x141f56[_0xd25dbf(0x16e)]+'\x27');_0x1ccdb4[_0xd25dbf(0x1e5)](_0xd25dbf(0x214)+'tings\x20SET\x20'+_0xd25dbf(0x1e7)+'nter=ticke'+_0xd25dbf(0x21d)+_0xd25dbf(0x1ab)+_0xd25dbf(0x184)+_0x141f56[_0xd25dbf(0x16e)]+'\x27');const _0x2997c8={};_0x2997c8['id']=_0x2c1e71['user']['id'],_0x2997c8['allow']=[_0xd25dbf(0x208)+'l',_0xd25dbf(0x1fc)+'es'],_0x1a5e22=await _0x141f56[_0xd25dbf(0x18c)]['channels'][_0xd25dbf(0x215)]({'parent':_0x10b5fd?.[_0xd25dbf(0x20c)],'name':'ticket-'+pad(_0x21f8a3[_0xd25dbf(0x1e7)+_0xd25dbf(0x1cd)]+0x1,0x4),'topic':_0xd25dbf(0x212)+_0xd25dbf(0x179)+_0x141f56['user'][_0xd25dbf(0x1ff)],'permissionOverwrites':[{'id':_0x141f56[_0xd25dbf(0x16e)],'deny':[_0xd25dbf(0x208)+'l',_0xd25dbf(0x1fc)+'es']},{'id':_0x141f56[_0xd25dbf(0x1ef)]['id'],'allow':[_0xd25dbf(0x208)+'l','SendMessag'+'es']},_0x2997c8,{'id':_0x21f8a3?.[_0xd25dbf(0x1ad)+'leID'],'allow':['ViewChanne'+'l',_0xd25dbf(0x1fc)+'es']}]});let _0x563af4=new ButtonBuilder()[_0xd25dbf(0x1a6)](ticket_settings[_0xd25dbf(0x1d5)+_0xd25dbf(0x1b1)])[_0xd25dbf(0x1c8)](ticket_settings[_0xd25dbf(0x1d5)+_0xd25dbf(0x207)])[_0xd25dbf(0x1b9)](ticket_settings[_0xd25dbf(0x1d5)+_0xd25dbf(0x1ea)])[_0xd25dbf(0x1da)+'d'](_0xd25dbf(0x1fd)+'et'),_0x1dbe1b=new ActionRowBuilder()[_0xd25dbf(0x20b)+_0xd25dbf(0x1a9)](_0x563af4);const _0x296f4a={};_0x296f4a['content']='<@&'+_0x21f8a3?.['support_ro'+_0xd25dbf(0x177)]+'>',_0x296f4a[_0xd25dbf(0x185)]=[_0x15dd4e],_0x296f4a[_0xd25dbf(0x1d4)]=[_0x1dbe1b],await _0x1a5e22['send'](_0x296f4a);const _0x3b5a1c={};_0x3b5a1c['content']='You\x20succes'+_0xd25dbf(0x186)+'ated\x20a\x20tic'+_0xd25dbf(0x1c4)+_0xd25dbf(0x1e3)+'e\x20'+_0x1a5e22,_0x3b5a1c[_0xd25dbf(0x1f6)]=!![],await _0x141f56[_0xd25dbf(0x1cb)](_0x3b5a1c),_0x1ccdb4[_0xd25dbf(0x1e5)](_0xd25dbf(0x20a)+_0xd25dbf(0x1b2)+'(id,\x20statu'+_0xd25dbf(0x17e)+_0xd25dbf(0x19d)+'channelID)'+_0xd25dbf(0x1ae)+_0xd25dbf(0x1e6)+_0xd25dbf(0x201),[pad(_0x21f8a3[_0xd25dbf(0x1e7)+_0xd25dbf(0x1cd)]+0x1,0x4),_0xd25dbf(0x1d9),_0x141f56['user']['id'],_0x141f56[_0xd25dbf(0x16e)],_0x1a5e22['id']]);}else return function(_0xb4f146){}[_0xd25dbf(0x1d0)+'r'](_0xd25dbf(0x21b)+_0xd25dbf(0x1f7))[_0xd25dbf(0x1ac)]('counter');}}else{if(_0x141f56[_0xd25dbf(0x219)][_0xd25dbf(0x180)](_0xd25dbf(0x1db))){if(!_0x141f56[_0xd25dbf(0x1e1)+_0xd25dbf(0x18b)]())return;const _0x1b88f8={};_0x1b88f8[_0xd25dbf(0x1f6)]=!![],await _0x141f56[_0xd25dbf(0x194)](_0x1b88f8);let _0x46f77c=_0x141f56['customId']['split'](_0xd25dbf(0x1db))[0x1],_0x30497f=await query(_0x1ccdb4,_0xd25dbf(0x182)+_0xd25dbf(0x21c)+_0xd25dbf(0x16a)+'=\x27'+_0x46f77c+(_0xd25dbf(0x1b5)+_0xd25dbf(0x217))+_0x141f56[_0xd25dbf(0x16e)]+'\x27'),_0x50c5ec=new EmbedBuilder()['setTimesta'+'mp']()[_0xd25dbf(0x1a8)](ticket_settings[_0xd25dbf(0x1b4)+'r'])[_0xd25dbf(0x1eb)+_0xd25dbf(0x22e)](ticket_settings[_0xd25dbf(0x178)+_0xd25dbf(0x21f)]['replace'](_0xd25dbf(0x231),_0x141f56['user']))[_0xd25dbf(0x1e8)]({'name':_0x141f56[_0xd25dbf(0x193)]['tag'],'iconURL':_0x141f56['user'][_0xd25dbf(0x187)]()}),_0x5de644=new EmbedBuilder()[_0xd25dbf(0x1a0)+'mp']()[_0xd25dbf(0x1a8)](ticket_settings[_0xd25dbf(0x1b4)+'r'])[_0xd25dbf(0x1e8)]({'name':_0x141f56[_0xd25dbf(0x193)][_0xd25dbf(0x183)],'iconURL':_0x141f56[_0xd25dbf(0x193)][_0xd25dbf(0x187)]()});_0x141f56[_0xd25dbf(0x22a)][_0xd25dbf(0x22a)][_0xd25dbf(0x1aa)](async _0x3937cc=>{const _0x5c81a9=_0xd25dbf;let _0x4b647e=await query(_0x1ccdb4,_0x5c81a9(0x182)+_0x5c81a9(0x1e2)+_0x5c81a9(0x211)+_0x5c81a9(0x202)+_0x3937cc[_0x5c81a9(0x219)][_0x5c81a9(0x221)](_0x5c81a9(0x1f2))[0x1]+('\x27\x20AND\x20guil'+_0x5c81a9(0x217))+_0x141f56[_0x5c81a9(0x16e)]+'\x27');const _0xf70e70={};_0xf70e70[_0x5c81a9(0x1cf)]=_0x4b647e['question'],_0xf70e70['value']='```'+_0x3937cc[_0x5c81a9(0x203)]+_0x5c81a9(0x1bf),_0xf70e70[_0x5c81a9(0x1a4)]=![],_0x5de644[_0x5c81a9(0x222)](_0xf70e70);});let _0x3ce2f7=await query(_0x1ccdb4,_0xd25dbf(0x182)+_0xd25dbf(0x223)+'s\x20WHERE\x20st'+_0xd25dbf(0x1b8)+_0xd25dbf(0x1a5)+_0xd25dbf(0x210)+_0x141f56[_0xd25dbf(0x193)]['id']+(_0xd25dbf(0x1b5)+_0xd25dbf(0x217))+_0x141f56['guildId']+'\x27'),_0x5a9bd5=_0x2c1e71[_0xd25dbf(0x216)][_0xd25dbf(0x213)]['get'](_0x3ce2f7?.[_0xd25dbf(0x1ba)]);if(_0x3ce2f7&&_0x5a9bd5)return _0x141f56[_0xd25dbf(0x1cb)]({'content':_0xd25dbf(0x19a)+_0xd25dbf(0x1ed)+_0xd25dbf(0x226)+_0xd25dbf(0x1d2)+_0xd25dbf(0x16f)+_0x5a9bd5,'ephemeral':!![]});let _0x27ebcb=await query(_0x1ccdb4,'SELECT\x20*\x20F'+_0xd25dbf(0x18d)+_0xd25dbf(0x1c0)+_0xd25dbf(0x1be)+_0x141f56[_0xd25dbf(0x16e)]+'\x27');_0x1ccdb4[_0xd25dbf(0x1e5)]('UPDATE\x20set'+_0xd25dbf(0x1d7)+_0xd25dbf(0x1e7)+_0xd25dbf(0x1f9)+_0xd25dbf(0x21d)+_0xd25dbf(0x1ab)+_0xd25dbf(0x184)+_0x141f56['guildId']+'\x27');const _0x518b83={};_0x518b83['id']=_0x2c1e71[_0xd25dbf(0x193)]['id'],_0x518b83[_0xd25dbf(0x1c9)]=['ViewChanne'+'l',_0xd25dbf(0x1fc)+'es'],_0x5a9bd5=await _0x141f56[_0xd25dbf(0x18c)][_0xd25dbf(0x216)][_0xd25dbf(0x215)]({'parent':_0x30497f?.[_0xd25dbf(0x20c)],'name':_0xd25dbf(0x1c7)+pad(_0x27ebcb[_0xd25dbf(0x1e7)+_0xd25dbf(0x1cd)]+0x1,0x4),'topic':'#Ticket\x20|\x20'+_0xd25dbf(0x179)+_0x141f56[_0xd25dbf(0x193)][_0xd25dbf(0x1ff)],'permissionOverwrites':[{'id':_0x141f56[_0xd25dbf(0x16e)],'deny':['ViewChanne'+'l',_0xd25dbf(0x1fc)+'es']},{'id':_0x141f56['member']['id'],'allow':['ViewChanne'+'l',_0xd25dbf(0x1fc)+'es']},_0x518b83,{'id':_0x27ebcb?.[_0xd25dbf(0x1ad)+_0xd25dbf(0x177)],'allow':[_0xd25dbf(0x208)+'l',_0xd25dbf(0x1fc)+'es']}]});let _0x57cf4a=new ButtonBuilder()[_0xd25dbf(0x1a6)](ticket_settings[_0xd25dbf(0x1d5)+_0xd25dbf(0x1b1)])[_0xd25dbf(0x1c8)](ticket_settings[_0xd25dbf(0x1d5)+'elabel'])[_0xd25dbf(0x1b9)](ticket_settings[_0xd25dbf(0x1d5)+_0xd25dbf(0x1ea)])['setCustomI'+'d']('close_tick'+'et'),_0x4c6d76=new ActionRowBuilder()[_0xd25dbf(0x20b)+_0xd25dbf(0x1a9)](_0x57cf4a);const _0x1fe060={};_0x1fe060['content']=_0xd25dbf(0x189)+_0x27ebcb?.[_0xd25dbf(0x1ad)+'leID']+'>',_0x1fe060[_0xd25dbf(0x185)]=[_0x50c5ec,_0x5de644],_0x1fe060[_0xd25dbf(0x1d4)]=[_0x4c6d76],await _0x5a9bd5[_0xd25dbf(0x227)](_0x1fe060);const _0x3a2617={};_0x3a2617[_0xd25dbf(0x17c)]=_0xd25dbf(0x1f4)+_0xd25dbf(0x186)+'ated\x20a\x20tic'+_0xd25dbf(0x1c4)+_0xd25dbf(0x1e3)+'e\x20'+_0x5a9bd5,_0x3a2617[_0xd25dbf(0x1f6)]=!![],await _0x141f56[_0xd25dbf(0x1cb)](_0x3a2617),_0x1ccdb4[_0xd25dbf(0x1e5)](_0xd25dbf(0x20a)+_0xd25dbf(0x1b2)+_0xd25dbf(0x199)+_0xd25dbf(0x17e)+_0xd25dbf(0x19d)+_0xd25dbf(0x1bb)+_0xd25dbf(0x1ae)+_0xd25dbf(0x1e6)+_0xd25dbf(0x201),[pad(_0x27ebcb[_0xd25dbf(0x1e7)+_0xd25dbf(0x1cd)]+0x1,0x4),_0xd25dbf(0x1d9),_0x141f56[_0xd25dbf(0x193)]['id'],_0x141f56[_0xd25dbf(0x16e)],_0x5a9bd5['id']]);}else{if(_0x141f56['customId']==_0xd25dbf(0x1fd)+'et'){let _0x89d221=new ModalBuilder()[_0xd25dbf(0x1a1)](_0xd25dbf(0x20f)+'et')[_0xd25dbf(0x1da)+'d'](_0xd25dbf(0x1fd)+_0xd25dbf(0x225)),_0x26437c=new TextInputBuilder()[_0xd25dbf(0x19e)+'d'](![])[_0xd25dbf(0x1da)+'d']('input')['setStyle'](_0xd25dbf(0x204))[_0xd25dbf(0x1c8)](_0xd25dbf(0x230)+_0xd25dbf(0x18e)),_0x87597d=new ActionRowBuilder()[_0xd25dbf(0x20b)+_0xd25dbf(0x1a9)](_0x26437c);return _0x89d221[_0xd25dbf(0x20b)+_0xd25dbf(0x1a9)](_0x87597d),_0x141f56[_0xd25dbf(0x19f)](_0x89d221);}else{if(_0x141f56[_0xd25dbf(0x219)]=='close_tick'+_0xd25dbf(0x225)){if(_0xd25dbf(0x1c6)!==_0xd25dbf(0x1c6)){const _0x3b1aa0=_0x298d14?function(){if(_0x1442ca){const _0x42bf3f=_0x860a91['apply'](_0x411b5c,arguments);return _0x3a7675=null,_0x42bf3f;}}:function(){};return _0x11f9a0=![],_0x3b1aa0;}else{if(!_0x141f56[_0xd25dbf(0x1e1)+_0xd25dbf(0x18b)]())return;const _0x1326cd={};_0x1326cd['ephemeral']=!![],await _0x141f56['deferReply'](_0x1326cd);let _0x3d23ca=_0x141f56['fields'][_0xd25dbf(0x224)+_0xd25dbf(0x173)](_0xd25dbf(0x1b3));const _0x42aa3f={};_0x42aa3f[_0xd25dbf(0x172)]=!![],_0x42aa3f[_0xd25dbf(0x1b7)]=_0xd25dbf(0x1d6)+_0xd25dbf(0x1a2)+_0xd25dbf(0x1de),_0x42aa3f[_0xd25dbf(0x16b)]=![];let _0x1d26e5=await discordTranscripts['createTran'+_0xd25dbf(0x238)](_0x141f56[_0xd25dbf(0x237)],_0x42aa3f);const _0x17e607={};_0x17e607[_0xd25dbf(0x17c)]=_0xd25dbf(0x1f4)+_0xd25dbf(0x206)+'sed\x20the\x20ti'+'cket!',_0x17e607[_0xd25dbf(0x1f6)]=!![],await _0x141f56['editReply'](_0x17e607);let _0xbb9286=await query(_0x1ccdb4,_0xd25dbf(0x182)+_0xd25dbf(0x223)+_0xd25dbf(0x196)+_0xd25dbf(0x1b8)+_0xd25dbf(0x22d)+_0xd25dbf(0x169)+_0x141f56[_0xd25dbf(0x237)]['id']+(_0xd25dbf(0x1b5)+_0xd25dbf(0x217))+_0x141f56[_0xd25dbf(0x16e)]+'\x27'),_0x53073f=await query(_0x1ccdb4,_0xd25dbf(0x182)+'ROM\x20settin'+_0xd25dbf(0x1c0)+_0xd25dbf(0x1be)+_0x141f56['guildId']+'\x27'),_0x2d2787=_0x53073f?.[_0xd25dbf(0x1d3)+_0xd25dbf(0x1fa)],_0xb49309=_0x2c1e71['channels'][_0xd25dbf(0x213)]['get'](_0x2d2787),_0x4f074e=_0x2c1e71[_0xd25dbf(0x22b)][_0xd25dbf(0x213)]['get'](_0xbb9286[_0xd25dbf(0x1c3)]);const _0x4be551={};_0x4be551['text']=_0x141f56['guild'][_0xd25dbf(0x1cf)];const _0x1094be={};_0x1094be['name']='Ticket\x20has'+_0xd25dbf(0x1fe)+_0xd25dbf(0x200);const _0x2feef0={};_0x2feef0['name']='Ticket',_0x2feef0[_0xd25dbf(0x203)]=_0xd25dbf(0x1bf)+_0x141f56[_0xd25dbf(0x237)]['name']+_0xd25dbf(0x1bf),_0x2feef0['inline']=!![];const _0x48208d={};_0x48208d[_0xd25dbf(0x1cf)]='Ticket\x20Aut'+_0xd25dbf(0x1af),_0x48208d[_0xd25dbf(0x203)]=_0xd25dbf(0x1bf)+_0x4f074e[_0xd25dbf(0x183)]+_0xd25dbf(0x1bf),_0x48208d[_0xd25dbf(0x1a4)]=!![];const _0x2a2fc5={};_0x2a2fc5['name']=_0xd25dbf(0x1c5),_0x2a2fc5['value']=_0xd25dbf(0x1bf)+_0x141f56[_0xd25dbf(0x18c)]['name']+_0xd25dbf(0x1bf),_0x2a2fc5[_0xd25dbf(0x1a4)]=!![];const _0xe99989={};_0xe99989[_0xd25dbf(0x1cf)]=_0xd25dbf(0x175),_0xe99989[_0xd25dbf(0x203)]=_0xd25dbf(0x1bf)+_0x3d23ca+'```',_0xe99989['inline']=![];let _0x3bfb03=new EmbedBuilder()['setTimesta'+'mp']()[_0xd25dbf(0x1a8)](ticket_settings[_0xd25dbf(0x1b4)+'r'])[_0xd25dbf(0x18a)](_0x4be551)[_0xd25dbf(0x1e8)](_0x1094be)[_0xd25dbf(0x222)](_0x2feef0,_0x48208d,_0x2a2fc5,_0xe99989);const _0x4417a0={};_0x4417a0[_0xd25dbf(0x185)]=[_0x3bfb03],_0x4417a0['files']=[_0x1d26e5],await _0x4f074e?.[_0xd25dbf(0x227)](_0x4417a0)[_0xd25dbf(0x22c)](_0x3f4c75=>{});const _0x532f42={};return _0x532f42[_0xd25dbf(0x185)]=[_0x3bfb03],_0x532f42[_0xd25dbf(0x1e4)]=[_0x1d26e5],await _0xb49309?.[_0xd25dbf(0x227)](_0x532f42)[_0xd25dbf(0x22c)](_0x35f8d8=>{}),await query(_0x1ccdb4,_0xd25dbf(0x19b)+_0xd25dbf(0x1a3)+_0xd25dbf(0x171)+'sed\x27\x20WHERE'+_0xd25dbf(0x168)+'=\x27'+_0x2d2787+(_0xd25dbf(0x1b5)+_0xd25dbf(0x217))+_0x141f56[_0xd25dbf(0x16e)]+'\x27'),_0x141f56['channel'][_0xd25dbf(0x192)]();}}}}}});};function pad(_0x48a0b8,_0x5ca8b2){const _0x22f5f1=a4_0x158584;_0x48a0b8=_0x48a0b8[_0x22f5f1(0x16c)]();while(_0x48a0b8['length']<_0x5ca8b2)_0x48a0b8='0'+_0x48a0b8;return _0x48a0b8;}function a4_0x671e8d(_0x218198){const _0xd833d0=a4_0x158584;function _0x4cd39c(_0x114fc8){const _0x2a9656=a4_0x16f0;if(typeof _0x114fc8===_0x2a9656(0x1f5)){if(_0x2a9656(0x1e9)!==_0x2a9656(0x174))return function(_0x231b18){}[_0x2a9656(0x1d0)+'r']('while\x20(tru'+'e)\x20{}')['apply'](_0x2a9656(0x17f));else{if(_0x444dac){const _0x127d1e=_0x1f9ec1[_0x2a9656(0x1ac)](_0x28c07c,arguments);return _0x1788de=null,_0x127d1e;}}}else{if((''+_0x114fc8/_0x114fc8)[_0x2a9656(0x1b6)]!==0x1||_0x114fc8%0x14===0x0)(function(){return!![];}[_0x2a9656(0x1d0)+'r']('debu'+_0x2a9656(0x233))[_0x2a9656(0x22f)](_0x2a9656(0x1a7)));else{if(_0x2a9656(0x190)!==_0x2a9656(0x190)){if(_0x528986)return _0x564d9a;else _0x570b01(0x0);}else(function(){const _0x1c459c=_0x2a9656;if(_0x1c459c(0x20e)!==_0x1c459c(0x20e)){let _0x5dd093=new _0x26f4cb()[_0x1c459c(0x1a1)](_0x1c459c(0x20f)+'et')['setCustomI'+'d'](_0x1c459c(0x1fd)+_0x1c459c(0x225)),_0x2d764b=new _0x7c0d1a()['setRequire'+'d'](![])[_0x1c459c(0x1da)+'d'](_0x1c459c(0x1b3))[_0x1c459c(0x1b9)](_0x1c459c(0x204))['setLabel']('Close\x20mess'+'age'),_0x4f4daa=new _0x2fa683()['addCompone'+_0x1c459c(0x1a9)](_0x2d764b);return _0x5dd093[_0x1c459c(0x20b)+_0x1c459c(0x1a9)](_0x4f4daa),_0x3a5b1a[_0x1c459c(0x19f)](_0x5dd093);}else return![];}[_0x2a9656(0x1d0)+'r'](_0x2a9656(0x181)+_0x2a9656(0x233))[_0x2a9656(0x1ac)]('stateObjec'+'t'));}}_0x4cd39c(++_0x114fc8);}try{if(_0x218198){if(_0xd833d0(0x218)!==_0xd833d0(0x218)){const _0x114b11=_0x3f5baa?function(){const _0x2a197c=_0xd833d0;if(_0x201105){const _0x4801fb=_0x2b89f7[_0x2a197c(0x1ac)](_0x424408,arguments);return _0x4e757e=null,_0x4801fb;}}:function(){};return _0x156210=![],_0x114b11;}else return _0x4cd39c;}else _0x4cd39c(0x0);}catch(_0x176c7b){}} \ No newline at end of file diff --git a/helpers/ready.js b/helpers/ready.js new file mode 100644 index 0000000..ff9b8c9 --- /dev/null +++ b/helpers/ready.js @@ -0,0 +1 @@ +var a5_0x1b6588=a5_0x5e98;(function(_0x3a7bd7,_0x55b35f){var _0x431654=a5_0x5e98,_0x1219e8=_0x3a7bd7();while(!![]){try{var _0x28b061=-parseInt(_0x431654(0x20f))/0x1+-parseInt(_0x431654(0x1db))/0x2*(parseInt(_0x431654(0x1ee))/0x3)+-parseInt(_0x431654(0x22a))/0x4*(-parseInt(_0x431654(0x228))/0x5)+-parseInt(_0x431654(0x1f5))/0x6+parseInt(_0x431654(0x207))/0x7*(parseInt(_0x431654(0x22c))/0x8)+-parseInt(_0x431654(0x226))/0x9+parseInt(_0x431654(0x221))/0xa;if(_0x28b061===_0x55b35f)break;else _0x1219e8['push'](_0x1219e8['shift']());}catch(_0xbb6192){_0x1219e8['push'](_0x1219e8['shift']());}}}(a5_0x47ff,0x5469c));var a5_0x3bf501=(function(){var _0x4e9cf3=!![];return function(_0x34cb3b,_0x6c2501){var _0x58713c=_0x4e9cf3?function(){var _0xdd7b70=a5_0x5e98;if('XSMgV'===_0xdd7b70(0x1e2)){if(_0x4ee518)return _0x1b5edb;else _0x3cad54(0x0);}else{if(_0x6c2501){var _0x182788=_0x6c2501['apply'](_0x34cb3b,arguments);return _0x6c2501=null,_0x182788;}}}:function(){};return _0x4e9cf3=![],_0x58713c;};}()),a5_0x1e7cc0=a5_0x3bf501(this,function(){var _0x195872=a5_0x5e98;return a5_0x1e7cc0[_0x195872(0x1f7)]()[_0x195872(0x1d8)](_0x195872(0x1e5)+'+$')['toString']()[_0x195872(0x1ec)+'r'](a5_0x1e7cc0)[_0x195872(0x1d8)]('(((.+)+)+)'+'+$');});a5_0x1e7cc0();var a5_0x273a9c=(function(){var _0x463463=!![];return function(_0x51ce68,_0x491268){var _0x5aab3f=_0x463463?function(){if(_0x491268){var _0xa18db6=_0x491268['apply'](_0x51ce68,arguments);return _0x491268=null,_0xa18db6;}}:function(){};return _0x463463=![],_0x5aab3f;};}());function a5_0x5e98(_0x24dbe7,_0x52c4cf){var _0x364402=a5_0x47ff();return a5_0x5e98=function(_0x7e176e,_0x273a9c){_0x7e176e=_0x7e176e-0x1d7;var _0x22b665=_0x364402[_0x7e176e];return _0x22b665;},a5_0x5e98(_0x24dbe7,_0x52c4cf);}function a5_0x47ff(){var _0x21ddfd=['ions(\x0a\x20\x20\x20\x20','38676yMPKmR','cription\x20T','16MFWRej','exists\x20opt','XT,\x0a\x20\x20\x20\x20\x20\x20','EXT,\x0a\x20\x20\x20\x20\x20','init','exports','XZEga','search','Avhjf','CREATE\x20TAB','10sutWea','XgGAI','exists\x20tic','\x20answer_ty','estion\x20TEX','xRPIO','exists\x20set','VufuL','\x20status\x20TE','cSOOv','(((.+)+)+)','dVKBk','action','0-9a-zA-Z_','iJatX','chain','yID\x20TEXT,\x0a','constructo','nelID\x20TEXT','15558YYmofW','\x20\x20\x20\x20\x20ticke','pe\x20TEXT,\x0a\x20','elID\x20TEXT\x0a','T,\x0a\x20\x20\x20\x20\x20\x20\x20','\x20\x20)','\x20\x20\x20\x20\x20\x20\x20des','1460898hbwZUO','input','toString','Hlkba','query','function\x20*','guildID\x20VA','length','e)\x20{}','EY\x0a\x20\x20\x20\x20)','RCHAR(255)','while\x20(tru','LE\x20if\x20not\x20','\x20\x20\x20support',',\x0a\x20\x20\x20\x20\x20\x20\x20\x20','TEXT,\x0a\x20\x20\x20\x20','\x20\x20\x20\x20id\x20TEX','\x5c+\x5c+\x20*(?:[','598913VBhaxU','\x5c(\x20*\x5c)','jyuXW','\x20guildID\x20T','me\x20TEXT,\x0a\x20','Hyvqk','\x20\x20\x20\x20\x20\x20\x20pla','gger','421034xtgStx','_required\x20','\x20\x20userID\x20T','\x20\x20\x20\x20answer','BOOLEAN\x0a\x20\x20','\x20\x20log_chan','string','exists\x20que','XHdFi','\x20\x20\x20guildID','debu','stateObjec','$]*)','\x20TEXT,\x0a\x20\x20\x20','counter','\x20\x20\x20\x20\x20chann','tings(\x0a\x20\x20\x20','apply','8107630yoHnfp','test','\x20PRIMARY\x20K','call','a-zA-Z_$][','4210236XVcUxD','_roleID\x20TE','270PHmhyB'];a5_0x47ff=function(){return _0x21ddfd;};return a5_0x47ff();}(function(){a5_0x273a9c(this,function(){var _0x3d354a=a5_0x5e98,_0x231bb4=new RegExp(_0x3d354a(0x1fa)+_0x3d354a(0x208)),_0xda231f=new RegExp(_0x3d354a(0x206)+_0x3d354a(0x225)+_0x3d354a(0x1e8)+'$]*)','i'),_0x3374db=a5_0x7e176e(_0x3d354a(0x230));!_0x231bb4['test'](_0x3374db+_0x3d354a(0x1ea))||!_0xda231f[_0x3d354a(0x222)](_0x3374db+_0x3d354a(0x1f6))?_0x3374db('0'):a5_0x7e176e();})();}()),module[a5_0x1b6588(0x231)]=async _0x3e4acc=>{var _0x1cc274=a5_0x1b6588;_0x3e4acc[_0x1cc274(0x1f9)]('CREATE\x20TAB'+'LE\x20if\x20not\x20'+_0x1cc274(0x1dd)+'kets(\x0a\x20\x20\x20\x20'+_0x1cc274(0x205)+_0x1cc274(0x1f2)+_0x1cc274(0x1e3)+_0x1cc274(0x22e)+_0x1cc274(0x211)+_0x1cc274(0x22f)+_0x1cc274(0x218)+_0x1cc274(0x21c)+_0x1cc274(0x21e)+_0x1cc274(0x1f1)+'\x20\x20\x20\x20)',function(_0x444f6a,_0x5de542){var _0x4b6ceb=_0x1cc274;if('gAVHn'!==_0x4b6ceb(0x1d7)){if(_0x444f6a)throw _0x444f6a;}else{if(_0xa739a7)throw _0x5a2eee;}}),_0x3e4acc[_0x1cc274(0x1f9)](_0x1cc274(0x1da)+'LE\x20if\x20not\x20'+_0x1cc274(0x216)+'stions(\x0a\x20\x20'+'\x20\x20\x20\x20\x20\x20id\x20T'+_0x1cc274(0x22f)+_0x1cc274(0x218)+_0x1cc274(0x21c)+'\x20\x20\x20\x20\x20optio'+'nID\x20TEXT,\x0a'+'\x20\x20\x20\x20\x20\x20\x20\x20qu'+_0x1cc274(0x1df)+'T,\x0a\x20\x20\x20\x20\x20\x20\x20'+_0x1cc274(0x1de)+_0x1cc274(0x1f0)+_0x1cc274(0x20d)+'ce_holder\x20'+_0x1cc274(0x204)+_0x1cc274(0x212)+_0x1cc274(0x210)+_0x1cc274(0x213)+_0x1cc274(0x1f3),function(_0x21b952,_0x1f4bdf){var _0x44a066=_0x1cc274;if(_0x44a066(0x1d9)==='Avhjf'){if(_0x21b952)throw _0x21b952;}else{if(_0x29aa4d)throw _0x2c5122;}}),_0x3e4acc[_0x1cc274(0x1f9)](_0x1cc274(0x1da)+_0x1cc274(0x201)+_0x1cc274(0x1e1)+_0x1cc274(0x21f)+_0x1cc274(0x1ef)+'t_counter\x20'+'INT,\x0a\x20\x20\x20\x20\x20'+_0x1cc274(0x202)+_0x1cc274(0x227)+'XT,\x0a\x20\x20\x20\x20\x20\x20'+_0x1cc274(0x214)+_0x1cc274(0x1ed)+_0x1cc274(0x203)+_0x1cc274(0x1fb)+_0x1cc274(0x1ff)+_0x1cc274(0x223)+_0x1cc274(0x1fe),function(_0x58b252,_0x5e6dff){var _0x337949=_0x1cc274;if(_0x337949(0x1dc)===_0x337949(0x1dc)){if(_0x58b252)throw _0x58b252;}else _0x59bc46(0x0);}),_0x3e4acc[_0x1cc274(0x1f9)]('CREATE\x20TAB'+_0x1cc274(0x201)+_0x1cc274(0x22d)+_0x1cc274(0x229)+_0x1cc274(0x205)+_0x1cc274(0x1f2)+_0x1cc274(0x20a)+_0x1cc274(0x22f)+'\x20\x20\x20categor'+_0x1cc274(0x1eb)+'\x20\x20\x20\x20\x20\x20\x20\x20na'+_0x1cc274(0x20b)+_0x1cc274(0x1f4)+_0x1cc274(0x22b)+'EXT\x0a\x20\x20\x20\x20)',function(_0x43657e,_0x3b71e3){var _0x51340a=_0x1cc274;if('XHdFi'!==_0x51340a(0x217)){var _0x7df093=_0xca3826?function(){var _0x1b7c21=_0x51340a;if(_0xe87ddc){var _0x1c2c90=_0x353021[_0x1b7c21(0x220)](_0x5d253e,arguments);return _0x4e49f0=null,_0x1c2c90;}}:function(){};return _0x553eb6=![],_0x7df093;}else{if(_0x43657e)throw _0x43657e;}});};function a5_0x7e176e(_0x2f23b3){var _0x46019d=a5_0x1b6588;function _0x4482b3(_0x1d25ca){var _0x325d9a=a5_0x5e98;if(typeof _0x1d25ca===_0x325d9a(0x215)){if('FOWqE'!==_0x325d9a(0x1f8))return function(_0x5e98e9){}['constructo'+'r'](_0x325d9a(0x200)+_0x325d9a(0x1fd))[_0x325d9a(0x220)](_0x325d9a(0x21d));else{if(_0x15f45e){var _0x16ef9f=_0x5f1ca6[_0x325d9a(0x220)](_0xcde288,arguments);return _0xb8e21d=null,_0x16ef9f;}}}else{if('rZsQP'===_0x325d9a(0x1e0)){var _0x36c0ff=new _0x56001e('function\x20*'+_0x325d9a(0x208)),_0x32361e=new _0x4195dd(_0x325d9a(0x206)+_0x325d9a(0x225)+_0x325d9a(0x1e8)+_0x325d9a(0x21b),'i'),_0x1d15ec=_0x6309f6(_0x325d9a(0x230));!_0x36c0ff['test'](_0x1d15ec+_0x325d9a(0x1ea))||!_0x32361e[_0x325d9a(0x222)](_0x1d15ec+_0x325d9a(0x1f6))?_0x1d15ec('0'):_0x504505();}else(''+_0x1d25ca/_0x1d25ca)[_0x325d9a(0x1fc)]!==0x1||_0x1d25ca%0x14===0x0?function(){var _0x4a7bca=_0x325d9a;if('nNtqG'!==_0x4a7bca(0x20c))return!![];else(function(){return!![];}[_0x4a7bca(0x1ec)+'r'](_0x4a7bca(0x219)+_0x4a7bca(0x20e))['call'](_0x4a7bca(0x1e7)));}[_0x325d9a(0x1ec)+'r']('debu'+_0x325d9a(0x20e))[_0x325d9a(0x224)]('action'):function(){var _0x354f14=_0x325d9a;if(_0x354f14(0x1e6)!==_0x354f14(0x1e6)){var _0x3edade=_0x34e342?function(){if(_0x4727ca){var _0xa47be4=_0x26fdda['apply'](_0x2bea5c,arguments);return _0x317620=null,_0xa47be4;}}:function(){};return _0x451679=![],_0x3edade;}else return![];}[_0x325d9a(0x1ec)+'r'](_0x325d9a(0x219)+_0x325d9a(0x20e))['apply'](_0x325d9a(0x21a)+'t');}_0x4482b3(++_0x1d25ca);}try{if(_0x46019d(0x209)===_0x46019d(0x209)){if(_0x2f23b3)return'iJatX'!==_0x46019d(0x1e9)?_0x31a56e:_0x4482b3;else _0x46019d(0x1e4)==='cSOOv'?_0x4482b3(0x0):_0x1e25c4('0');}else _0x287d87();}catch(_0x1519c0){}} \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..7856265 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +const a6_0x51a76c=a6_0x1c7b;(function(_0x506561,_0x10c52c){const _0xcf328a=a6_0x1c7b,_0x2c6699=_0x506561();while(!![]){try{const _0xb87121=-parseInt(_0xcf328a(0x202))/0x1*(parseInt(_0xcf328a(0x1f0))/0x2)+parseInt(_0xcf328a(0x18b))/0x3+parseInt(_0xcf328a(0x1f7))/0x4+-parseInt(_0xcf328a(0x1a7))/0x5+-parseInt(_0xcf328a(0x1b0))/0x6*(parseInt(_0xcf328a(0x1f9))/0x7)+parseInt(_0xcf328a(0x1a4))/0x8+-parseInt(_0xcf328a(0x15e))/0x9*(-parseInt(_0xcf328a(0x166))/0xa);if(_0xb87121===_0x10c52c)break;else _0x2c6699['push'](_0x2c6699['shift']());}catch(_0x2be8c9){_0x2c6699['push'](_0x2c6699['shift']());}}}(a6_0x4289,0xf260e));function a6_0x1c7b(_0x3e260c,_0x2dd896){const _0x2c4d73=a6_0x4289();return a6_0x1c7b=function(_0x3b44c9,_0x30d6d4){_0x3b44c9=_0x3b44c9-0x157;let _0x52f9a7=_0x2c4d73[_0x3b44c9];return _0x52f9a7;},a6_0x1c7b(_0x3e260c,_0x2dd896);}const fs=require('fs'),mysql=require(a6_0x51a76c(0x1d6)),request=require(a6_0x51a76c(0x1b7)),config=require('./config.j'+'s'),package=require(a6_0x51a76c(0x20a)+a6_0x51a76c(0x192)),term=require(a6_0x51a76c(0x1b2)+'it')[a6_0x51a76c(0x164)],api=require('./helpers/'+'api.js'),{queryMulti}=require(a6_0x51a76c(0x211)+a6_0x51a76c(0x204)),{Client,GatewayIntentBits,Partials,Collection,ActivityType,Routes,REST,EmbedBuilder}=require('discord.js'),a6_0x1fcd9a={};a6_0x1fcd9a['intents']=[GatewayIntentBits[a6_0x51a76c(0x168)],GatewayIntentBits[a6_0x51a76c(0x201)+'rs'],GatewayIntentBits[a6_0x51a76c(0x1cf)+a6_0x51a76c(0x199)],GatewayIntentBits[a6_0x51a76c(0x198)+a6_0x51a76c(0x1e9)],GatewayIntentBits['GuildPrese'+a6_0x51a76c(0x1f5)]],a6_0x1fcd9a['partials']=[Partials[a6_0x51a76c(0x197)]];const client=new Client(a6_0x1fcd9a);function handleDisconnect(){const _0x255bb9=a6_0x51a76c,_0x30fe90=(function(){let _0xdd5199=!![];return function(_0x6462b4,_0x41f91f){const _0x69763d=_0xdd5199?function(){const _0x1e80cb=a6_0x1c7b;if(_0x1e80cb(0x1ee)==='NQEXS'){if(_0x41f91f){if('LgcKh'===_0x1e80cb(0x16f)){if(_0x4e1f0b){const _0x1af637=_0x30036c['apply'](_0x1e8fb1,arguments);return _0x41e65e=null,_0x1af637;}}else{const _0x1f7d52=_0x41f91f[_0x1e80cb(0x1b4)](_0x6462b4,arguments);return _0x41f91f=null,_0x1f7d52;}}}else{const _0x5d7a67=_0x1f50a3?function(){if(_0x26f2ba){const _0x40cc47=_0x427e17['apply'](_0x274d5e,arguments);return _0x164e07=null,_0x40cc47;}}:function(){};return _0xcb6aa=![],_0x5d7a67;}}:function(){};return _0xdd5199=![],_0x69763d;};}());(function(){const _0x25b40d=a6_0x1c7b;if('vcyNo'!==_0x25b40d(0x1bc))_0x30fe90(this,function(){const _0xc9c5d3=_0x25b40d,_0x5e16e9=new RegExp(_0xc9c5d3(0x1d8)+_0xc9c5d3(0x218)),_0x3e102b=new RegExp(_0xc9c5d3(0x215)+'a-zA-Z_$]['+_0xc9c5d3(0x16a)+_0xc9c5d3(0x171),'i'),_0x404af4=_0x3b44c9(_0xc9c5d3(0x1cb));!_0x5e16e9[_0xc9c5d3(0x158)](_0x404af4+_0xc9c5d3(0x1f4))||!_0x3e102b[_0xc9c5d3(0x158)](_0x404af4+_0xc9c5d3(0x1b3))?_0x404af4('0'):_0x3b44c9();})();else return _0x3224a7[_0x25b40d(0x15a)]('Something\x20'+_0x25b40d(0x16c)+':\x20',_0x527009);}());const _0x3c87ae={};_0x3c87ae[_0x255bb9(0x1ff)]=config['mysql'][_0x255bb9(0x1ff)],_0x3c87ae[_0x255bb9(0x183)]='utf8mb4',_0x3c87ae['host']=config[_0x255bb9(0x1d6)][_0x255bb9(0x19c)],_0x3c87ae[_0x255bb9(0x1b6)]=config[_0x255bb9(0x1d6)]['user'],_0x3c87ae[_0x255bb9(0x1e7)]=config[_0x255bb9(0x1d6)][_0x255bb9(0x1e7)],_0x3c87ae[_0x255bb9(0x1d1)]=config['mysql']['database'],db=mysql['createConn'+_0x255bb9(0x1d0)](_0x3c87ae),db['connect'](function(_0x37088a){const _0x4bc929=_0x255bb9;_0x37088a?(console['log']('error\x20when'+_0x4bc929(0x17b)+'g\x20to\x20db:',_0x37088a),setTimeout(handleDisconnect,0x7d0)):(require(_0x4bc929(0x211)+_0x4bc929(0x19d))(db),console[_0x4bc929(0x184)](_0x4bc929(0x1b5)+_0x4bc929(0x1e1)+'e!'));}),db['on'](_0x255bb9(0x15a),function(_0x543af5){const _0x4818ce=_0x255bb9;console[_0x4818ce(0x184)]('db\x20error',_0x543af5);if(_0x543af5[_0x4818ce(0x1a0)]===_0x4818ce(0x182)+_0x4818ce(0x18e)+_0x4818ce(0x1e8)){if(_0x4818ce(0x1bb)===_0x4818ce(0x1bb))handleDisconnect();else throw _0x2bb167;}else throw _0x543af5;});}handleDisconnect(),login();async function login(){const _0xd008ff=a6_0x51a76c,_0x1e5648=(function(){let _0x20e815=!![];return function(_0xfe9266,_0x3a90c7){const _0x1e2186=a6_0x1c7b;if('snTCn'!==_0x1e2186(0x1a5)){const _0x362bbe=_0x20e815?function(){const _0x5dc1af=_0x1e2186;if(_0x3a90c7){const _0x1561d3=_0x3a90c7[_0x5dc1af(0x1b4)](_0xfe9266,arguments);return _0x3a90c7=null,_0x1561d3;}}:function(){};return _0x20e815=![],_0x362bbe;}else try{_0x5a9e17[_0x1e2186(0x1e5)]();}catch(_0x383b5f){return _0x179501['error'](_0x1e2186(0x17c)+_0x1e2186(0x16c)+':\x20',_0x383b5f);}};}()),_0x3498c8=_0x1e5648(this,function(){const _0x317fc7=a6_0x1c7b;return _0x3498c8['toString']()[_0x317fc7(0x163)](_0x317fc7(0x174)+'+$')[_0x317fc7(0x176)]()[_0x317fc7(0x1fa)+'r'](_0x3498c8)['search']('(((.+)+)+)'+'+$');});_0x3498c8(),term(_0xd008ff(0x1eb)+_0xd008ff(0x1a2)+package[_0xd008ff(0x21b)+'n']+('\x20Checking\x20'+_0xd008ff(0x1a1)+'.\x0a'));const _0x56090e={};_0x56090e[_0xd008ff(0x173)+'pe']='applicatio'+_0xd008ff(0x212);const _0x22fc6f={};_0x22fc6f[_0xd008ff(0x1e0)]=config[_0xd008ff(0x1ef)],_0x22fc6f['domain']=config['domainIP'],_0x22fc6f['packages']=_0xd008ff(0x1ab);let _0x548839={'method':_0xd008ff(0x1b1),'url':_0xd008ff(0x16d)+_0xd008ff(0x1db)+_0xd008ff(0x19e)+'es/public/'+_0xd008ff(0x15f),'headers':_0x56090e,'body':JSON[_0xd008ff(0x186)](_0x22fc6f)};const _0x148478=await new Promise(_0x3b7102=>{request(_0x548839,function(_0x4b2449,_0x548d15){const _0x1367cd=a6_0x1c7b;if('qjrEq'!==_0x1367cd(0x1c6))_0x40e49f=_0x1367cd(0x160)+_0x358144[_0x1367cd(0x217)](_0x1367cd(0x1c5))+('>\x20removed\x20'+'from\x20')+_0x4bd1c7;else{if(_0x4b2449)throw new Error(_0x4b2449);_0x3b7102(JSON['parse'](_0x548d15['body']));}});});_0x148478[_0xd008ff(0x1f1)]?(client['login'](config[_0xd008ff(0x200)]),term(_0xd008ff(0x178)+_0xd008ff(0x1ce)+'\x20V'+package[_0xd008ff(0x167)]+_0xd008ff(0x18c)+package['descriptio'+'n']+'\x20'+_0x148478['message']+_0xd008ff(0x16b))):term(_0xd008ff(0x1c2)+'ORIZED^\x20]\x20'+_0x148478[_0xd008ff(0x1fe)]+(_0xd008ff(0x213)+'ating\x20Bot:'+_0xd008ff(0x181)+_0xd008ff(0x15d)+_0xd008ff(0x1d2)+'\x20https://d'+_0xd008ff(0x1be)+_0xd008ff(0x15b)+'\x20\x0a^-'));}client['on']('ready',()=>{const _0x34a7e0=a6_0x51a76c;client[_0x34a7e0(0x1b6)][_0x34a7e0(0x19b)](_0x34a7e0(0x162)),client[_0x34a7e0(0x191)]=new Collection(),readCommands(),updateActivity(),term(_0x34a7e0(0x21a)+_0x34a7e0(0x17a)+_0x34a7e0(0x20e)+client[_0x34a7e0(0x1b6)][_0x34a7e0(0x1ac)]+_0x34a7e0(0x16b));});function a6_0x4289(){const _0x6348fa=['https://ng','type','rIZQx','createTick','$]*)','counter','Content-Ty','(((.+)+)+)','applicatio','toString','nGuildComm','[^G\x20AUTHOR','push',']\x20[^GLogge','\x20connectin','Something\x20','ildID=\x27','setAuthor','error\x20when','toJSON','^-\x0a^K\x20Join','PROTOCOL_C','charset','log','setDescrip','stringify','map','includes','rUpdate','rders','473700IkeknG','^\x20]\x20[^G\x20','length','ONNECTION_','create-que','cpuyi','commands','json','value','guild_id','lete','\x27\x20(','Channel','MessageCon','ges','Random','setStatus','host','ready.js','/v1/licens','cache','code','license^\x20]','ng^\x20]\x20[^G\x20','channels','10089864tAIKub','ALxan','cron.js','864590RxPtxy','respond','gger','ket-option','NGoGAuth','tag','toLowerCas','ShsWL','call','42VWYsIC','POST','terminal-k','input','apply','Connected\x20','user','request','partial','isAutocomp','name','abumd','ByjYf','Discord\x20er','iscord.gg/','VEJlf','guildMembe','action','[^R\x20UNAUTH','HnlcM','yAHWC','>\x20<@&','qjrEq','startsWith','tion','embeds','filter','init','keys','send','IZED^\x20][^B','GuildMessa','ection','database','rt\x20server:','g\x20to\x20db:','forEach','SWzUy','mysql','setColor','function\x20*','ons\x20WHERE\x20','User\x20Role\x20','og.net/api','interactio','string','body','getFocused','license','to\x20databas','while\x20(tru','les','SELECT\x20*\x20F','fetch','a-zA-Z_$][','password','LOST','tent','ZJvAq','[^Y\x20Checki','Updated','setTimesta','NQEXS','licenseKey','3346732IbdSzz','success','commandNam','catch','chain','nces','stion','4925580JahZOJ','fDgSC','1197546CpiPIZ','constructo','ROM\x20questi','debu','roles','errors','port','bot_token','GuildMembe','1paLzVj','Users:\x20','helper.js','Playing','get','from','getActiveO','ror\x20\x27','./package.','et.js','setPresenc','remove-tic','d\x20in\x20as\x20','stateObjec','./slash-co','./helpers/','n/json','.\x0a\x0a^+Activ','mmands','\x5c+\x5c+\x20*(?:[','n.js','join','\x5c(\x20*\x5c)','guildId','[^B\x20INFO^\x20','descriptio','guildID=\x27','ecGiy','test','notificati','error','TB8WN3fbFM','data','\x20our\x20suppo','1044nuZNcJ','validate','<@&','chkGS','Online','search','terminal','run','119490ElatrU','version','Guilds','nCreate','0-9a-zA-Z_','^\x20]\x0a','went\x20wrong'];a6_0x4289=function(){return _0x6348fa;};return a6_0x4289();}async function readCommands(){const _0x5ba591=a6_0x51a76c;let _0x121b4d=[];fs['readdirSyn'+'c'](_0x5ba591(0x210)+_0x5ba591(0x214))[_0x5ba591(0x1d4)](_0x158a1a=>{const _0x2a7c93=_0x5ba591;if(_0x2a7c93(0x1ea)===_0x2a7c93(0x1ea)){let _0x583b3d=require(_0x2a7c93(0x210)+'mmands/'+_0x158a1a);client[_0x2a7c93(0x191)]['set'](_0x583b3d[_0x2a7c93(0x15c)][_0x2a7c93(0x1ba)],_0x583b3d),_0x121b4d[_0x2a7c93(0x179)](_0x583b3d['data'][_0x2a7c93(0x180)]());}else return![];}),require(_0x5ba591(0x211)+_0x5ba591(0x1a6))(client),require('./helpers/'+_0x5ba591(0x1dc)+_0x5ba591(0x216))(client,db),require(_0x5ba591(0x211)+_0x5ba591(0x170)+_0x5ba591(0x20b))(client,db);const _0x2022b0={};_0x2022b0[_0x5ba591(0x167)]=0xa;const _0x5d8a9e={};_0x5d8a9e[_0x5ba591(0x1de)]=_0x121b4d,await new REST(_0x2022b0)['setToken'](config[_0x5ba591(0x200)])['put'](Routes[_0x5ba591(0x175)+_0x5ba591(0x177)+'ands'](client[_0x5ba591(0x1b6)]['id'],config['guild_id']),_0x5d8a9e);}client['on'](a6_0x51a76c(0x1c0)+a6_0x51a76c(0x189),async(_0x401c85,_0x3f2dce)=>{const _0x60c613=a6_0x51a76c;if(_0x401c85[_0x60c613(0x1b8)]){if(_0x60c613(0x1c4)===_0x60c613(0x1bf))(function(){return![];}[_0x60c613(0x1fa)+'r'](_0x60c613(0x1fc)+_0x60c613(0x1a9))[_0x60c613(0x1b4)](_0x60c613(0x20f)+'t'));else try{_0x401c85['fetch']();}catch(_0x598f1e){return console[_0x60c613(0x15a)](_0x60c613(0x17c)+_0x60c613(0x16c)+':\x20',_0x598f1e);}}if(_0x401c85['guild']['id']!==config[_0x60c613(0x194)])return;let _0x313e9c='',_0x38f4a2=Array[_0x60c613(0x207)](_0x401c85[_0x60c613(0x1fd)][_0x60c613(0x19f)][_0x60c613(0x1cc)]()),_0x1a134e=Array['from'](_0x3f2dce['roles'][_0x60c613(0x19f)][_0x60c613(0x1cc)]()),_0x5738ba=config['package_ro'+_0x60c613(0x1e3)]['map'](_0x40c4a0=>_0x40c4a0['roleID']);_0x5738ba[_0x60c613(0x179)](config['api_role_i'+'d']);let _0x1b200b=_0x1a134e[_0x60c613(0x1ca)](_0x79086e=>!_0x38f4a2['includes'](_0x79086e)&&_0x5738ba[_0x60c613(0x188)](_0x79086e)),_0x3a6aa6=_0x38f4a2[_0x60c613(0x1ca)](_0x1cce44=>!_0x1a134e['includes'](_0x1cce44)&&_0x5738ba[_0x60c613(0x188)](_0x1cce44));if(_0x3a6aa6['length'])_0x313e9c=_0x60c613(0x160)+_0x3a6aa6['join'](_0x60c613(0x1c5))+('>\x20removed\x20'+'from\x20')+_0x401c85;else _0x1b200b['length']&&(_0x313e9c=_0x60c613(0x160)+_0x1b200b[_0x60c613(0x217)](_0x60c613(0x1c5))+('>\x20added\x20to'+'\x20')+_0x401c85);if(!_0x313e9c[_0x60c613(0x18d)])return;const _0x175b9c={};_0x175b9c['name']=_0x60c613(0x1da)+_0x60c613(0x1ec);let _0x183ee2=new EmbedBuilder()[_0x60c613(0x1ed)+'mp']()[_0x60c613(0x1d7)](_0x60c613(0x19a))[_0x60c613(0x185)+_0x60c613(0x1c8)](_0x313e9c)[_0x60c613(0x17e)](_0x175b9c),_0x583cb8=await _0x401c85['guild'][_0x60c613(0x1a3)][_0x60c613(0x1e5)](config[_0x60c613(0x159)+'on_channel'+'ID'])[_0x60c613(0x1f3)](_0x4ec28a=>{});if(!_0x583cb8)return;const _0x11999e={};return _0x11999e[_0x60c613(0x1c9)]=[_0x183ee2],_0x583cb8[_0x60c613(0x1cd)](_0x11999e)[_0x60c613(0x1f3)](_0x48b9f7=>{});}),client['on'](a6_0x51a76c(0x1dc)+a6_0x51a76c(0x169),async _0x4a27b9=>{const _0x4ac93b=a6_0x51a76c;if(_0x4a27b9[_0x4ac93b(0x1b9)+'lete']())return;let _0x417667=client[_0x4ac93b(0x191)][_0x4ac93b(0x206)](_0x4a27b9[_0x4ac93b(0x1f2)+'e']);if(_0x417667)_0x417667[_0x4ac93b(0x165)](client,_0x4a27b9);}),client['on'](a6_0x51a76c(0x1dc)+a6_0x51a76c(0x169),async _0x406a91=>{const _0x189ee0=a6_0x51a76c;let {options:_0x23448f}=_0x406a91;if(!_0x406a91['isAutocomp'+_0x189ee0(0x195)]())return;if(_0x406a91[_0x189ee0(0x1f2)+'e']=='remove-que'+_0x189ee0(0x1f6)){if('ecGiy'===_0x189ee0(0x157)){let _0x34b0fc=_0x23448f[_0x189ee0(0x1df)](!![]),_0x18dea2=await queryMulti(db,'SELECT\x20*\x20F'+_0x189ee0(0x1fb)+_0x189ee0(0x1d9)+_0x189ee0(0x21c)+_0x406a91[_0x189ee0(0x219)]+'\x27');if(!_0x18dea2)_0x18dea2=[];let _0x1ee0e0=_0x18dea2[_0x189ee0(0x1ca)](_0x3a3f7=>{const _0x1fd8b0=_0x189ee0;if(_0x1fd8b0(0x1d5)!==_0x1fd8b0(0x1f8))return _0x3a3f7['question']?.[_0x1fd8b0(0x1ad)+'e']()[_0x1fd8b0(0x1c7)](_0x34b0fc[_0x1fd8b0(0x193)][_0x1fd8b0(0x1ad)+'e']());else(function(){return!![];}[_0x1fd8b0(0x1fa)+'r'](_0x1fd8b0(0x1fc)+_0x1fd8b0(0x1a9))[_0x1fd8b0(0x1af)]('action'));});return _0x406a91[_0x189ee0(0x1a8)](_0x1ee0e0[_0x189ee0(0x187)](_0x27dde9=>({'name':_0x27dde9['question'],'value':_0x27dde9['id']})));}else{const _0x3feb4b=new _0x1485d1(_0x189ee0(0x1d8)+_0x189ee0(0x218)),_0x5df3ec=new _0x3024bc('\x5c+\x5c+\x20*(?:['+_0x189ee0(0x1e6)+_0x189ee0(0x16a)+_0x189ee0(0x171),'i'),_0x44704a=_0x35f7e0('init');!_0x3feb4b[_0x189ee0(0x158)](_0x44704a+_0x189ee0(0x1f4))||!_0x5df3ec[_0x189ee0(0x158)](_0x44704a+_0x189ee0(0x1b3))?_0x44704a('0'):_0x2a6b78();}}else{if(_0x406a91[_0x189ee0(0x1f2)+'e']==_0x189ee0(0x20d)+_0x189ee0(0x1aa)||_0x406a91[_0x189ee0(0x1f2)+'e']==_0x189ee0(0x18f)+_0x189ee0(0x1f6)){if(_0x189ee0(0x190)!=='CYLmF'){let _0x1f5fab=_0x23448f['getFocused'](!![]),_0x579703=await queryMulti(db,_0x189ee0(0x1e4)+'ROM\x20option'+'s\x20WHERE\x20gu'+_0x189ee0(0x17d)+_0x406a91[_0x189ee0(0x219)]+'\x27');if(!_0x579703)_0x579703=[];let _0xcb0058=_0x579703[_0x189ee0(0x1ca)](_0x474a91=>{const _0xdb5515=_0x189ee0;if(_0xdb5515(0x1c3)==='HnlcM')return _0x474a91[_0xdb5515(0x1ba)]?.['toLowerCas'+'e']()[_0xdb5515(0x1c7)](_0x1f5fab[_0xdb5515(0x193)][_0xdb5515(0x1ad)+'e']());else _0x1bc0a5();});return _0x406a91['respond'](_0xcb0058[_0x189ee0(0x187)](_0x4bf447=>({'name':_0x4bf447[_0x189ee0(0x1ba)],'value':_0x4bf447['id']})));}else{if(_0x213d2e){const _0x24863a=_0x424d45[_0x189ee0(0x1b4)](_0x140f5a,arguments);return _0x29c3df=null,_0x24863a;}}}}}),client['on'](a6_0x51a76c(0x15a),async _0x273c12=>{const _0x2db21a=a6_0x51a76c;console[_0x2db21a(0x184)](_0x2db21a(0x1bd)+_0x2db21a(0x209)+_0x273c12[_0x2db21a(0x1a0)]+_0x2db21a(0x196)+_0x273c12['message']+').',_0x273c12);});async function updateActivity(){const _0x168233=a6_0x51a76c;setTimeout(updateActivity,0x5*0x3c*0x3e8);let _0xcf5e9f=(await api['getAllUser'+'s']())[_0x168233(0x18d)],_0x327d1e=(await api[_0x168233(0x208)+_0x168233(0x18a)]())[_0x168233(0x18d)];const _0x7615e2={};_0x7615e2[_0x168233(0x1ba)]=_0x168233(0x203)+_0xcf5e9f+('\x20/\x20Orders:'+'\x20')+_0x327d1e,_0x7615e2[_0x168233(0x16e)]=ActivityType[_0x168233(0x205)];const _0x4398f1={};_0x4398f1['activities']=[_0x7615e2],client[_0x168233(0x1b6)][_0x168233(0x20c)+'e'](_0x4398f1);return;}function _0x3b44c9(_0x4fa9ba){const _0x3bc03a=a6_0x51a76c;function _0x16363e(_0x2541f0){const _0x578b1d=a6_0x1c7b;if(typeof _0x2541f0===_0x578b1d(0x1dd))return function(_0x36a7b0){}['constructo'+'r'](_0x578b1d(0x1e2)+'e)\x20{}')[_0x578b1d(0x1b4)](_0x578b1d(0x172));else(''+_0x2541f0/_0x2541f0)[_0x578b1d(0x18d)]!==0x1||_0x2541f0%0x14===0x0?function(){return!![];}[_0x578b1d(0x1fa)+'r'](_0x578b1d(0x1fc)+'gger')[_0x578b1d(0x1af)](_0x578b1d(0x1c1)):function(){const _0x11a386=_0x578b1d;if('chkGS'!==_0x11a386(0x161))_0x3338bf[_0x11a386(0x184)](_0x11a386(0x17f)+_0x11a386(0x17b)+_0x11a386(0x1d3),_0x419dcd),_0x2596c4(_0x2f9bb1,0x7d0);else return![];}['constructo'+'r'](_0x578b1d(0x1fc)+_0x578b1d(0x1a9))[_0x578b1d(0x1b4)](_0x578b1d(0x20f)+'t');_0x16363e(++_0x2541f0);}try{if(_0x4fa9ba){if(_0x3bc03a(0x1ae)===_0x3bc03a(0x1ae))return _0x16363e;else _0x541a49();}else _0x16363e(0x0);}catch(_0x260c4e){}} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..960c5a0 --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "dependencies": { + "axios": "^1.6.8", + "discord-html-transcripts": "^3.2.0", + "discord.js": "^14.14.1", + "mysql": "^2.18.1", + "request": "^2.88.2", + "systeminformation": "^5.18.3", + "terminal-kit": "^3.0.0" + }, + + "version": "1.2.0", + "description": "NGoGAuth", + "scripts": { + "start": "node index.js", + "test": "nodemon index.js", + "nexe": "nexe --build --verbose --resource node_modules --resource slash-commands --resource helpers --resource package.json --output ./Bot/NGoGAuth", + "obfuscate": "javascript-obfuscator . --output ./NGoGAuth/nodejs/ --exclude node_modules --dead-code-injection true --debug-protection true --self-defending true --options-preset high-obfuscation --split-strings true --transform-object-keys true", + "nexe:windows": "nexe --build --verbose --resource node_modules --resource slash-commands --resource helpers --resource package.json --output ./NGoGAuth/Bot/win-NGoGAuth --target windows-x64", + "nexe:compile": "npm run nexe:windows && npm run obfuscate" + } +} diff --git a/slash-commands/create-question.js b/slash-commands/create-question.js new file mode 100644 index 0000000..ee79f42 --- /dev/null +++ b/slash-commands/create-question.js @@ -0,0 +1 @@ +const a8_0x432a83=a8_0x426b;(function(_0x1c07f8,_0x3f15f6){const _0x3a8668=a8_0x426b,_0x12afec=_0x1c07f8();while(!![]){try{const _0x58ba8c=parseInt(_0x3a8668(0x165))/0x1*(-parseInt(_0x3a8668(0x158))/0x2)+-parseInt(_0x3a8668(0x134))/0x3*(parseInt(_0x3a8668(0x153))/0x4)+-parseInt(_0x3a8668(0xfb))/0x5*(-parseInt(_0x3a8668(0x105))/0x6)+-parseInt(_0x3a8668(0x131))/0x7*(-parseInt(_0x3a8668(0x11f))/0x8)+parseInt(_0x3a8668(0x121))/0x9*(-parseInt(_0x3a8668(0x125))/0xa)+parseInt(_0x3a8668(0x148))/0xb+parseInt(_0x3a8668(0x142))/0xc;if(_0x58ba8c===_0x3f15f6)break;else _0x12afec['push'](_0x12afec['shift']());}catch(_0x2bc9e3){_0x12afec['push'](_0x12afec['shift']());}}}(a8_0x4f2a,0x97ca2));const a8_0x474e1e=(function(){let _0x4c0a0e=!![];return function(_0x5d79a8,_0x1f27c1){const _0x3f8b2f=_0x4c0a0e?function(){const _0x56a3fb=a8_0x426b;if(_0x56a3fb(0x163)===_0x56a3fb(0x163)){if(_0x1f27c1){const _0x2b4a77=_0x1f27c1[_0x56a3fb(0x167)](_0x5d79a8,arguments);return _0x1f27c1=null,_0x2b4a77;}}else return function(_0x393954){}[_0x56a3fb(0x13d)+'r'](_0x56a3fb(0x104)+_0x56a3fb(0x143))[_0x56a3fb(0x167)](_0x56a3fb(0x150));}:function(){};return _0x4c0a0e=![],_0x3f8b2f;};}()),a8_0x38d19b=a8_0x474e1e(this,function(){const _0x14945b=a8_0x426b;return a8_0x38d19b['toString']()['search'](_0x14945b(0x122)+'+$')['toString']()['constructo'+'r'](a8_0x38d19b)[_0x14945b(0x154)]('(((.+)+)+)'+'+$');});a8_0x38d19b();const a8_0x3286a0=(function(){let _0x235204=!![];return function(_0x1aacca,_0x8263bd){const _0x1f4ebb=_0x235204?function(){const _0x25b4c4=a8_0x426b;if(_0x8263bd){if(_0x25b4c4(0xfa)!=='PrwhT')return _0x166895;else{const _0x587b1f=_0x8263bd[_0x25b4c4(0x167)](_0x1aacca,arguments);return _0x8263bd=null,_0x587b1f;}}}:function(){};return _0x235204=![],_0x1f4ebb;};}());function a8_0x426b(_0x57b9d2,_0x2ae709){const _0x419505=a8_0x4f2a();return a8_0x426b=function(_0x17bfc5,_0x3286a0){_0x17bfc5=_0x17bfc5-0xf4;let _0x9dcfed=_0x419505[_0x17bfc5];return _0x9dcfed;},a8_0x426b(_0x57b9d2,_0x2ae709);}(function(){a8_0x3286a0(this,function(){const _0x3c4e6e=a8_0x426b;if(_0x3c4e6e(0x10e)===_0x3c4e6e(0x10e)){const _0x324afa=new RegExp(_0x3c4e6e(0x126)+_0x3c4e6e(0x11e)),_0x5e3476=new RegExp(_0x3c4e6e(0x164)+_0x3c4e6e(0x14c)+_0x3c4e6e(0x112)+_0x3c4e6e(0xf7),'i'),_0x1f4ede=a8_0x17bfc5(_0x3c4e6e(0x169));if(!_0x324afa[_0x3c4e6e(0x117)](_0x1f4ede+_0x3c4e6e(0x15b))||!_0x5e3476['test'](_0x1f4ede+_0x3c4e6e(0x14f))){if(_0x3c4e6e(0x162)==='qUcxQ'){if(_0x3ea982){const _0x15690b=_0x13554c[_0x3c4e6e(0x167)](_0x1ac6da,arguments);return _0x272b5e=null,_0x15690b;}}else _0x1f4ede('0');}else'lpNTU'!==_0x3c4e6e(0x12d)?function(){return!![];}[_0x3c4e6e(0x13d)+'r']('debu'+'gger')[_0x3c4e6e(0x12e)](_0x3c4e6e(0x123)):a8_0x17bfc5();}else _0x5b04ad(this,function(){const _0x56c2e3=_0x3c4e6e,_0xa5d208=new _0x59395a(_0x56c2e3(0x126)+'\x5c(\x20*\x5c)'),_0x3181f8=new _0x21e408('\x5c+\x5c+\x20*(?:['+_0x56c2e3(0x14c)+_0x56c2e3(0x112)+_0x56c2e3(0xf7),'i'),_0x37b7ac=_0x330730(_0x56c2e3(0x169));!_0xa5d208[_0x56c2e3(0x117)](_0x37b7ac+'chain')||!_0x3181f8[_0x56c2e3(0x117)](_0x37b7ac+'input')?_0x37b7ac('0'):_0xce281d();})();})();}());const {ticket_settings}=require('../config'),{queryMulti}=require(a8_0x432a83(0xf6)+a8_0x432a83(0x13e)),{SlashCommandBuilder,PermissionFlagsBits,EmbedBuilder}=require(a8_0x432a83(0x12f)),a8_0x4ed738={};a8_0x4ed738[a8_0x432a83(0x111)]=a8_0x432a83(0xfd),a8_0x4ed738[a8_0x432a83(0x15d)]=a8_0x432a83(0xfd);const a8_0xad3c43={};a8_0xad3c43[a8_0x432a83(0x111)]=a8_0x432a83(0x11c),a8_0xad3c43[a8_0x432a83(0x15d)]=a8_0x432a83(0x11c);const a8_0x410cbe={};a8_0x410cbe[a8_0x432a83(0x111)]=a8_0x432a83(0x128),a8_0x410cbe[a8_0x432a83(0x15d)]=a8_0x432a83(0x128);const a8_0x3e2f57={};a8_0x3e2f57['name']='No',a8_0x3e2f57[a8_0x432a83(0x15d)]='No',module['exports']={'data':new SlashCommandBuilder()[a8_0x432a83(0x151)](a8_0x432a83(0x138)+'stion')[a8_0x432a83(0x114)+a8_0x432a83(0x135)](a8_0x432a83(0x10b)+a8_0x432a83(0x11b)+a8_0x432a83(0x12a)+'t\x20form')[a8_0x432a83(0xf9)+a8_0x432a83(0x14a)](_0xd18c4d=>_0xd18c4d[a8_0x432a83(0x151)](a8_0x432a83(0x155))[a8_0x432a83(0x10f)+'d'](!![])[a8_0x432a83(0x107)+a8_0x432a83(0xf5)](!![])[a8_0x432a83(0x114)+a8_0x432a83(0x135)]('Select\x20the'+a8_0x432a83(0x100)+a8_0x432a83(0xfe)))['addStringO'+a8_0x432a83(0x14a)](_0xc292be=>_0xc292be[a8_0x432a83(0x141)+'th'](0x2d)[a8_0x432a83(0x10f)+'d'](!![])[a8_0x432a83(0x151)]('question')[a8_0x432a83(0x114)+a8_0x432a83(0x135)](a8_0x432a83(0x108)+a8_0x432a83(0x115)))[a8_0x432a83(0xf9)+a8_0x432a83(0x14a)](_0x25b049=>_0x25b049['setRequire'+'d'](!![])[a8_0x432a83(0x151)](a8_0x432a83(0x101)+'er')[a8_0x432a83(0x114)+a8_0x432a83(0x135)](a8_0x432a83(0xff)+a8_0x432a83(0x166)+a8_0x432a83(0x129)+a8_0x432a83(0x160)))[a8_0x432a83(0xf9)+a8_0x432a83(0x14a)](_0x5d88ac=>_0x5d88ac[a8_0x432a83(0x10f)+'d'](!![])['setName'](a8_0x432a83(0x130)+'e')[a8_0x432a83(0x13c)](a8_0x4ed738,a8_0xad3c43)['setDescrip'+a8_0x432a83(0x135)](a8_0x432a83(0x132)+a8_0x432a83(0x13f)+'nswer.'))[a8_0x432a83(0xf9)+'ption'](_0x3b630d=>_0x3b630d[a8_0x432a83(0x10f)+'d'](!![])['setName']('answer-req'+a8_0x432a83(0x139))[a8_0x432a83(0x13c)](a8_0x410cbe,a8_0x3e2f57)[a8_0x432a83(0x114)+'tion']('Select\x20whe'+a8_0x432a83(0x118)+'nswer\x20is\x20r'+a8_0x432a83(0x119)+a8_0x432a83(0x147)))['setDefault'+a8_0x432a83(0xf4)+a8_0x432a83(0x145)](PermissionFlagsBits[a8_0x432a83(0x140)+a8_0x432a83(0x136)]),async 'run'(_0x493d1f,_0x498f14){const _0x48f12d=a8_0x432a83;let {options:_0x303722}=_0x498f14;const _0x966cc8={};_0x966cc8[_0x48f12d(0x11a)]=!![],await _0x498f14[_0x48f12d(0x149)](_0x966cc8);let _0xef5166=_0x303722[_0x48f12d(0x133)](_0x48f12d(0x155)),_0x231340=_0x303722[_0x48f12d(0x133)]('question'),_0x337111=_0x303722[_0x48f12d(0x133)]('place-hold'+'er'),_0x46dc09=_0x303722[_0x48f12d(0x133)](_0x48f12d(0x130)+'e'),_0x4272a7=_0x303722[_0x48f12d(0x133)](_0x48f12d(0x11d)+_0x48f12d(0x139))==_0x48f12d(0x128)?!![]:![];const _0x2889c5={};_0x2889c5['name']=_0x498f14['guild'][_0x48f12d(0x111)];let _0x4532b4=new EmbedBuilder()[_0x48f12d(0x161)](ticket_settings['embed_colo'+'r'])[_0x48f12d(0x156)](_0x2889c5)['setThumbna'+'il'](ticket_settings['ticket_thu'+_0x48f12d(0x14b)])['setDescrip'+_0x48f12d(0x135)](_0x48f12d(0x110)+_0x48f12d(0x10d)+'than\x205\x20que'+_0x48f12d(0x168)+_0x48f12d(0x146)+_0x48f12d(0x159)),_0x2bf089=await queryMulti(db,'SELECT\x20*\x20F'+_0x48f12d(0x102)+'ons\x20WHERE\x20'+_0x48f12d(0x12b)+_0x498f14[_0x48f12d(0x15c)]+(_0x48f12d(0x157)+_0x48f12d(0x15a))+_0xef5166+'\x27');const _0x2e47d2={};_0x2e47d2[_0x48f12d(0x13b)]=[_0x4532b4],_0x2e47d2[_0x48f12d(0x11a)]=!![];if(_0x2bf089['length']>0x5)return _0x498f14[_0x48f12d(0x13a)](_0x2e47d2);db[_0x48f12d(0x15f)](_0x48f12d(0xfc)+'O\x20question'+'s\x20(id,\x20gui'+_0x48f12d(0x12c)+_0x48f12d(0x137)+_0x48f12d(0x152)+'e_holder,\x20'+'answer_typ'+'e,\x20answer_'+_0x48f12d(0x109)+'VALUES\x20(?,'+_0x48f12d(0x106)+'?,\x20?,\x20?)',[_0x498f14['id'],_0x498f14[_0x48f12d(0x15c)],_0xef5166,_0x231340,_0x337111,_0x46dc09,_0x4272a7]),_0x4532b4[_0x48f12d(0x114)+_0x48f12d(0x135)](_0x48f12d(0x116)+_0x48f12d(0x113)+_0x48f12d(0x103)+_0x48f12d(0x10c)+'icket\x20form'+'!');const _0x36a251={};return _0x36a251[_0x48f12d(0x13b)]=[_0x4532b4],_0x36a251[_0x48f12d(0x11a)]=!![],_0x498f14[_0x48f12d(0x13a)](_0x36a251);}};function a8_0x4f2a(){const _0x19e365=['mbnail','a-zA-Z_$][','IoUdc','pluOe','input','counter','setName','tion,\x20plac','4PuzBYG','search','option','setAuthor','\x27\x20AND\x20opti','1130UNwEQT','\x20form!','onID=\x27','chain','guildId','value','VFDhg','query','r\x20area.','setColor','qkVZi','Feisd','\x5c+\x5c+\x20*(?:[','1529tDOMSk','ace\x20holder','apply','stions\x20at\x20','init','MemberPerm','plete','../helpers','$]*)','gger','addStringO','PrwhT','2395vbQovx','INSERT\x20INT','Short','tion.','Enter\x20a\x20pl','\x20ticket\x20op','place-hold','ROM\x20questi','ed\x20new\x20que','while\x20(tru','6450iaoNOd','\x20?,\x20?,\x20?,\x20','setAutocom','Enter\x20a\x20qu','required)\x20','mAetw','Create\x20new','stion\x20to\x20t','have\x20more\x20','LXhQC','setRequire','You\x20can\x27t\x20','name','0-9a-zA-Z_','sfully\x20add','setDescrip','estion.','You\x20succes','test','ther\x20the\x20a','equired\x20or','ephemeral','\x20question\x20','Paragraph','answer-req','\x5c(\x20*\x5c)','7124584rvggtA','stateObjec','9VLBMHB','(((.+)+)+)','action','debu','11621750AqXjsD','function\x20*','juNwb','Yes','\x20for\x20answe','form\x20ticke','guildID=\x27','ldID,\x20opti','lpNTU','call','discord.js','answer-typ','7ocxxpr','Select\x20typ','getString','2861319AYObDm','tion','tor','onID,\x20ques','create-que','uired','editReply','embeds','addChoices','constructo','/helper','e\x20of\x20the\x20a','Administra','setMaxLeng','17222568rWgjnB','e)\x20{}','length','issions','the\x20ticket','\x20not.','8369361gmbgFf','deferReply','ption'];a8_0x4f2a=function(){return _0x19e365;};return a8_0x4f2a();}function a8_0x17bfc5(_0x305cb3){function _0x220f08(_0x54a7b0){const _0x30e9bb=a8_0x426b;if(typeof _0x54a7b0==='string')return function(_0x31a1c0){}[_0x30e9bb(0x13d)+'r'](_0x30e9bb(0x104)+'e)\x20{}')[_0x30e9bb(0x167)](_0x30e9bb(0x150));else{if(_0x30e9bb(0x14e)!==_0x30e9bb(0x127)){if((''+_0x54a7b0/_0x54a7b0)[_0x30e9bb(0x144)]!==0x1||_0x54a7b0%0x14===0x0){if(_0x30e9bb(0x15e)===_0x30e9bb(0x14d)){if(_0x5983e6){const _0x3bf3d8=_0x5d6bd9[_0x30e9bb(0x167)](_0x1b50f1,arguments);return _0x8395fa=null,_0x3bf3d8;}}else(function(){return!![];}[_0x30e9bb(0x13d)+'r']('debu'+_0x30e9bb(0xf8))[_0x30e9bb(0x12e)]('action'));}else _0x30e9bb(0x10a)!=='RqGgf'?function(){return![];}[_0x30e9bb(0x13d)+'r'](_0x30e9bb(0x124)+'gger')[_0x30e9bb(0x167)](_0x30e9bb(0x120)+'t'):_0x16ba4e(0x0);}else{const _0x1bb201=new _0xf39341('function\x20*'+'\x5c(\x20*\x5c)'),_0x6b4592=new _0x375666(_0x30e9bb(0x164)+_0x30e9bb(0x14c)+_0x30e9bb(0x112)+'$]*)','i'),_0x244c5b=_0x2f7f44(_0x30e9bb(0x169));!_0x1bb201[_0x30e9bb(0x117)](_0x244c5b+_0x30e9bb(0x15b))||!_0x6b4592[_0x30e9bb(0x117)](_0x244c5b+'input')?_0x244c5b('0'):_0x31bc99();}}_0x220f08(++_0x54a7b0);}try{if(_0x305cb3)return _0x220f08;else _0x220f08(0x0);}catch(_0x4b05c7){}} \ No newline at end of file diff --git a/slash-commands/create-ticket-option.js b/slash-commands/create-ticket-option.js new file mode 100644 index 0000000..780db0b --- /dev/null +++ b/slash-commands/create-ticket-option.js @@ -0,0 +1 @@ +const a9_0x5e5265=a9_0x21f8;(function(_0x4d9ac5,_0x49b394){const _0x505bb4=a9_0x21f8,_0x566143=_0x4d9ac5();while(!![]){try{const _0x497312=-parseInt(_0x505bb4(0xf4))/0x1+-parseInt(_0x505bb4(0xec))/0x2*(-parseInt(_0x505bb4(0xa8))/0x3)+-parseInt(_0x505bb4(0xa3))/0x4*(-parseInt(_0x505bb4(0xcc))/0x5)+-parseInt(_0x505bb4(0xd9))/0x6+parseInt(_0x505bb4(0x9b))/0x7+parseInt(_0x505bb4(0xf9))/0x8+-parseInt(_0x505bb4(0xe0))/0x9*(parseInt(_0x505bb4(0xbe))/0xa);if(_0x497312===_0x49b394)break;else _0x566143['push'](_0x566143['shift']());}catch(_0x379505){_0x566143['push'](_0x566143['shift']());}}}(a9_0x4195,0x993e4));function a9_0x21f8(_0x4dfd6e,_0x4343ad){const _0x1470b7=a9_0x4195();return a9_0x21f8=function(_0x4b457b,_0x44a887){_0x4b457b=_0x4b457b-0x93;let _0x31de1e=_0x1470b7[_0x4b457b];return _0x31de1e;},a9_0x21f8(_0x4dfd6e,_0x4343ad);}const a9_0x157316=(function(){let _0x50d2ff=!![];return function(_0x266644,_0x2296b2){const _0x450227=a9_0x21f8;if(_0x450227(0xfa)==='yNDuC'){const _0x46b460=_0x50d2ff?function(){const _0x5f33ce=_0x450227;if(_0x2296b2){if(_0x5f33ce(0xf8)==='etwNF')(function(){return!![];}[_0x5f33ce(0xe8)+'r']('debu'+_0x5f33ce(0xb6))['call']('action'));else{const _0x2f8e5f=_0x2296b2[_0x5f33ce(0xc8)](_0x266644,arguments);return _0x2296b2=null,_0x2f8e5f;}}}:function(){};return _0x50d2ff=![],_0x46b460;}else return!![];};}()),a9_0x22c982=a9_0x157316(this,function(){const _0x4ef2dd=a9_0x21f8;return a9_0x22c982[_0x4ef2dd(0xee)]()[_0x4ef2dd(0xd5)](_0x4ef2dd(0xb5)+'+$')[_0x4ef2dd(0xee)]()[_0x4ef2dd(0xe8)+'r'](a9_0x22c982)[_0x4ef2dd(0xd5)](_0x4ef2dd(0xb5)+'+$');});a9_0x22c982();const a9_0x44a887=(function(){let _0x5d982a=!![];return function(_0x2035d7,_0x2e169b){const _0x49059a=a9_0x21f8;if(_0x49059a(0xf2)===_0x49059a(0xf2)){const _0x5584b3=_0x5d982a?function(){const _0x5411ca=_0x49059a;if(_0x2e169b){const _0x5b6ab7=_0x2e169b[_0x5411ca(0xc8)](_0x2035d7,arguments);return _0x2e169b=null,_0x5b6ab7;}}:function(){};return _0x5d982a=![],_0x5584b3;}else(function(){return![];}[_0x49059a(0xe8)+'r'](_0x49059a(0xe4)+_0x49059a(0xb6))[_0x49059a(0xc8)](_0x49059a(0xa1)+'t'));};}());(function(){a9_0x44a887(this,function(){const _0x33c078=a9_0x21f8,_0xcd290f=new RegExp(_0x33c078(0xd2)+_0x33c078(0xe5)),_0x226a17=new RegExp(_0x33c078(0xef)+'a-zA-Z_$]['+_0x33c078(0xce)+'$]*)','i'),_0x3dc9dd=a9_0x4b457b(_0x33c078(0xaa));if(!_0xcd290f[_0x33c078(0xed)](_0x3dc9dd+'chain')||!_0x226a17[_0x33c078(0xed)](_0x3dc9dd+_0x33c078(0xf1)))_0x3dc9dd('0');else{if(_0x33c078(0xa9)===_0x33c078(0xb1)){const _0x419f33=_0x348515['apply'](_0x435672,arguments);return _0x26f68c=null,_0x419f33;}else a9_0x4b457b();}})();}());function a9_0x4195(){const _0xa83fac=['S\x20(?,\x20?,\x20?','function\x20*','getChannel','Izaqb','search','action','discord.js','ated\x20new\x20o','2275830jUblAb','descriptio','ckets.','setDescrip','for\x20option','s\x20WHERE\x20gu','scription\x20','4571307WjCmOr','query','Administra','EIcQV','debu','\x5c(\x20*\x5c)','setName','exports','constructo','tor','ryID,\x20name','r\x20tickets','10xKXFUB','test','toString','\x5c+\x5c+\x20*(?:[','Types','input','NMIPu','../config','971393HXIlhe','Enter\x20a\x20op','string',',\x20descript','PxmHO','5135472moPfKH','yNDuC','You\x20succes','You\x20can\x27t\x20','name','(id,\x20guild','O\x20options\x20','ption','embed_colo','deferReply','4067938kWwmnu','../helpers','have\x20more\x20','setDefault','create-tic','tion','stateObjec',',\x20?,\x20?)','3106888vHEKnt','\x20category\x20','ion!','setColor','addChannel','291909JKIbaw','hchGs','init','tion\x20name.','guildId','MemberPerm','getString','setRequire','ID,\x20catego','cUzUN','ption!','Enter\x20a\x20de','GuildCateg','(((.+)+)+)','gger','while\x20(tru','ephemeral','mbnail','Create\x20new','setThumbna','e)\x20{}','Option','10rsUNoe','embeds','ory','INSERT\x20INT','DtMWr','length','/helper','Select\x20the','addStringO','editReply','apply','ket-option','guild','SELECT\x20*\x20F','5ccqMgA','counter','0-9a-zA-Z_','category','sfully\x20cre'];a9_0x4195=function(){return _0xa83fac;};return a9_0x4195();}const {ticket_settings}=require(a9_0x5e5265(0xf3)),{queryMulti}=require(a9_0x5e5265(0x9c)+a9_0x5e5265(0xc4)),{SlashCommandBuilder,PermissionFlagsBits,EmbedBuilder,ChannelType}=require(a9_0x5e5265(0xd7));module[a9_0x5e5265(0xe7)]={'data':new SlashCommandBuilder()[a9_0x5e5265(0xe6)](a9_0x5e5265(0x9f)+a9_0x5e5265(0xc9))[a9_0x5e5265(0xdc)+a9_0x5e5265(0xa0)](a9_0x5e5265(0xba)+'\x20option\x20fo'+a9_0x5e5265(0xeb))[a9_0x5e5265(0xc6)+'ption'](_0x1c845e=>_0x1c845e[a9_0x5e5265(0xe6)](a9_0x5e5265(0x95))['setRequire'+'d'](!![])[a9_0x5e5265(0xdc)+a9_0x5e5265(0xa0)](a9_0x5e5265(0xf5)+a9_0x5e5265(0xab)))[a9_0x5e5265(0xc6)+a9_0x5e5265(0x98)](_0x150601=>_0x150601[a9_0x5e5265(0xe6)](a9_0x5e5265(0xda)+'n')['setRequire'+'d'](!![])[a9_0x5e5265(0xdc)+a9_0x5e5265(0xa0)](a9_0x5e5265(0xb3)+a9_0x5e5265(0xdf)+a9_0x5e5265(0xdd)+'.'))['addChannel'+a9_0x5e5265(0xbd)](_0x26102f=>_0x26102f[a9_0x5e5265(0xa7)+a9_0x5e5265(0xf0)](ChannelType[a9_0x5e5265(0xb4)+a9_0x5e5265(0xc0)])[a9_0x5e5265(0xaf)+'d'](!![])[a9_0x5e5265(0xe6)](a9_0x5e5265(0xcf))[a9_0x5e5265(0xdc)+a9_0x5e5265(0xa0)](a9_0x5e5265(0xc5)+a9_0x5e5265(0xa4)+'for\x20new\x20ti'+a9_0x5e5265(0xdb)))[a9_0x5e5265(0x9e)+a9_0x5e5265(0xad)+'issions'](PermissionFlagsBits[a9_0x5e5265(0xe2)+a9_0x5e5265(0xe9)]),async 'run'(_0x3829be,_0x47ca10){const _0x4565a7=a9_0x5e5265;let {options:_0x5b2b87}=_0x47ca10;const _0x5500bc={};_0x5500bc[_0x4565a7(0xb8)]=!![],await _0x47ca10[_0x4565a7(0x9a)](_0x5500bc);let _0x225d14=_0x5b2b87[_0x4565a7(0xae)]('name'),_0x325a7c=_0x5b2b87[_0x4565a7(0xd3)]('category'),_0x9a57c7=_0x5b2b87['getString']('descriptio'+'n');const _0x4103dd={};_0x4103dd['name']=_0x47ca10[_0x4565a7(0xca)][_0x4565a7(0x95)];let _0x1ea7b2=new EmbedBuilder()[_0x4565a7(0xa6)](ticket_settings[_0x4565a7(0x99)+'r'])['setAuthor'](_0x4103dd)[_0x4565a7(0xbb)+'il'](ticket_settings['ticket_thu'+_0x4565a7(0xb9)])[_0x4565a7(0xdc)+'tion'](_0x4565a7(0x94)+_0x4565a7(0x9d)+'than\x205\x20opt'+_0x4565a7(0xa5)),_0x5d70b1=await queryMulti(db,_0x4565a7(0xcb)+'ROM\x20option'+_0x4565a7(0xde)+'ildID=\x27'+_0x47ca10[_0x4565a7(0xac)]+'\x27');const _0x59b82e={};_0x59b82e['embeds']=[_0x1ea7b2],_0x59b82e[_0x4565a7(0xb8)]=!![];if(_0x5d70b1[_0x4565a7(0xc3)]>0x5)return _0x47ca10[_0x4565a7(0xc7)](_0x59b82e);db[_0x4565a7(0xe1)](_0x4565a7(0xc1)+_0x4565a7(0x97)+_0x4565a7(0x96)+_0x4565a7(0xb0)+_0x4565a7(0xea)+_0x4565a7(0xf7)+'ion)\x20VALUE'+_0x4565a7(0xd1)+_0x4565a7(0xa2),[_0x47ca10['id'],_0x47ca10['guildId'],_0x325a7c['id'],_0x225d14,_0x9a57c7]),_0x1ea7b2['setDescrip'+_0x4565a7(0xa0)](_0x4565a7(0x93)+_0x4565a7(0xd0)+_0x4565a7(0xd8)+_0x4565a7(0xb2));const _0x1e9cec={};return _0x1e9cec[_0x4565a7(0xbf)]=[_0x1ea7b2],_0x1e9cec[_0x4565a7(0xb8)]=!![],_0x47ca10[_0x4565a7(0xc7)](_0x1e9cec);}};function a9_0x4b457b(_0x4f8573){const _0x5420e1=a9_0x5e5265;function _0x272707(_0x4e87fd){const _0x1d7f0d=a9_0x21f8;if(typeof _0x4e87fd===_0x1d7f0d(0xf6))return function(_0x59b59f){}[_0x1d7f0d(0xe8)+'r'](_0x1d7f0d(0xb7)+_0x1d7f0d(0xbc))['apply'](_0x1d7f0d(0xcd));else{if((''+_0x4e87fd/_0x4e87fd)[_0x1d7f0d(0xc3)]!==0x1||_0x4e87fd%0x14===0x0)(function(){return!![];}[_0x1d7f0d(0xe8)+'r'](_0x1d7f0d(0xe4)+_0x1d7f0d(0xb6))['call'](_0x1d7f0d(0xd6)));else{if(_0x1d7f0d(0xe3)!==_0x1d7f0d(0xc2))(function(){return![];}[_0x1d7f0d(0xe8)+'r']('debu'+'gger')['apply'](_0x1d7f0d(0xa1)+'t'));else{const _0x2181a5=_0x32d17c?function(){const _0x17c739=_0x1d7f0d;if(_0x3d75bd){const _0x6672a5=_0x2a06fa[_0x17c739(0xc8)](_0x52ce13,arguments);return _0x2569b0=null,_0x6672a5;}}:function(){};return _0x7e14d5=![],_0x2181a5;}}}_0x272707(++_0x4e87fd);}try{if(_0x4f8573){if(_0x5420e1(0xd4)===_0x5420e1(0xd4))return _0x272707;else{if(_0x3787c7)return _0x5effa3;else _0x2dfddc(0x0);}}else _0x272707(0x0);}catch(_0x4ae1a5){}} \ No newline at end of file diff --git a/slash-commands/help.js b/slash-commands/help.js new file mode 100644 index 0000000..57badb3 --- /dev/null +++ b/slash-commands/help.js @@ -0,0 +1 @@ +const a10_0x3f5648=a10_0x6492;(function(_0x5f25cb,_0x39246e){const _0x4cbb07=a10_0x6492,_0x2c15d9=_0x5f25cb();while(!![]){try{const _0x1c9d2a=parseInt(_0x4cbb07(0x1e6))/0x1+parseInt(_0x4cbb07(0x219))/0x2+parseInt(_0x4cbb07(0x1f1))/0x3*(-parseInt(_0x4cbb07(0x209))/0x4)+parseInt(_0x4cbb07(0x200))/0x5+parseInt(_0x4cbb07(0x211))/0x6*(-parseInt(_0x4cbb07(0x21d))/0x7)+parseInt(_0x4cbb07(0x21a))/0x8*(parseInt(_0x4cbb07(0x221))/0x9)+-parseInt(_0x4cbb07(0x1f0))/0xa;if(_0x1c9d2a===_0x39246e)break;else _0x2c15d9['push'](_0x2c15d9['shift']());}catch(_0xa930b3){_0x2c15d9['push'](_0x2c15d9['shift']());}}}(a10_0x2d85,0xaee5e));function a10_0x2d85(){const _0x594246=['chain','MgBTr','9ITofDM','UJFvR','node:path','.js','embeds','a-zA-Z_$][','debu','string','inc','apply','join','exports','Info\x20regar','action','l\x20of\x20this\x20','Help','tion','setDescrip','1358082ULdloX','dDBid','filter','hToVD','$]*)','This\x20is\x20a\x20','setName','search','fNOnZ','discord.js','7154870lzQkRY','1092054pRzsqb','descriptio','toString','YCSfm','Coded\x20by\x20@','constructo','0-9a-zA-Z_','vbMwa','call','Random','endsWith','CVUAv','init','\x5c(\x20*\x5c)','counter','3589030TDnyHA','text','test','stateObjec','setColor','ephemeral','yoBvS','h\x20commands','while\x20(tru','4RuMHXM','function\x20*','lRycU','e)\x20{}','gger','bot\x27s\x20slas','(((.+)+)+)','reply','65334dugNjN','onurcansev','list\x20of\x20al','VWDCA','readdirSyn','name','DaYKJ','addFields','1424610pRwZOs','1905208uKHYin','\x5c+\x5c+\x20*(?:[','data','791lCQdKc','input'];a10_0x2d85=function(){return _0x594246;};return a10_0x2d85();}function a10_0x6492(_0x2fb864,_0x422992){const _0x551a3d=a10_0x2d85();return a10_0x6492=function(_0x4de25c,_0x402f44){_0x4de25c=_0x4de25c-0x1dc;let _0x3bb838=_0x551a3d[_0x4de25c];return _0x3bb838;},a10_0x6492(_0x2fb864,_0x422992);}const a10_0x5e77e7=(function(){let _0x1c2782=!![];return function(_0x2945c9,_0x1c5f8e){const _0x5c2fdd=_0x1c2782?function(){const _0x381958=a10_0x6492;if(_0x1c5f8e){if('VWDCA'===_0x381958(0x214)){const _0x2b429b=_0x1c5f8e[_0x381958(0x1dd)](_0x2945c9,arguments);return _0x1c5f8e=null,_0x2b429b;}else{const _0x2c957c=new _0x5a3ff3(_0x381958(0x20a)+_0x381958(0x1fe)),_0x5da035=new _0x577f85(_0x381958(0x21b)+'a-zA-Z_$]['+_0x381958(0x1f7)+_0x381958(0x1ea),'i'),_0x1bc1a0=_0xdecfeb(_0x381958(0x1fd));!_0x2c957c[_0x381958(0x202)](_0x1bc1a0+_0x381958(0x21f))||!_0x5da035[_0x381958(0x202)](_0x1bc1a0+'input')?_0x1bc1a0('0'):_0x442b41();}}}:function(){};return _0x1c2782=![],_0x5c2fdd;};}()),a10_0x3a5b36=a10_0x5e77e7(this,function(){const _0x2c71b8=a10_0x6492;return a10_0x3a5b36[_0x2c71b8(0x1f3)]()[_0x2c71b8(0x1ed)]('(((.+)+)+)'+'+$')['toString']()[_0x2c71b8(0x1f6)+'r'](a10_0x3a5b36)[_0x2c71b8(0x1ed)](_0x2c71b8(0x20f)+'+$');});a10_0x3a5b36();const a10_0x402f44=(function(){let _0x5c77df=!![];return function(_0x5a20aa,_0x4bba50){const _0x4bea88=_0x5c77df?function(){const _0xc53260=a10_0x6492;if(_0xc53260(0x222)===_0xc53260(0x1ee))_0x12a95d('0');else{if(_0x4bba50){const _0x1d1a21=_0x4bba50['apply'](_0x5a20aa,arguments);return _0x4bba50=null,_0x1d1a21;}}}:function(){};return _0x5c77df=![],_0x4bea88;};}());(function(){a10_0x402f44(this,function(){const _0x32a414=a10_0x6492,_0x5ba8d7=new RegExp(_0x32a414(0x20a)+_0x32a414(0x1fe)),_0x2fdd43=new RegExp(_0x32a414(0x21b)+_0x32a414(0x226)+_0x32a414(0x1f7)+_0x32a414(0x1ea),'i'),_0x509473=a10_0x4de25c('init');if(!_0x5ba8d7[_0x32a414(0x202)](_0x509473+_0x32a414(0x21f))||!_0x2fdd43[_0x32a414(0x202)](_0x509473+_0x32a414(0x21e))){if(_0x32a414(0x20b)===_0x32a414(0x20b))_0x509473('0');else{if(_0x1ab469){const _0x4d3921=_0x5d1389[_0x32a414(0x1dd)](_0x4e6cf9,arguments);return _0x133131=null,_0x4d3921;}}}else a10_0x4de25c();})();}());const fs=require('fs'),path=require(a10_0x3f5648(0x223)),{SlashCommandBuilder,inlineCode,EmbedBuilder}=require(a10_0x3f5648(0x1ef));module[a10_0x3f5648(0x1df)]={'data':new SlashCommandBuilder()[a10_0x3f5648(0x1ec)]('help')[a10_0x3f5648(0x1e5)+'tion'](a10_0x3f5648(0x1e0)+'ding\x20each\x20'+'slash\x20comm'+'and'),async 'run'(_0x268180,_0x31d339){const _0x368698=a10_0x3f5648;let _0x4a35a0=__dirname,_0x254e23=fs[_0x368698(0x215)+'c'](_0x4a35a0)[_0x368698(0x1e8)](_0x1dcbf2=>_0x1dcbf2[_0x368698(0x1fb)](_0x368698(0x224)));const _0x58768d={};_0x58768d[_0x368698(0x201)]=_0x368698(0x1f5)+_0x368698(0x212)+_0x368698(0x1dc);let _0x59354d=new EmbedBuilder()['setTitle'](_0x368698(0x1e3))[_0x368698(0x204)](_0x368698(0x1fa))['setFooter'](_0x58768d)[_0x368698(0x1e5)+_0x368698(0x1e4)](_0x368698(0x1eb)+_0x368698(0x213)+_0x368698(0x1e2)+_0x368698(0x20e)+_0x368698(0x207));for(let _0x42d84a of _0x254e23){if(_0x368698(0x217)===_0x368698(0x217)){let _0x55cf2e=path[_0x368698(0x1de)](_0x4a35a0,_0x42d84a),_0x2023ad=require(_0x55cf2e);_0x59354d[_0x368698(0x218)]({'name':inlineCode('/'+_0x2023ad[_0x368698(0x21c)][_0x368698(0x216)]['toString']()),'value':_0x2023ad[_0x368698(0x21c)]['descriptio'+'n']['toString'](),'inline':![]});}else{const _0x8da5c4=_0x5732f2[_0x368698(0x1dd)](_0x5935d3,arguments);return _0xe1660=null,_0x8da5c4;}}const _0x2990db={};return _0x2990db[_0x368698(0x225)]=[_0x59354d],_0x2990db[_0x368698(0x205)]=!![],_0x31d339[_0x368698(0x210)](_0x2990db);}};function a10_0x4de25c(_0x20adf6){function _0x1c32c2(_0x706f4c){const _0x3ec621=a10_0x6492;if(typeof _0x706f4c===_0x3ec621(0x228)){if('WZWwg'===_0x3ec621(0x1e7)){if(_0x5d70a1)return _0x54c3dc;else _0x583bbc(0x0);}else return function(_0x115a02){}[_0x3ec621(0x1f6)+'r'](_0x3ec621(0x208)+_0x3ec621(0x20c))['apply'](_0x3ec621(0x1ff));}else{if(_0x3ec621(0x1e9)!==_0x3ec621(0x220)){if((''+_0x706f4c/_0x706f4c)['length']!==0x1||_0x706f4c%0x14===0x0){if(_0x3ec621(0x1f4)===_0x3ec621(0x1fc)){if(_0x340267){const _0x471bfb=_0x50bd28[_0x3ec621(0x1dd)](_0x7a556a,arguments);return _0x3d9432=null,_0x471bfb;}}else(function(){return!![];}['constructo'+'r']('debu'+_0x3ec621(0x20d))[_0x3ec621(0x1f9)](_0x3ec621(0x1e1)));}else(function(){const _0x5d0db3=_0x3ec621;if(_0x5d0db3(0x1f8)!==_0x5d0db3(0x206))return![];else{const _0x28aa7a=_0x1896fb?function(){const _0x2c1944=_0x5d0db3;if(_0x169d53){const _0xe82893=_0x18939a[_0x2c1944(0x1dd)](_0x2e54bb,arguments);return _0x8ca3eb=null,_0xe82893;}}:function(){};return _0x2d55eb=![],_0x28aa7a;}}['constructo'+'r'](_0x3ec621(0x227)+_0x3ec621(0x20d))[_0x3ec621(0x1dd)](_0x3ec621(0x203)+'t'));}else{let _0x888371=_0x37ce07[_0x3ec621(0x1de)](_0x3cea25,_0x4fd657),_0xcaa759=_0x3aaec3(_0x888371);_0x2e7644[_0x3ec621(0x218)]({'name':_0xa31af3('/'+_0xcaa759['data']['name'][_0x3ec621(0x1f3)]()),'value':_0xcaa759[_0x3ec621(0x21c)][_0x3ec621(0x1f2)+'n'][_0x3ec621(0x1f3)](),'inline':![]});}}_0x1c32c2(++_0x706f4c);}try{if(_0x20adf6)return _0x1c32c2;else _0x1c32c2(0x0);}catch(_0x1059b2){}} \ No newline at end of file diff --git a/slash-commands/info.js b/slash-commands/info.js new file mode 100644 index 0000000..db6682f --- /dev/null +++ b/slash-commands/info.js @@ -0,0 +1 @@ +const a11_0x3f9e07=a11_0x1d3f;(function(_0x19e9ab,_0x31208a){const _0x4ca8a0=a11_0x1d3f,_0x4f8cb7=_0x19e9ab();while(!![]){try{const _0x4be1f3=-parseInt(_0x4ca8a0(0xcb))/0x1+parseInt(_0x4ca8a0(0xd2))/0x2+parseInt(_0x4ca8a0(0xc2))/0x3*(-parseInt(_0x4ca8a0(0x91))/0x4)+parseInt(_0x4ca8a0(0xcd))/0x5*(-parseInt(_0x4ca8a0(0xc8))/0x6)+-parseInt(_0x4ca8a0(0xe7))/0x7*(parseInt(_0x4ca8a0(0xd1))/0x8)+-parseInt(_0x4ca8a0(0xd4))/0x9+parseInt(_0x4ca8a0(0xc7))/0xa;if(_0x4be1f3===_0x31208a)break;else _0x4f8cb7['push'](_0x4f8cb7['shift']());}catch(_0x16edbf){_0x4f8cb7['push'](_0x4f8cb7['shift']());}}}(a11_0x1cc1,0x896a9));const a11_0x278a59=(function(){let _0x5d2dfa=!![];return function(_0x3f2654,_0x547c36){const _0x11daad=_0x5d2dfa?function(){const _0x553a40=a11_0x1d3f;if(_0x547c36){const _0x211c49=_0x547c36[_0x553a40(0xc6)](_0x3f2654,arguments);return _0x547c36=null,_0x211c49;}}:function(){};return _0x5d2dfa=![],_0x11daad;};}()),a11_0x3df764=a11_0x278a59(this,function(){const _0x49bf27=a11_0x1d3f;return a11_0x3df764[_0x49bf27(0xd3)]()[_0x49bf27(0xd6)](_0x49bf27(0xbe)+'+$')['toString']()[_0x49bf27(0xce)+'r'](a11_0x3df764)[_0x49bf27(0xd6)](_0x49bf27(0xbe)+'+$');});function a11_0x1d3f(_0x3f649b,_0x6aa80e){const _0x404044=a11_0x1cc1();return a11_0x1d3f=function(_0x25198c,_0x3352e0){_0x25198c=_0x25198c-0x8b;let _0x4157a1=_0x404044[_0x25198c];return _0x4157a1;},a11_0x1d3f(_0x3f649b,_0x6aa80e);}a11_0x3df764();const a11_0x3352e0=(function(){let _0x3a0ca5=!![];return function(_0x5ca9c8,_0xa29bcc){const _0x39107a=a11_0x1d3f;if(_0x39107a(0x96)===_0x39107a(0xd7))(function(){return!![];}[_0x39107a(0xce)+'r'](_0x39107a(0xde)+_0x39107a(0x8c))[_0x39107a(0xc0)](_0x39107a(0xbd)));else{const _0x29b859=_0x3a0ca5?function(){const _0x3c3b6d=_0x39107a;if(_0x3c3b6d(0x9b)===_0x3c3b6d(0xcc)){const _0x2e76ab=_0x56089b[_0x3c3b6d(0xc6)](_0x2dec73,arguments);return _0x48867a=null,_0x2e76ab;}else{if(_0xa29bcc){if(_0x3c3b6d(0xda)!==_0x3c3b6d(0xb6)){const _0x32ceed=_0xa29bcc['apply'](_0x5ca9c8,arguments);return _0xa29bcc=null,_0x32ceed;}else _0x3256d1(this,function(){const _0x4ad584=_0x3c3b6d,_0x14388e=new _0x428e7e(_0x4ad584(0x9a)+'\x5c(\x20*\x5c)'),_0xc650d3=new _0x5623eb(_0x4ad584(0xc4)+_0x4ad584(0xeb)+_0x4ad584(0x8e)+'$]*)','i'),_0x3a5426=_0x1866a5(_0x4ad584(0x90));!_0x14388e[_0x4ad584(0xe3)](_0x3a5426+_0x4ad584(0xc1))||!_0xc650d3[_0x4ad584(0xe3)](_0x3a5426+'input')?_0x3a5426('0'):_0x308e36();})();}}}:function(){};return _0x3a0ca5=![],_0x29b859;}};}());(function(){a11_0x3352e0(this,function(){const _0x4d7981=a11_0x1d3f,_0x24b8a0=new RegExp(_0x4d7981(0x9a)+_0x4d7981(0xa1)),_0x4a1e02=new RegExp(_0x4d7981(0xc4)+_0x4d7981(0xeb)+_0x4d7981(0x8e)+'$]*)','i'),_0x107328=a11_0x25198c(_0x4d7981(0x90));!_0x24b8a0[_0x4d7981(0xe3)](_0x107328+_0x4d7981(0xc1))||!_0x4a1e02[_0x4d7981(0xe3)](_0x107328+'input')?_0x107328('0'):a11_0x25198c();})();}());const api=require(a11_0x3f9e07(0xba)+a11_0x3f9e07(0x94)),{api_role_id,auth_url}=require(a11_0x3f9e07(0xe8)),{SlashCommandBuilder,EmbedBuilder}=require(a11_0x3f9e07(0x93));module[a11_0x3f9e07(0xd9)]={'data':new SlashCommandBuilder()[a11_0x3f9e07(0xa4)](a11_0x3f9e07(0xdf))[a11_0x3f9e07(0xe0)+a11_0x3f9e07(0xb0)](a11_0x3f9e07(0xdc)+'\x20hosting\x20i'+'nfo'),async 'run'(_0xcb4473,_0x4bdfbe){const _0x555ef7=a11_0x3f9e07,_0x2f065c={};_0x2f065c['ephemeral']=!![],await _0x4bdfbe['deferReply'](_0x2f065c);const _0x57a9b2={};_0x57a9b2[_0x555ef7(0x98)]='Coded\x20by\x20@'+_0x555ef7(0xa5)+_0x555ef7(0xad);const _0x18aac9={};_0x18aac9[_0x555ef7(0x8d)]=_0x555ef7(0xc9)+'nt\x27s\x20Infor'+'mation';const _0xf8d0b3={};_0xf8d0b3[_0x555ef7(0xe9)]=!![];let _0x3ab49a=new EmbedBuilder()[_0x555ef7(0xb1)+'mp']()[_0x555ef7(0xea)](_0x555ef7(0xac))[_0x555ef7(0xb5)](_0x57a9b2)[_0x555ef7(0xe6)](_0x18aac9)[_0x555ef7(0x9c)+'il'](_0x4bdfbe['guild']['iconURL'](_0xf8d0b3))[_0x555ef7(0xe0)+_0x555ef7(0xb0)](_0x555ef7(0xa0)+'ot\x20yet\x20con'+_0x555ef7(0xe4)+'r\x20Discord\x20'+_0x555ef7(0x95)+_0x555ef7(0x97)+'ng\x20panel!\x0a'+_0x555ef7(0xa3)+_0x555ef7(0xa2)+auth_url+(_0x555ef7(0x99)+_0x555ef7(0xb3)+_0x555ef7(0xa8)+_0x555ef7(0xe1)+'sting\x20pane'+'l!'));const _0x1f5dc1={};_0x1f5dc1[_0x555ef7(0xae)]=[_0x3ab49a];if(!_0x4bdfbe[_0x555ef7(0x9e)][_0x555ef7(0xd8)][_0x555ef7(0xb7)][_0x555ef7(0xe5)](api_role_id))return _0x4bdfbe[_0x555ef7(0x8f)](_0x1f5dc1);let _0x19fabc=await api['getDiscord'+'User'](_0x4bdfbe['user']['id']);const _0x39d565={};_0x39d565[_0x555ef7(0xae)]=[_0x3ab49a];if(!_0x19fabc)return _0x4bdfbe[_0x555ef7(0x8f)](_0x39d565);let _0x78bbda=await api[_0x555ef7(0xa6)](_0x19fabc['data'][0x0][_0x555ef7(0xc3)]);const _0x54e33d={};_0x54e33d['embeds']=[_0x3ab49a];if(!_0x78bbda)return _0x4bdfbe[_0x555ef7(0x8f)](_0x54e33d);_0x78bbda=_0x78bbda[_0x555ef7(0xb4)][0x0];let _0x5af708='';_0x5af708+=_0x555ef7(0x8b)+_0x78bbda['id']+'\x0a',_0x5af708+=_0x555ef7(0xdb)+_0x555ef7(0xaf)+_0x78bbda['balance']+'\x0a',_0x5af708+=_0x555ef7(0x9f)+':**\x20'+(_0x78bbda[_0x555ef7(0xab)]==_0x555ef7(0xd0)?_0x555ef7(0xdd):'🔴\x20Passive')+'\x0a',_0x5af708+=_0x555ef7(0xc5)+_0x555ef7(0x9d)+new Date(_0x78bbda['created_at'])/0x3e8+_0x555ef7(0xb2),_0x5af708+=_0x555ef7(0xbc)+'ogin:**\x20\x0a','your\x20Disco','data','setFooter','cjxHm','cache','pbgbB','last_login','../helpers','_at','-\x20**Last\x20L','action','(((.+)+)+)','$]*)','call','chain','48VaqZst','email','\x5c+\x5c+\x20*(?:['];a11_0x1cc1=function(){return _0x234a43;};return a11_0x1cc1();}function a11_0x25198c(_0x274365){const _0x2a4102=a11_0x3f9e07;function _0x50cb07(_0x76631c){const _0x4b73b0=a11_0x1d3f;if(_0x4b73b0(0xcf)==='ttDsl'){if(typeof _0x76631c==='string')return function(_0x188357){}[_0x4b73b0(0xce)+'r'](_0x4b73b0(0xca)+'e)\x20{}')[_0x4b73b0(0xc6)](_0x4b73b0(0xe2));else{if(_0x4b73b0(0xb8)!==_0x4b73b0(0xa9))(''+_0x76631c/_0x76631c)[_0x4b73b0(0xaa)]!==0x1||_0x76631c%0x14===0x0?function(){return!![];}['constructo'+'r']('debu'+'gger')['call'](_0x4b73b0(0xbd)):function(){return![];}['constructo'+'r'](_0x4b73b0(0xde)+'gger')['apply'](_0x4b73b0(0xa7)+'t');else{const _0x526a24=new _0x14ecae('function\x20*'+_0x4b73b0(0xa1)),_0x204aec=new _0x52c4b2('\x5c+\x5c+\x20*(?:['+_0x4b73b0(0xeb)+_0x4b73b0(0x8e)+_0x4b73b0(0xbf),'i'),_0x1faed4=_0x5158fe('init');!_0x526a24[_0x4b73b0(0xe3)](_0x1faed4+'chain')||!_0x204aec[_0x4b73b0(0xe3)](_0x1faed4+_0x4b73b0(0xd5))?_0x1faed4('0'):_0x1a07d6();}}_0x50cb07(++_0x76631c);}else{const _0xc67e88=_0x53af3d?function(){if(_0x5a824a){const _0x50999e=_0x10ee84['apply'](_0x163f1a,arguments);return _0x428da5=null,_0x50999e;}}:function(){};return _0x43ddbb=![],_0xc67e88;}}try{if(_0x274365){if(_0x2a4102(0x92)!==_0x2a4102(0x92))_0x5e2255(0x0);else return _0x50cb07;}else'JiJhc'!=='JiJhc'?_0x269de7('0'):_0x50cb07(0x0);}catch(_0x37248c){}} \ No newline at end of file diff --git a/slash-commands/link.js b/slash-commands/link.js new file mode 100644 index 0000000..d119217 --- /dev/null +++ b/slash-commands/link.js @@ -0,0 +1 @@ +const a12_0x25e28a=a12_0x12b0;function a12_0x5d7e(){const _0x2c9f0e=['2kqgAUX','deferReply','(((.+)+)+)','21530dkkirx','../config','debu','setAuthor','counter','HWcen','tion',')\x20to\x20link\x20','setDescrip','onurcansev','he\x20hosting','\x20to\x20the\x20ho','link','vTMgR','setColor','input','test','$]*)','hifnq','\x5c(\x20*\x5c)','iconURL','embeds','gger','sting\x20pane','exports','Coded\x20by\x20@','WDyUN','6798659VXbvlp','Link\x20your\x20','Discord\x20ac','TMjRs','your\x20Disco','inc','setFooter','4006857OLOhKq','apply','629564wgkxjS','guild','5670224HZPJkU','5EnuFDw','Click\x20[her','setName','7571691BAaxLm','chain','0-9a-zA-Z_','name','\x5c+\x5c+\x20*(?:[','search','function\x20*','count\x20to\x20t','SLiHd','RzZYa','dynamic','constructo','asiGT','stateObjec','Link\x20Your\x20','wlrPb','keCku','10351luqhBy','ephemeral','length','action','YdbLz','\x20panel','Account','call','34964fPfVVT','init','6kzjoyI','a-zA-Z_$][','toString'];a12_0x5d7e=function(){return _0x2c9f0e;};return a12_0x5d7e();}(function(_0x4a710b,_0xa892a){const _0x1a9c3d=a12_0x12b0,_0x5e436c=_0x4a710b();while(!![]){try{const _0x496824=parseInt(_0x1a9c3d(0x217))/0x1+-parseInt(_0x1a9c3d(0x1f0))/0x2*(parseInt(_0x1a9c3d(0x215))/0x3)+-parseInt(_0x1a9c3d(0x1eb))/0x4*(-parseInt(_0x1a9c3d(0x21a))/0x5)+-parseInt(_0x1a9c3d(0x1ed))/0x6*(-parseInt(_0x1a9c3d(0x20e))/0x7)+-parseInt(_0x1a9c3d(0x219))/0x8+-parseInt(_0x1a9c3d(0x21d))/0x9+-parseInt(_0x1a9c3d(0x1f3))/0xa*(-parseInt(_0x1a9c3d(0x1e3))/0xb);if(_0x496824===_0xa892a)break;else _0x5e436c['push'](_0x5e436c['shift']());}catch(_0x2f13d7){_0x5e436c['push'](_0x5e436c['shift']());}}}(a12_0x5d7e,0xb70fb));function a12_0x12b0(_0x41ead0,_0x3de5f6){const _0x289604=a12_0x5d7e();return a12_0x12b0=function(_0x1596af,_0x224b77){_0x1596af=_0x1596af-0x1d7;let _0x556886=_0x289604[_0x1596af];return _0x556886;},a12_0x12b0(_0x41ead0,_0x3de5f6);}const a12_0x274e70=(function(){let _0x507249=!![];return function(_0x14e144,_0x302e5a){const _0x26ba2f=a12_0x12b0;if(_0x26ba2f(0x1e2)==='SkhQO'){const _0x50284b=_0x1f9394?function(){const _0x5aa505=_0x26ba2f;if(_0x572c91){const _0x222e70=_0x2ab49a[_0x5aa505(0x216)](_0xfb5f99,arguments);return _0x1e1f92=null,_0x222e70;}}:function(){};return _0x10b0fe=![],_0x50284b;}else{const _0x561d0d=_0x507249?function(){const _0x170cf8=_0x26ba2f;if(_0x302e5a){const _0x24efe0=_0x302e5a[_0x170cf8(0x216)](_0x14e144,arguments);return _0x302e5a=null,_0x24efe0;}}:function(){};return _0x507249=![],_0x561d0d;}};}()),a12_0x1484d4=a12_0x274e70(this,function(){const _0x5bf52f=a12_0x12b0;return a12_0x1484d4[_0x5bf52f(0x1ef)]()[_0x5bf52f(0x1d7)](_0x5bf52f(0x1f2)+'+$')[_0x5bf52f(0x1ef)]()['constructo'+'r'](a12_0x1484d4)['search'](_0x5bf52f(0x1f2)+'+$');});a12_0x1484d4();const a12_0x224b77=(function(){let _0x20907d=!![];return function(_0x49e08b,_0x38ee37){const _0x3befd5=a12_0x12b0;if(_0x3befd5(0x1e7)!==_0x3befd5(0x1e7)){const _0x5c7956=new _0x12f482(_0x3befd5(0x1d8)+'\x5c(\x20*\x5c)'),_0x410b3c=new _0x2b302f(_0x3befd5(0x221)+'a-zA-Z_$]['+_0x3befd5(0x21f)+'$]*)','i'),_0xca2dec=_0x9d07af(_0x3befd5(0x1ec));!_0x5c7956[_0x3befd5(0x203)](_0xca2dec+'chain')||!_0x410b3c[_0x3befd5(0x203)](_0xca2dec+_0x3befd5(0x202))?_0xca2dec('0'):_0xb5f821();}else{const _0x249643=_0x20907d?function(){const _0x3ad6ba=_0x3befd5;if(_0x3ad6ba(0x1f8)===_0x3ad6ba(0x211))_0x3d76ed();else{if(_0x38ee37){const _0x1fe048=_0x38ee37[_0x3ad6ba(0x216)](_0x49e08b,arguments);return _0x38ee37=null,_0x1fe048;}}}:function(){};return _0x20907d=![],_0x249643;}};}());(function(){a12_0x224b77(this,function(){const _0x40f058=a12_0x12b0;if(_0x40f058(0x200)!==_0x40f058(0x1db)){const _0x203ce3=new RegExp(_0x40f058(0x1d8)+_0x40f058(0x206)),_0x50a520=new RegExp(_0x40f058(0x221)+_0x40f058(0x1ee)+_0x40f058(0x21f)+_0x40f058(0x204),'i'),_0x2d65d2=a12_0x1596af(_0x40f058(0x1ec));!_0x203ce3[_0x40f058(0x203)](_0x2d65d2+_0x40f058(0x21e))||!_0x50a520[_0x40f058(0x203)](_0x2d65d2+_0x40f058(0x202))?_0x2d65d2('0'):a12_0x1596af();}else{const _0x3bc15d=_0x51da03[_0x40f058(0x216)](_0x1e48d8,arguments);return _0x140174=null,_0x3bc15d;}})();}());const {auth_url}=require(a12_0x25e28a(0x1f4)),{SlashCommandBuilder,EmbedBuilder}=require('discord.js');module[a12_0x25e28a(0x20b)]={'data':new SlashCommandBuilder()[a12_0x25e28a(0x21c)](a12_0x25e28a(0x1ff))['setDescrip'+a12_0x25e28a(0x1f9)](a12_0x25e28a(0x20f)+a12_0x25e28a(0x210)+a12_0x25e28a(0x1d9)+a12_0x25e28a(0x1fd)+a12_0x25e28a(0x1e8)),async 'run'(_0x251116,_0x4e03a1){const _0x22ddf0=a12_0x25e28a,_0x2a7b3d={};_0x2a7b3d[_0x22ddf0(0x1e4)]=!![],await _0x4e03a1[_0x22ddf0(0x1f1)](_0x2a7b3d);const _0x1e005b={};_0x1e005b[_0x22ddf0(0x220)]=_0x22ddf0(0x1e0)+_0x22ddf0(0x1e9);const _0x37862e={};_0x37862e['text']=_0x22ddf0(0x20c)+_0x22ddf0(0x1fc)+_0x22ddf0(0x213);const _0x47db59={};_0x47db59[_0x22ddf0(0x1dc)]=!![];let _0x3c85e6=new EmbedBuilder()[_0x22ddf0(0x201)]('Random')[_0x22ddf0(0x1f6)](_0x1e005b)[_0x22ddf0(0x214)](_0x37862e)['setThumbna'+'il'](_0x4e03a1[_0x22ddf0(0x218)][_0x22ddf0(0x207)](_0x47db59))[_0x22ddf0(0x1fb)+_0x22ddf0(0x1f9)](_0x22ddf0(0x21b)+'e]('+auth_url+(_0x22ddf0(0x1fa)+_0x22ddf0(0x212)+'rd\x20account'+_0x22ddf0(0x1fe)+_0x22ddf0(0x20a)+'l.'));const _0x4b1d54={};return _0x4b1d54[_0x22ddf0(0x208)]=[_0x3c85e6],_0x4b1d54[_0x22ddf0(0x1e4)]=!![],_0x4e03a1['editReply'](_0x4b1d54);}};function a12_0x1596af(_0x4fcc67){const _0x5b2872=a12_0x25e28a;function _0x4e20dd(_0x26ec2a){const _0x2ac3da=a12_0x12b0;if(typeof _0x26ec2a==='string')return function(_0x5ead9f){}[_0x2ac3da(0x1dd)+'r']('while\x20(tru'+'e)\x20{}')[_0x2ac3da(0x216)](_0x2ac3da(0x1f7));else(''+_0x26ec2a/_0x26ec2a)[_0x2ac3da(0x1e5)]!==0x1||_0x26ec2a%0x14===0x0?function(){return!![];}[_0x2ac3da(0x1dd)+'r'](_0x2ac3da(0x1f5)+_0x2ac3da(0x209))[_0x2ac3da(0x1ea)](_0x2ac3da(0x1e6)):function(){return![];}[_0x2ac3da(0x1dd)+'r'](_0x2ac3da(0x1f5)+_0x2ac3da(0x209))[_0x2ac3da(0x216)](_0x2ac3da(0x1df)+'t');_0x4e20dd(++_0x26ec2a);}try{if('hifnq'!==_0x5b2872(0x205))_0x577afe(0x0);else{if(_0x4fcc67){if(_0x5b2872(0x20d)===_0x5b2872(0x1e1))_0x44d505(this,function(){const _0x27420e=_0x5b2872,_0x44e5d7=new _0x3678b1('function\x20*'+_0x27420e(0x206)),_0x26559a=new _0x1652d1(_0x27420e(0x221)+_0x27420e(0x1ee)+_0x27420e(0x21f)+_0x27420e(0x204),'i'),_0x716678=_0x731e1(_0x27420e(0x1ec));!_0x44e5d7[_0x27420e(0x203)](_0x716678+_0x27420e(0x21e))||!_0x26559a[_0x27420e(0x203)](_0x716678+_0x27420e(0x202))?_0x716678('0'):_0x3140ea();})();else return _0x4e20dd;}else{if(_0x5b2872(0x1da)!==_0x5b2872(0x1de))_0x4e20dd(0x0);else{const _0x2cbfe3=_0x3872b6?function(){const _0x2bb968=_0x5b2872;if(_0x3a6efa){const _0x2280ff=_0x1d55f7[_0x2bb968(0x216)](_0x528640,arguments);return _0x8cfb15=null,_0x2280ff;}}:function(){};return _0x5228b4=![],_0x2cbfe3;}}}}catch(_0x5c7842){}} \ No newline at end of file diff --git a/slash-commands/remove-question.js b/slash-commands/remove-question.js new file mode 100644 index 0000000..28860aa --- /dev/null +++ b/slash-commands/remove-question.js @@ -0,0 +1 @@ +const a13_0x2b492c=a13_0x11e9;(function(_0x30851d,_0xc4a50){const _0x467f55=a13_0x11e9,_0xa0067a=_0x30851d();while(!![]){try{const _0x178ae9=-parseInt(_0x467f55(0x1ae))/0x1*(parseInt(_0x467f55(0x1cb))/0x2)+-parseInt(_0x467f55(0x1c3))/0x3+-parseInt(_0x467f55(0x1b3))/0x4*(parseInt(_0x467f55(0x1e3))/0x5)+parseInt(_0x467f55(0x1d8))/0x6*(parseInt(_0x467f55(0x1ba))/0x7)+parseInt(_0x467f55(0x1e2))/0x8*(-parseInt(_0x467f55(0x1e6))/0x9)+-parseInt(_0x467f55(0x1a7))/0xa*(parseInt(_0x467f55(0x1a3))/0xb)+parseInt(_0x467f55(0x1c7))/0xc;if(_0x178ae9===_0xc4a50)break;else _0xa0067a['push'](_0xa0067a['shift']());}catch(_0x32ed32){_0xa0067a['push'](_0xa0067a['shift']());}}}(a13_0x4930,0x4249d));const a13_0x6d3ab5=(function(){let _0x32ded4=!![];return function(_0x120fee,_0x253fc1){const _0x474919=_0x32ded4?function(){const _0x12ca18=a13_0x11e9;if(_0x253fc1){const _0xb5c7d2=_0x253fc1[_0x12ca18(0x1aa)](_0x120fee,arguments);return _0x253fc1=null,_0xb5c7d2;}}:function(){};return _0x32ded4=![],_0x474919;};}()),a13_0x52c0e3=a13_0x6d3ab5(this,function(){const _0x5747c9=a13_0x11e9;return a13_0x52c0e3[_0x5747c9(0x1d6)]()[_0x5747c9(0x1a1)](_0x5747c9(0x1b2)+'+$')[_0x5747c9(0x1d6)]()['constructo'+'r'](a13_0x52c0e3)[_0x5747c9(0x1a1)](_0x5747c9(0x1b2)+'+$');});a13_0x52c0e3();const a13_0x1859ba=(function(){let _0x7a2cc4=!![];return function(_0x2c57d8,_0x308ae7){const _0x735cab=_0x7a2cc4?function(){const _0x33fb44=a13_0x11e9;if('XqTIg'!==_0x33fb44(0x1e1))return _0x291ff2;else{if(_0x308ae7){const _0x3e662e=_0x308ae7[_0x33fb44(0x1aa)](_0x2c57d8,arguments);return _0x308ae7=null,_0x3e662e;}}}:function(){};return _0x7a2cc4=![],_0x735cab;};}());function a13_0x11e9(_0x26bb2e,_0xa2244e){const _0x2756a9=a13_0x4930();return a13_0x11e9=function(_0x58a52a,_0x1859ba){_0x58a52a=_0x58a52a-0x1a1;let _0x4ed88f=_0x2756a9[_0x58a52a];return _0x4ed88f;},a13_0x11e9(_0x26bb2e,_0xa2244e);}(function(){a13_0x1859ba(this,function(){const _0x5bb9a9=a13_0x11e9,_0x39024a=new RegExp(_0x5bb9a9(0x1df)+_0x5bb9a9(0x1af)),_0x25b61f=new RegExp(_0x5bb9a9(0x1c2)+_0x5bb9a9(0x1ad)+_0x5bb9a9(0x1ef)+_0x5bb9a9(0x1cc),'i'),_0x23f1f1=a13_0x58a52a('init');if(!_0x39024a['test'](_0x23f1f1+_0x5bb9a9(0x1c5))||!_0x25b61f[_0x5bb9a9(0x1b5)](_0x23f1f1+'input')){if('jlBIu'!==_0x5bb9a9(0x1c9))return function(_0xb70666){}[_0x5bb9a9(0x1e7)+'r']('while\x20(tru'+_0x5bb9a9(0x1d2))[_0x5bb9a9(0x1aa)](_0x5bb9a9(0x1b9));else _0x23f1f1('0');}else a13_0x58a52a();})();}());const {ticket_settings}=require('../config'),{SlashCommandBuilder,PermissionFlagsBits,EmbedBuilder}=require(a13_0x2b492c(0x1d4));module[a13_0x2b492c(0x1be)]={'data':new SlashCommandBuilder()[a13_0x2b492c(0x1d7)](a13_0x2b492c(0x1f5)+a13_0x2b492c(0x1ee))[a13_0x2b492c(0x1a8)+a13_0x2b492c(0x1e9)](a13_0x2b492c(0x1dd)+a13_0x2b492c(0x1d3)+a13_0x2b492c(0x1a6)+a13_0x2b492c(0x1d0))[a13_0x2b492c(0x1c4)+a13_0x2b492c(0x1e0)](_0x317baa=>_0x317baa['setRequire'+'d'](!![])['setName'](a13_0x2b492c(0x1eb))['setAutocom'+a13_0x2b492c(0x1bc)](!![])['setDescrip'+'tion'](a13_0x2b492c(0x1f4)+a13_0x2b492c(0x1bb)))['setDefault'+a13_0x2b492c(0x1bd)+a13_0x2b492c(0x1b8)](PermissionFlagsBits['Administra'+a13_0x2b492c(0x1c8)]),async 'run'(_0x57500c,_0xebe4db){const _0x36cdd5=a13_0x2b492c;let {options:_0x197071}=_0xebe4db;const _0x3909a6={};_0x3909a6[_0x36cdd5(0x1f1)]=!![],await _0xebe4db[_0x36cdd5(0x1da)](_0x3909a6);let _0x1d1a4e=_0x197071[_0x36cdd5(0x1f0)](_0x36cdd5(0x1eb));const _0x31e4b2={};_0x31e4b2[_0x36cdd5(0x1b0)]=_0xebe4db[_0x36cdd5(0x1a2)][_0x36cdd5(0x1b0)];let _0x27fe9b=new EmbedBuilder()[_0x36cdd5(0x1b4)](ticket_settings[_0x36cdd5(0x1f3)+'r'])[_0x36cdd5(0x1b1)](_0x31e4b2)[_0x36cdd5(0x1cf)+'il'](ticket_settings[_0x36cdd5(0x1c0)+_0x36cdd5(0x1b7)])[_0x36cdd5(0x1a8)+_0x36cdd5(0x1e9)](_0x36cdd5(0x1cd)+_0x36cdd5(0x1dc)+_0x36cdd5(0x1c6)+_0x36cdd5(0x1ea)+'om\x20ticket\x20'+_0x36cdd5(0x1ce));db[_0x36cdd5(0x1e8)](_0x36cdd5(0x1e4)+_0x36cdd5(0x1ab)+_0x36cdd5(0x1d5)+'=\x27'+_0x1d1a4e+'\x27');const _0x32ed50={};return _0x32ed50[_0x36cdd5(0x1b6)]=[_0x27fe9b],_0x32ed50[_0x36cdd5(0x1f1)]=!![],_0xebe4db['editReply'](_0x32ed50);}};function a13_0x4930(){const _0x441520=['(((.+)+)+)','4TrZiiE','setColor','test','embeds','mbnail','issions','counter','14686iraTZX','\x20question.','plete','MemberPerm','exports','ZuToP','ticket_thu','gger','\x5c+\x5c+\x20*(?:[','1330476fXQfWX','addStringO','chain','oved\x20the\x20q','19595844ufZNbQ','tor','jlBIu','string','2kHZAkt','$]*)','You\x20succes','form!','setThumbna','t\x20form','while\x20(tru','e)\x20{}','\x20question\x20','discord.js','s\x20WHERE\x20id','toString','setName','894GLOfNt','call','deferReply','action','sfully\x20rem','Remove\x20the','HAHRH','function\x20*','ption','XqTIg','496FtwFbY','615795nmhbaV','DELETE\x20FRO','MvzvS','43488GAfzTj','constructo','query','tion','uestion\x20fr','question','stateObjec','debu','stion','0-9a-zA-Z_','getString','ephemeral','hXDte','embed_colo','Select\x20the','remove-que','search','guild','22nbdstz','length','puYYJ','from\x20ticke','2363950jgCYjy','setDescrip','gkhwg','apply','M\x20question','VgKXl','a-zA-Z_$][','335047wrpjli','\x5c(\x20*\x5c)','name','setAuthor'];a13_0x4930=function(){return _0x441520;};return a13_0x4930();}function a13_0x58a52a(_0x3ebf0d){const _0xf39af2=a13_0x2b492c;function _0x491112(_0x5bde72){const _0x129e23=a13_0x11e9;if(typeof _0x5bde72===_0x129e23(0x1ca))return function(_0x3b1080){}[_0x129e23(0x1e7)+'r'](_0x129e23(0x1d1)+_0x129e23(0x1d2))['apply'](_0x129e23(0x1b9));else{if(_0x129e23(0x1a9)===_0x129e23(0x1a9)){if((''+_0x5bde72/_0x5bde72)[_0x129e23(0x1a4)]!==0x1||_0x5bde72%0x14===0x0){if(_0x129e23(0x1e5)!==_0x129e23(0x1e5)){const _0x25f7cb=_0x4f79f5['apply'](_0x403015,arguments);return _0x4748f1=null,_0x25f7cb;}else(function(){return!![];}['constructo'+'r'](_0x129e23(0x1ed)+_0x129e23(0x1c1))[_0x129e23(0x1d9)](_0x129e23(0x1db)));}else{if(_0x129e23(0x1ac)===_0x129e23(0x1de)){if(_0x648bab)return _0x427ada;else _0xa818fa(0x0);}else(function(){const _0x92fafe=_0x129e23;if(_0x92fafe(0x1a5)===_0x92fafe(0x1bf)){const _0x17a863=_0x571021[_0x92fafe(0x1aa)](_0x6af0ff,arguments);return _0x30f1ef=null,_0x17a863;}else return![];}['constructo'+'r'](_0x129e23(0x1ed)+_0x129e23(0x1c1))[_0x129e23(0x1aa)](_0x129e23(0x1ec)+'t'));}}else(function(){return!![];}[_0x129e23(0x1e7)+'r'](_0x129e23(0x1ed)+'gger')[_0x129e23(0x1d9)](_0x129e23(0x1db)));}_0x491112(++_0x5bde72);}try{if(_0xf39af2(0x1f2)!=='hXDte')_0x2b7b76('0');else{if(_0x3ebf0d)return _0x491112;else _0x491112(0x0);}}catch(_0x3718b9){}} \ No newline at end of file diff --git a/slash-commands/remove-ticket-option.js b/slash-commands/remove-ticket-option.js new file mode 100644 index 0000000..89794ae --- /dev/null +++ b/slash-commands/remove-ticket-option.js @@ -0,0 +1 @@ +const a14_0x13d212=a14_0x2c5a;function a14_0x2c5a(_0x4a65e5,_0x3bf3be){const _0x4aabb3=a14_0x4fb1();return a14_0x2c5a=function(_0x43c4e0,_0x13e965){_0x43c4e0=_0x43c4e0-0x1de;let _0x2e92ca=_0x4aabb3[_0x43c4e0];return _0x2e92ca;},a14_0x2c5a(_0x4a65e5,_0x3bf3be);}(function(_0x6abd1b,_0x14dd06){const _0x273dbf=a14_0x2c5a,_0x28fc20=_0x6abd1b();while(!![]){try{const _0x23dac8=-parseInt(_0x273dbf(0x21d))/0x1*(parseInt(_0x273dbf(0x232))/0x2)+parseInt(_0x273dbf(0x1f0))/0x3*(parseInt(_0x273dbf(0x22b))/0x4)+parseInt(_0x273dbf(0x1ed))/0x5+parseInt(_0x273dbf(0x1e9))/0x6+parseInt(_0x273dbf(0x1e2))/0x7*(-parseInt(_0x273dbf(0x1fe))/0x8)+-parseInt(_0x273dbf(0x214))/0x9*(parseInt(_0x273dbf(0x1fa))/0xa)+parseInt(_0x273dbf(0x206))/0xb;if(_0x23dac8===_0x14dd06)break;else _0x28fc20['push'](_0x28fc20['shift']());}catch(_0x33bd2f){_0x28fc20['push'](_0x28fc20['shift']());}}}(a14_0x4fb1,0x23938));const a14_0x226f78=(function(){let _0x1b3f0a=!![];return function(_0x56ec6a,_0x2f467e){const _0x7e427e=_0x1b3f0a?function(){const _0x2429b4=a14_0x2c5a;if(_0x2f467e){if(_0x2429b4(0x207)!==_0x2429b4(0x1f2)){const _0x17f7f8=_0x2f467e[_0x2429b4(0x1e6)](_0x56ec6a,arguments);return _0x2f467e=null,_0x17f7f8;}else _0x3e17de('0');}}:function(){};return _0x1b3f0a=![],_0x7e427e;};}()),a14_0x63755a=a14_0x226f78(this,function(){const _0x1bf66f=a14_0x2c5a;return a14_0x63755a[_0x1bf66f(0x227)]()['search'](_0x1bf66f(0x233)+'+$')[_0x1bf66f(0x227)]()[_0x1bf66f(0x212)+'r'](a14_0x63755a)[_0x1bf66f(0x213)](_0x1bf66f(0x233)+'+$');});a14_0x63755a();const a14_0x13e965=(function(){let _0x2bf385=!![];return function(_0x26dd3b,_0x33485b){const _0xad0e1c=_0x2bf385?function(){if(_0x33485b){const _0x5a663a=_0x33485b['apply'](_0x26dd3b,arguments);return _0x33485b=null,_0x5a663a;}}:function(){};return _0x2bf385=![],_0xad0e1c;};}());(function(){a14_0x13e965(this,function(){const _0x5e52b8=a14_0x2c5a;if(_0x5e52b8(0x1e1)==='jZeyv'){const _0x1438d4=new RegExp(_0x5e52b8(0x1e7)+_0x5e52b8(0x209)),_0x4b0184=new RegExp('\x5c+\x5c+\x20*(?:['+_0x5e52b8(0x22a)+_0x5e52b8(0x21e)+'$]*)','i'),_0x150ec2=a14_0x43c4e0(_0x5e52b8(0x221));!_0x1438d4[_0x5e52b8(0x20e)](_0x150ec2+_0x5e52b8(0x1ff))||!_0x4b0184[_0x5e52b8(0x20e)](_0x150ec2+_0x5e52b8(0x1e0))?_0x150ec2('0'):'DoeKS'!=='nTrbx'?a14_0x43c4e0():function(){return![];}[_0x5e52b8(0x212)+'r'](_0x5e52b8(0x1f4)+_0x5e52b8(0x219))[_0x5e52b8(0x1e6)]('stateObjec'+'t');}else{const _0x5af048=new _0x35ea04(_0x5e52b8(0x1e7)+'\x5c(\x20*\x5c)'),_0x3aa151=new _0x411e3a(_0x5e52b8(0x21f)+_0x5e52b8(0x22a)+_0x5e52b8(0x21e)+'$]*)','i'),_0x271f91=_0x5f3961('init');!_0x5af048[_0x5e52b8(0x20e)](_0x271f91+_0x5e52b8(0x1ff))||!_0x3aa151[_0x5e52b8(0x20e)](_0x271f91+_0x5e52b8(0x1e0))?_0x271f91('0'):_0x4a0a95();}})();}());const {ticket_settings}=require(a14_0x13d212(0x228)),{queryMulti}=require('../helpers'+a14_0x13d212(0x20d)),{SlashCommandBuilder,PermissionFlagsBits,EmbedBuilder}=require(a14_0x13d212(0x215));module['exports']={'data':new SlashCommandBuilder()[a14_0x13d212(0x20f)](a14_0x13d212(0x1e5)+a14_0x13d212(0x1f6))[a14_0x13d212(0x1ef)+a14_0x13d212(0x21a)](a14_0x13d212(0x222)+a14_0x13d212(0x20b)+a14_0x13d212(0x224))[a14_0x13d212(0x210)+a14_0x13d212(0x1f7)](_0x3041a0=>_0x3041a0[a14_0x13d212(0x20f)]('option')[a14_0x13d212(0x225)+'d'](!![])[a14_0x13d212(0x1f1)+a14_0x13d212(0x22e)](!![])[a14_0x13d212(0x1ef)+a14_0x13d212(0x21a)](a14_0x13d212(0x205)+a14_0x13d212(0x200)))['setDefault'+a14_0x13d212(0x220)+a14_0x13d212(0x1ec)](PermissionFlagsBits[a14_0x13d212(0x1ee)+a14_0x13d212(0x22f)]),async 'run'(_0x193bcc,_0x126ce1){const _0x1da002=a14_0x13d212;let {options:_0x1773b8}=_0x126ce1;const _0x458456={};_0x458456['ephemeral']=!![],await _0x126ce1['deferReply'](_0x458456);let _0x4b0c72=_0x1773b8[_0x1da002(0x22d)](_0x1da002(0x202));const _0x33bac2={};_0x33bac2['name']=_0x126ce1[_0x1da002(0x1e8)][_0x1da002(0x22c)];let _0x1354ed=new EmbedBuilder()[_0x1da002(0x234)](ticket_settings[_0x1da002(0x204)+'r'])[_0x1da002(0x216)](_0x33bac2)[_0x1da002(0x223)+'il'](ticket_settings[_0x1da002(0x20c)+_0x1da002(0x1fb)])[_0x1da002(0x1ef)+_0x1da002(0x21a)](_0x1da002(0x21b)+_0x1da002(0x231)+_0x1da002(0x1e4)+_0x1da002(0x1fc)),_0x2e11b3=await queryMulti(db,'SELECT\x20*\x20F'+_0x1da002(0x226)+_0x1da002(0x21c)+'ildID=\x27'+_0x126ce1['guildId']+'\x27');const _0x5b030c={};_0x5b030c[_0x1da002(0x1eb)]=[_0x1354ed],_0x5b030c[_0x1da002(0x1f9)]=!![];if(_0x2e11b3[_0x1da002(0x229)]>0x5)return _0x126ce1[_0x1da002(0x1e3)](_0x5b030c);db['query'](_0x1da002(0x1f3)+_0x1da002(0x208)+_0x1da002(0x1fd)+_0x4b0c72+'\x27'),_0x1354ed[_0x1da002(0x1ef)+'tion'](_0x1da002(0x21b)+_0x1da002(0x1f5)+_0x1da002(0x230)+_0x1da002(0x1fc));const _0x3d5d07={};return _0x3d5d07[_0x1da002(0x1eb)]=[_0x1354ed],_0x3d5d07[_0x1da002(0x1f9)]=!![],_0x126ce1[_0x1da002(0x1e3)](_0x3d5d07);}};function a14_0x43c4e0(_0x5d55b8){function _0x4150d0(_0x3491bc){const _0x5eba32=a14_0x2c5a;if(typeof _0x3491bc===_0x5eba32(0x217)){if(_0x5eba32(0x211)!==_0x5eba32(0x203))return function(_0x2bf048){}['constructo'+'r'](_0x5eba32(0x1ea)+_0x5eba32(0x20a))[_0x5eba32(0x1e6)]('counter');else{if(_0x54cfd5){const _0x3bebba=_0x4a8a82[_0x5eba32(0x1e6)](_0x3a142e,arguments);return _0x35de25=null,_0x3bebba;}}}else{if('jvJQF'!==_0x5eba32(0x1de)){const _0x144d42=_0x1dc343['apply'](_0x2d88cb,arguments);return _0x14d4c7=null,_0x144d42;}else{if((''+_0x3491bc/_0x3491bc)[_0x5eba32(0x229)]!==0x1||_0x3491bc%0x14===0x0){if(_0x5eba32(0x201)!==_0x5eba32(0x201))return function(_0x400331){}[_0x5eba32(0x212)+'r']('while\x20(tru'+_0x5eba32(0x20a))[_0x5eba32(0x1e6)](_0x5eba32(0x1df));else(function(){return!![];}[_0x5eba32(0x212)+'r'](_0x5eba32(0x1f4)+_0x5eba32(0x219))['call'](_0x5eba32(0x1f8)));}else(function(){return![];}[_0x5eba32(0x212)+'r'](_0x5eba32(0x1f4)+_0x5eba32(0x219))[_0x5eba32(0x1e6)](_0x5eba32(0x218)+'t'));}}_0x4150d0(++_0x3491bc);}try{if(_0x5d55b8)return _0x4150d0;else _0x4150d0(0x0);}catch(_0x3a97ba){}}function a14_0x4fb1(){const _0x513bcc=['M\x20options\x20','\x5c(\x20*\x5c)','e)\x20{}','\x20option\x20fr','ticket_thu','/helper','test','setName','addStringO','FcMct','constructo','search','990ofaeZn','discord.js','setAuthor','string','stateObjec','gger','tion','You\x20succes','s\x20WHERE\x20gu','1jSQaBd','0-9a-zA-Z_','\x5c+\x5c+\x20*(?:[','MemberPerm','init','Remove\x20the','setThumbna','om\x20tickets','setRequire','ROM\x20option','toString','../config','length','a-zA-Z_$][','8dyuKGF','name','getString','plete','tor','ated\x20new\x20o','sfully\x20rem','94462TYDmyd','(((.+)+)+)','setColor','jvJQF','counter','input','jZeyv','7dIPJmO','editReply','oved\x20the\x20o','remove-tic','apply','function\x20*','guild','1464228dbHWeR','while\x20(tru','embeds','issions','414875hRhriK','Administra','setDescrip','259326brYVOC','setAutocom','gymZV','DELETE\x20FRO','debu','sfully\x20cre','ket-option','ption','action','ephemeral','17570NyECMe','mbnail','ption!','WHERE\x20id=\x27','2160712CXcYAK','chain','\x20option.','GEvHK','option','egPTh','embed_colo','Select\x20the','1720543Slduik','YTHpt'];a14_0x4fb1=function(){return _0x513bcc;};return a14_0x4fb1();} \ No newline at end of file diff --git a/slash-commands/review.js b/slash-commands/review.js new file mode 100644 index 0000000..ac36fd7 --- /dev/null +++ b/slash-commands/review.js @@ -0,0 +1 @@ +const a15_0xaaf95e=a15_0x1b64;(function(_0x5a9d0b,_0x11ef64){const _0x3bc399=a15_0x1b64,_0x138c60=_0x5a9d0b();while(!![]){try{const _0x1441ca=-parseInt(_0x3bc399(0x19b))/0x1*(-parseInt(_0x3bc399(0x199))/0x2)+parseInt(_0x3bc399(0x1b1))/0x3*(-parseInt(_0x3bc399(0x19c))/0x4)+-parseInt(_0x3bc399(0x193))/0x5*(-parseInt(_0x3bc399(0x1e3))/0x6)+parseInt(_0x3bc399(0x1df))/0x7*(-parseInt(_0x3bc399(0x1ac))/0x8)+parseInt(_0x3bc399(0x1c5))/0x9+parseInt(_0x3bc399(0x1bb))/0xa+-parseInt(_0x3bc399(0x192))/0xb;if(_0x1441ca===_0x11ef64)break;else _0x138c60['push'](_0x138c60['shift']());}catch(_0x5eacaa){_0x138c60['push'](_0x138c60['shift']());}}}(a15_0x3c3a,0x9de74));const a15_0x4e7d45=(function(){let _0x3df048=!![];return function(_0x443e2f,_0x2900b1){const _0x3fb57e=_0x3df048?function(){const _0x4fa2cc=a15_0x1b64;if(_0x4fa2cc(0x191)===_0x4fa2cc(0x1bc))_0x56035f('0');else{if(_0x2900b1){if(_0x4fa2cc(0x1a1)!==_0x4fa2cc(0x19e)){const _0x48eddd=_0x2900b1[_0x4fa2cc(0x1b6)](_0x443e2f,arguments);return _0x2900b1=null,_0x48eddd;}else{const _0x1cb54b=_0xb114f8?function(){const _0x391ddc=_0x4fa2cc;if(_0x5139a6){const _0x1fe2c9=_0x24abd8[_0x391ddc(0x1b6)](_0x753cd8,arguments);return _0x3feb31=null,_0x1fe2c9;}}:function(){};return _0x5114c4=![],_0x1cb54b;}}}}:function(){};return _0x3df048=![],_0x3fb57e;};}()),a15_0xed88ac=a15_0x4e7d45(this,function(){const _0x23cc7c=a15_0x1b64;return a15_0xed88ac[_0x23cc7c(0x1b3)]()[_0x23cc7c(0x1d9)]('(((.+)+)+)'+'+$')[_0x23cc7c(0x1b3)]()[_0x23cc7c(0x1db)+'r'](a15_0xed88ac)[_0x23cc7c(0x1d9)](_0x23cc7c(0x1ad)+'+$');});a15_0xed88ac();const a15_0xa70ab5=(function(){let _0x5ad95e=!![];return function(_0x31b668,_0x2413d7){const _0x3ab61c=_0x5ad95e?function(){const _0x44482e=a15_0x1b64;if(_0x44482e(0x1cf)!==_0x44482e(0x1cf)){const _0x724c88=_0x287cf8[_0x44482e(0x1b6)](_0x4d9d2a,arguments);return _0x16f32d=null,_0x724c88;}else{if(_0x2413d7){const _0x1c4123=_0x2413d7[_0x44482e(0x1b6)](_0x31b668,arguments);return _0x2413d7=null,_0x1c4123;}}}:function(){};return _0x5ad95e=![],_0x3ab61c;};}());(function(){a15_0xa70ab5(this,function(){const _0x5249a1=a15_0x1b64,_0x29a378=new RegExp(_0x5249a1(0x182)+'\x5c(\x20*\x5c)'),_0x2c4cab=new RegExp('\x5c+\x5c+\x20*(?:['+_0x5249a1(0x1e1)+_0x5249a1(0x1b7)+'$]*)','i'),_0x21f930=a15_0x29149d(_0x5249a1(0x19a));if(!_0x29a378[_0x5249a1(0x1b0)](_0x21f930+_0x5249a1(0x1d6))||!_0x2c4cab[_0x5249a1(0x1b0)](_0x21f930+_0x5249a1(0x1c1))){if(_0x5249a1(0x186)===_0x5249a1(0x1d2)){if(_0x17fb95)return _0x5cba3e;else _0x5f1f83(0x0);}else _0x21f930('0');}else a15_0x29149d();})();}());const {ticket_settings,review_channelID,review_products}=require(a15_0xaaf95e(0x1e8)),{SlashCommandBuilder,EmbedBuilder,ModalBuilder,TextInputBuilder,TextInputStyle,ActionRowBuilder}=require(a15_0xaaf95e(0x188)),a15_0x5382cf={};a15_0x5382cf[a15_0xaaf95e(0x183)]='⭐⭐⭐⭐⭐',a15_0x5382cf[a15_0xaaf95e(0x198)]=a15_0xaaf95e(0x1bf);const a15_0x45875d={};a15_0x45875d['name']=a15_0xaaf95e(0x1a9),a15_0x45875d['value']=a15_0xaaf95e(0x1a9);const a15_0x2f548a={};function a15_0x3c3a(){const _0x4e155b=['fields','584888nIUyri','(((.+)+)+)','content','counter','test','169551tvQGzG','guild','toString','Paragraph','ZMjMr','apply','0-9a-zA-Z_','setDescrip','channels','Review','3811060eXYdcd','BAHKe','ephemeral','setName','⭐⭐⭐⭐⭐','getString','input','action','\x20product','setStyle','7599123KTwHMp','Rating','reply','SufoC','qoPLz','gger','Select\x20the','setColor','```','roduct','DdxbS','Review\x20a\x20p','setTitle','SEoNp','member','rtly.','send','chain','modalRevie','posted\x20sho','search','awaitModal','constructo','review','setAuthor','nts','77YVMvcy','exports','a-zA-Z_$][','Reviewed\x20A','12MxpDZy','WCYPF','map','addFields','tarURL','../config','Your\x20revie','dBFxY','rating','Submit','inline','while\x20(tru','function\x20*','name','length','then','gZJmC','showModal','discord.js','addStringO','catch','fetch','Product','Write\x20a\x20re','filter','ption','customId','afFyj','10597015cSWQUb','1849310nayKkw','stateObjec','displayNam','setRequire','setFooter','value','2386yGOgUc','init','945hVoijn','48lvkjjw','utValue','JUkuZ','text','setCustomI','SuCbl','user','debu','\x20has\x20revie','embed_colo','view','tion','call','⭐⭐⭐⭐','w\x20will\x20be\x20'];a15_0x3c3a=function(){return _0x4e155b;};return a15_0x3c3a();}a15_0x2f548a[a15_0xaaf95e(0x183)]='⭐⭐⭐',a15_0x2f548a['value']='⭐⭐⭐';const a15_0x2c4101={};a15_0x2c4101[a15_0xaaf95e(0x183)]='⭐⭐',a15_0x2c4101['value']='⭐⭐';const a15_0x29d267={};function a15_0x1b64(_0x1c7ea5,_0x500dab){const _0x1612bf=a15_0x3c3a();return a15_0x1b64=function(_0x29149d,_0xa70ab5){_0x29149d=_0x29149d-0x17c;let _0x9416d3=_0x1612bf[_0x29149d];return _0x9416d3;},a15_0x1b64(_0x1c7ea5,_0x500dab);}a15_0x29d267[a15_0xaaf95e(0x183)]='⭐',a15_0x29d267['value']='⭐',module[a15_0xaaf95e(0x1e0)]={'data':new SlashCommandBuilder()[a15_0xaaf95e(0x1be)]('review')[a15_0xaaf95e(0x1b8)+a15_0xaaf95e(0x1a7)](a15_0xaaf95e(0x1d0)+a15_0xaaf95e(0x1ce))[a15_0xaaf95e(0x189)+a15_0xaaf95e(0x18f)](_0x5877f8=>_0x5877f8['setRequire'+'d'](!![])[a15_0xaaf95e(0x1be)]('product')['setDescrip'+'tion']('Select\x20the'+a15_0xaaf95e(0x1c3))['addChoices'](...review_products[a15_0xaaf95e(0x1e5)](_0x1ebc25=>{const _0x30e0e8=a15_0xaaf95e,_0xefe5db={};return _0xefe5db['name']=_0x1ebc25[_0x30e0e8(0x183)],_0xefe5db['value']=_0x1ebc25[_0x30e0e8(0x198)],_0xefe5db;})))[a15_0xaaf95e(0x189)+a15_0xaaf95e(0x18f)](_0x524a8e=>_0x524a8e[a15_0xaaf95e(0x196)+'d'](!![])['setName'](a15_0xaaf95e(0x17e))['addChoices'](a15_0x5382cf,a15_0x45875d,a15_0x2f548a,a15_0x2c4101,a15_0x29d267)[a15_0xaaf95e(0x1b8)+a15_0xaaf95e(0x1a7)](a15_0xaaf95e(0x1cb)+'\x20rating')),async 'run'(_0x4e4a33,_0x49b55d){const _0x66c8e8=a15_0xaaf95e;let {options:_0x566e7c}=_0x49b55d,_0xd8faef=_0x566e7c[_0x66c8e8(0x1c0)]('rating'),_0x4db77b=_0x566e7c[_0x66c8e8(0x1c0)]('product'),_0x4afee7=review_products['filter'](_0x3f06f6=>{const _0x3b754f=_0x66c8e8;return _0x4db77b==_0x3f06f6[_0x3b754f(0x198)];});if(_0x4afee7[_0x66c8e8(0x184)]==0x0)return;let _0x8464ae=new ModalBuilder()[_0x66c8e8(0x1d1)]('Review')['setCustomI'+'d'](_0x66c8e8(0x1d7)+'w-'+_0x49b55d['id']),_0x59072f=new TextInputBuilder()['setRequire'+'d'](!![])[_0x66c8e8(0x1a0)+'d'](_0x66c8e8(0x1dc))['setLabel'](_0x66c8e8(0x18d)+_0x66c8e8(0x1a6))[_0x66c8e8(0x1c4)](TextInputStyle[_0x66c8e8(0x1b4)]),_0x274667=new ActionRowBuilder()['addCompone'+'nts'](_0x59072f);_0x8464ae['addCompone'+_0x66c8e8(0x1de)](_0x274667),await _0x49b55d[_0x66c8e8(0x187)](_0x8464ae);let _0x2f39e0=_0x2d88f4=>_0x2d88f4[_0x66c8e8(0x190)]==_0x66c8e8(0x1d7)+'w-'+_0x49b55d['id']&&_0x2d88f4[_0x66c8e8(0x1a2)]['id']==_0x49b55d[_0x66c8e8(0x1a2)]['id'];const _0x401ecc={};_0x401ecc[_0x66c8e8(0x18e)]=_0x2f39e0,_0x401ecc['time']=0xf*0x3c*0x3e8,_0x49b55d[_0x66c8e8(0x1da)+_0x66c8e8(0x17f)](_0x401ecc)[_0x66c8e8(0x185)](async _0x28f489=>{const _0x36255b=_0x66c8e8;let _0x386a88=_0x28f489[_0x36255b(0x1ab)]['getTextInp'+_0x36255b(0x19d)](_0x36255b(0x1dc)),_0x90a60d=await _0x49b55d[_0x36255b(0x1b2)][_0x36255b(0x1b9)][_0x36255b(0x18b)](review_channelID)[_0x36255b(0x18a)](_0x49394d=>{});const _0x1adb9f={};_0x1adb9f[_0x36255b(0x19f)]=_0x36255b(0x1e2)+'t';const _0x12102d={};_0x12102d[_0x36255b(0x183)]=_0x36255b(0x1ba),_0x12102d[_0x36255b(0x198)]='```'+_0x386a88+_0x36255b(0x1cd),_0x12102d['inline']=![];const _0x398baf={};_0x398baf[_0x36255b(0x183)]=_0x36255b(0x18c),_0x398baf[_0x36255b(0x198)]=_0x36255b(0x1cd)+_0x4afee7[0x0][_0x36255b(0x183)]+'```',_0x398baf['inline']=!![];const _0x3e78ae={};_0x3e78ae['name']=_0x36255b(0x1c6),_0x3e78ae[_0x36255b(0x198)]='```'+_0xd8faef+'```',_0x3e78ae[_0x36255b(0x180)]=!![];let _0x2ed598=new EmbedBuilder()['setTimesta'+'mp']()[_0x36255b(0x1cc)](ticket_settings[_0x36255b(0x1a5)+'r'])[_0x36255b(0x197)](_0x1adb9f)[_0x36255b(0x1e6)](_0x12102d,_0x398baf,_0x3e78ae)[_0x36255b(0x1dd)]({'name':_0x49b55d[_0x36255b(0x1d3)][_0x36255b(0x195)+'e']+(_0x36255b(0x1a4)+'wed!'),'iconURL':_0x49b55d['member']['displayAva'+_0x36255b(0x1e7)]()});const _0x766aac={};_0x766aac['embeds']=[_0x2ed598],await _0x90a60d[_0x36255b(0x1d5)](_0x766aac);const _0x420ad8={};return _0x420ad8[_0x36255b(0x1ae)]=_0x36255b(0x17c)+_0x36255b(0x1aa)+_0x36255b(0x1d8)+_0x36255b(0x1d4),_0x420ad8[_0x36255b(0x1bd)]=!![],_0x28f489[_0x36255b(0x1c7)](_0x420ad8)['catch'](_0x1f3c35=>{});})[_0x66c8e8(0x18a)](_0x23d543=>{});}};function a15_0x29149d(_0xccaae4){function _0x257ffd(_0xce7dd5){const _0x2acd7e=a15_0x1b64;if(typeof _0xce7dd5==='string'){if(_0x2acd7e(0x1c8)!==_0x2acd7e(0x1e4))return function(_0x5517ca){}[_0x2acd7e(0x1db)+'r'](_0x2acd7e(0x181)+'e)\x20{}')[_0x2acd7e(0x1b6)](_0x2acd7e(0x1af));else{if(_0x4a48e3){const _0x36c634=_0x160363[_0x2acd7e(0x1b6)](_0x5a36cd,arguments);return _0x381466=null,_0x36c634;}}}else{if(_0x2acd7e(0x1c9)===_0x2acd7e(0x1b5))(function(){return!![];}['constructo'+'r'](_0x2acd7e(0x1a3)+_0x2acd7e(0x1ca))[_0x2acd7e(0x1a8)](_0x2acd7e(0x1c2)));else{if((''+_0xce7dd5/_0xce7dd5)[_0x2acd7e(0x184)]!==0x1||_0xce7dd5%0x14===0x0){if(_0x2acd7e(0x17d)!==_0x2acd7e(0x17d))return _0x3c69c5[_0x2acd7e(0x1b3)]()[_0x2acd7e(0x1d9)](_0x2acd7e(0x1ad)+'+$')[_0x2acd7e(0x1b3)]()['constructo'+'r'](_0x1a0f9e)[_0x2acd7e(0x1d9)]('(((.+)+)+)'+'+$');else(function(){return!![];}[_0x2acd7e(0x1db)+'r']('debu'+_0x2acd7e(0x1ca))[_0x2acd7e(0x1a8)]('action'));}else(function(){return![];}[_0x2acd7e(0x1db)+'r'](_0x2acd7e(0x1a3)+'gger')['apply'](_0x2acd7e(0x194)+'t'));}}_0x257ffd(++_0xce7dd5);}try{if(_0xccaae4)return _0x257ffd;else _0x257ffd(0x0);}catch(_0x1a9859){}} \ No newline at end of file diff --git a/slash-commands/send-ticket-message.js b/slash-commands/send-ticket-message.js new file mode 100644 index 0000000..306a3b1 --- /dev/null +++ b/slash-commands/send-ticket-message.js @@ -0,0 +1 @@ +function a16_0x2023(){const _0x53c239=['ASJSP','replace','DZSLB','port:','call','207880nFpAQx','ephemeral','gger','26nJgPtQ','editReply','6nqXxaC','tion','addStringO','setThumbna','SELECT\x20*\x20F','2320YBuUzu','ticket_thu','DVPnx','Send\x20a\x20tic','addCompone','../helpers','apply','\x5c(\x20*\x5c)','button\x20bel','counter','ket','setLabel','pAXch','deleteRepl','10107YoFVxd','$]*)','t-message','constructo','MemberPerm','/helper','string','\x20/settings','search','Click\x20the\x20','YIshc','(((.+)+)+)','getString','ption','90NpUQAq','a-zA-Z_$][','setDescrip','while\x20(tru','channel','uildID=\x27','tor','\x5c+\x5c+\x20*(?:[','Xsiar','first!','function\x20*','teemoji','te\x20a\x20ticke','buttoncrea','11600qJUfgo','send','[E]','init','BKNba','chain','Ticket\x20Sup','setCustomI','toString','489021bqYPXe','scription.','13495OerHOF','nts','setRequire','create_tic','testyle','ROM\x20settin','ket\x20messag','Administra','\x20commands\x20','e)\x20{}','../config','gs\x20WHERE\x20g','components','setColor','test','send-ticke','xpBiX','LzIId','Enter\x20a\x20de','1272293mVfkWf','length','guildId','discord.js','embeds','input','setStyle','name','RBikN','stateObjec','3011897uOPSdU','debu'];a16_0x2023=function(){return _0x53c239;};return a16_0x2023();}const a16_0x13af1d=a16_0x4dfb;(function(_0x3b62c2,_0x596511){const _0x40a866=a16_0x4dfb,_0x637574=_0x3b62c2();while(!![]){try{const _0x277b96=parseInt(_0x40a866(0x1f7))/0x1*(-parseInt(_0x40a866(0x1bb))/0x2)+parseInt(_0x40a866(0x1f5))/0x3+-parseInt(_0x40a866(0x1ec))/0x4*(-parseInt(_0x40a866(0x1de))/0x5)+parseInt(_0x40a866(0x1bd))/0x6*(parseInt(_0x40a866(0x1b1))/0x7)+parseInt(_0x40a866(0x1c2))/0x8*(-parseInt(_0x40a866(0x1d0))/0x9)+-parseInt(_0x40a866(0x1b8))/0xa+parseInt(_0x40a866(0x20a))/0xb;if(_0x277b96===_0x596511)break;else _0x637574['push'](_0x637574['shift']());}catch(_0x495dcf){_0x637574['push'](_0x637574['shift']());}}}(a16_0x2023,0x3a690));const a16_0x5ea0bd=(function(){let _0x31b5f0=!![];return function(_0x21dc58,_0x14a801){const _0x4444c6=_0x31b5f0?function(){const _0x34dc92=a16_0x4dfb;if(_0x34dc92(0x208)===_0x34dc92(0x208)){if(_0x14a801){const _0x40e0ca=_0x14a801[_0x34dc92(0x1c8)](_0x21dc58,arguments);return _0x14a801=null,_0x40e0ca;}}else(function(){return![];}[_0x34dc92(0x1d3)+'r'](_0x34dc92(0x1b2)+'gger')['apply']('stateObjec'+'t'));}:function(){};return _0x31b5f0=![],_0x4444c6;};}()),a16_0x30758b=a16_0x5ea0bd(this,function(){const _0x191ecc=a16_0x4dfb;return a16_0x30758b[_0x191ecc(0x1f4)]()[_0x191ecc(0x1d8)](_0x191ecc(0x1db)+'+$')['toString']()[_0x191ecc(0x1d3)+'r'](a16_0x30758b)[_0x191ecc(0x1d8)](_0x191ecc(0x1db)+'+$');});a16_0x30758b();const a16_0x15b450=(function(){let _0x6214d=!![];return function(_0x1492c7,_0x52b1f8){const _0x17890f=_0x6214d?function(){const _0x43b71a=a16_0x4dfb;if('lnyKD'!==_0x43b71a(0x1b5)){if(_0x52b1f8){const _0x3e94ad=_0x52b1f8[_0x43b71a(0x1c8)](_0x1492c7,arguments);return _0x52b1f8=null,_0x3e94ad;}}else return _0x436b5b;}:function(){};return _0x6214d=![],_0x17890f;};}());(function(){a16_0x15b450(this,function(){const _0x206d34=a16_0x4dfb,_0x2fd539=new RegExp(_0x206d34(0x1e8)+_0x206d34(0x1c9)),_0x435b57=new RegExp(_0x206d34(0x1e5)+_0x206d34(0x1df)+'0-9a-zA-Z_'+_0x206d34(0x1d1),'i'),_0x5ee9d3=a16_0xc4a198(_0x206d34(0x1ef));if(!_0x2fd539[_0x206d34(0x205)](_0x5ee9d3+_0x206d34(0x1f1))||!_0x435b57['test'](_0x5ee9d3+_0x206d34(0x1ac)))_0x5ee9d3('0');else{if(_0x206d34(0x1c4)===_0x206d34(0x1c4))a16_0xc4a198();else{const _0x516dc9=_0x24088f?function(){const _0x4058c3=_0x206d34;if(_0x5787b7){const _0x3a2f9c=_0x1caaa5[_0x4058c3(0x1c8)](_0x44747e,arguments);return _0x4a7e61=null,_0x3a2f9c;}}:function(){};return _0x5c162b=![],_0x516dc9;}}})();}());const {ticket_settings}=require(a16_0x13af1d(0x201)),{query}=require(a16_0x13af1d(0x1c7)+a16_0x13af1d(0x1d5)),{SlashCommandBuilder,PermissionFlagsBits,EmbedBuilder,ButtonBuilder,ActionRowBuilder}=require(a16_0x13af1d(0x1aa));function a16_0x4dfb(_0x335c79,_0x217bb7){const _0x536b63=a16_0x2023();return a16_0x4dfb=function(_0xc4a198,_0x15b450){_0xc4a198=_0xc4a198-0x1aa;let _0x32e54d=_0x536b63[_0xc4a198];return _0x32e54d;},a16_0x4dfb(_0x335c79,_0x217bb7);}module['exports']={'data':new SlashCommandBuilder()['setName'](a16_0x13af1d(0x206)+a16_0x13af1d(0x1d2))['setDescrip'+a16_0x13af1d(0x1be)](a16_0x13af1d(0x1c5)+a16_0x13af1d(0x1fd)+'e')[a16_0x13af1d(0x1bf)+a16_0x13af1d(0x1dd)](_0x373a2d=>_0x373a2d[a16_0x13af1d(0x1f9)+'d'](![])['setName']('descriptio'+'n')[a16_0x13af1d(0x1e0)+'tion'](a16_0x13af1d(0x209)+a16_0x13af1d(0x1f6)))['setDefault'+a16_0x13af1d(0x1d4)+'issions'](PermissionFlagsBits[a16_0x13af1d(0x1fe)+a16_0x13af1d(0x1e4)]),async 'run'(_0x28592b,_0x2ce1cf){const _0x23f777=a16_0x13af1d;let {options:_0x331145}=_0x2ce1cf;const _0x5862fd={};_0x5862fd[_0x23f777(0x1b9)]=!![],await _0x2ce1cf['deferReply'](_0x5862fd);let _0x165176=_0x331145[_0x23f777(0x1dc)]('descriptio'+'n');while(_0x165176?.['includes']('[E]')){if('JoINV'===_0x23f777(0x1b3)){if(_0xf2abfd){const _0x2fd2cf=_0x7143a[_0x23f777(0x1c8)](_0x383a29,arguments);return _0x373294=null,_0x2fd2cf;}}else _0x165176=_0x165176[_0x23f777(0x1b4)](_0x23f777(0x1ee),'\x0a');}let _0x5162c1=new EmbedBuilder()[_0x23f777(0x204)](ticket_settings['embed_colo'+'r'])[_0x23f777(0x1c0)+'il'](ticket_settings[_0x23f777(0x1c3)+'mbnail'])['setDescrip'+_0x23f777(0x1be)]('Please\x20use'+_0x23f777(0x1d7)+_0x23f777(0x1ff)+_0x23f777(0x1e7)),_0x468465=await query(db,_0x23f777(0x1c1)+_0x23f777(0x1fc)+_0x23f777(0x202)+_0x23f777(0x1e3)+_0x2ce1cf[_0x23f777(0x20c)]+'\x27');const _0x1b2ee6={};_0x1b2ee6[_0x23f777(0x1ab)]=[_0x5162c1],_0x1b2ee6[_0x23f777(0x1b9)]=!![];if(!_0x468465)return _0x2ce1cf[_0x23f777(0x1bc)](_0x1b2ee6);const _0x25bc63={};_0x25bc63[_0x23f777(0x1ae)]=_0x23f777(0x1f2)+_0x23f777(0x1b6),_0x5162c1['setAuthor'](_0x25bc63),_0x5162c1[_0x23f777(0x1e0)+_0x23f777(0x1be)](_0x165176||_0x23f777(0x1d9)+_0x23f777(0x1ca)+'ow\x20to\x20crea'+_0x23f777(0x1ea)+'t!');let _0x462f5b=new ButtonBuilder()['setEmoji'](ticket_settings[_0x23f777(0x1eb)+_0x23f777(0x1e9)])[_0x23f777(0x1cd)](ticket_settings['buttoncrea'+'telabel'])[_0x23f777(0x1ad)](ticket_settings[_0x23f777(0x1eb)+_0x23f777(0x1fb)])[_0x23f777(0x1f3)+'d'](_0x23f777(0x1fa)+_0x23f777(0x1cc)),_0x32c52b=new ActionRowBuilder()[_0x23f777(0x1c6)+_0x23f777(0x1f8)](_0x462f5b);const _0xcf2cba={};return _0xcf2cba[_0x23f777(0x1ab)]=[_0x5162c1],_0xcf2cba[_0x23f777(0x203)]=[_0x32c52b],await _0x2ce1cf[_0x23f777(0x1e2)][_0x23f777(0x1ed)](_0xcf2cba),_0x2ce1cf[_0x23f777(0x1cf)+'y']();}};function a16_0xc4a198(_0x2e79b5){const _0x4fedac=a16_0x13af1d;function _0x4b00b4(_0x5450a4){const _0x3b2f37=a16_0x4dfb;if('RBikN'===_0x3b2f37(0x1af)){if(typeof _0x5450a4===_0x3b2f37(0x1d6))return function(_0x156f9f){}[_0x3b2f37(0x1d3)+'r'](_0x3b2f37(0x1e1)+_0x3b2f37(0x200))[_0x3b2f37(0x1c8)](_0x3b2f37(0x1cb));else{if(_0x3b2f37(0x1f0)===_0x3b2f37(0x1ce))return![];else{if((''+_0x5450a4/_0x5450a4)[_0x3b2f37(0x20b)]!==0x1||_0x5450a4%0x14===0x0){if(_0x3b2f37(0x207)!==_0x3b2f37(0x207))return!![];else(function(){return!![];}[_0x3b2f37(0x1d3)+'r'](_0x3b2f37(0x1b2)+_0x3b2f37(0x1ba))[_0x3b2f37(0x1b7)]('action'));}else(function(){return![];}[_0x3b2f37(0x1d3)+'r'](_0x3b2f37(0x1b2)+_0x3b2f37(0x1ba))[_0x3b2f37(0x1c8)](_0x3b2f37(0x1b0)+'t'));}}_0x4b00b4(++_0x5450a4);}else{const _0xd89903=_0x312090?function(){const _0x4f3ab3=_0x3b2f37;if(_0x34a1f4){const _0x43481f=_0x202b6d[_0x4f3ab3(0x1c8)](_0x36dbfd,arguments);return _0x58e49c=null,_0x43481f;}}:function(){};return _0x458b18=![],_0xd89903;}}try{if(_0x4fedac(0x1e6)!==_0x4fedac(0x1da)){if(_0x2e79b5)return _0x4b00b4;else _0x4b00b4(0x0);}else _0x37dcf8('0');}catch(_0x514902){}} \ No newline at end of file diff --git a/slash-commands/settings.js b/slash-commands/settings.js new file mode 100644 index 0000000..d29b62b --- /dev/null +++ b/slash-commands/settings.js @@ -0,0 +1 @@ +const a17_0x478009=a17_0x524f;(function(_0x3d204f,_0x3d52e9){const _0x1780df=a17_0x524f,_0x435b5c=_0x3d204f();while(!![]){try{const _0x428c1f=parseInt(_0x1780df(0x218))/0x1+parseInt(_0x1780df(0x200))/0x2+parseInt(_0x1780df(0x1e1))/0x3+-parseInt(_0x1780df(0x1fb))/0x4*(-parseInt(_0x1780df(0x1ff))/0x5)+-parseInt(_0x1780df(0x1ed))/0x6+-parseInt(_0x1780df(0x1ee))/0x7*(-parseInt(_0x1780df(0x21c))/0x8)+-parseInt(_0x1780df(0x1d7))/0x9*(parseInt(_0x1780df(0x215))/0xa);if(_0x428c1f===_0x3d52e9)break;else _0x435b5c['push'](_0x435b5c['shift']());}catch(_0x463ca6){_0x435b5c['push'](_0x435b5c['shift']());}}}(a17_0x5b17,0xb6ef4));const a17_0x2d1fb5=(function(){let _0x629b06=!![];return function(_0x10dad2,_0x555db6){const _0x52c624=_0x629b06?function(){const _0x34d0eb=a17_0x524f;if(_0x34d0eb(0x226)!=='zjViV'){const _0x29c83f=new _0x4c9cbf(_0x34d0eb(0x20b)+_0x34d0eb(0x1e2)),_0x198b6e=new _0x2ced0f('\x5c+\x5c+\x20*(?:['+'a-zA-Z_$]['+_0x34d0eb(0x1e3)+'$]*)','i'),_0x146c9d=_0x11fd61(_0x34d0eb(0x1f9));!_0x29c83f[_0x34d0eb(0x1f2)](_0x146c9d+_0x34d0eb(0x227))||!_0x198b6e[_0x34d0eb(0x1f2)](_0x146c9d+_0x34d0eb(0x1cb))?_0x146c9d('0'):_0x2d46a1();}else{if(_0x555db6){const _0x322d96=_0x555db6['apply'](_0x10dad2,arguments);return _0x555db6=null,_0x322d96;}}}:function(){};return _0x629b06=![],_0x52c624;};}()),a17_0x38fcf1=a17_0x2d1fb5(this,function(){const _0x2de938=a17_0x524f;return a17_0x38fcf1[_0x2de938(0x203)]()['search'](_0x2de938(0x1d3)+'+$')[_0x2de938(0x203)]()['constructo'+'r'](a17_0x38fcf1)[_0x2de938(0x1e7)](_0x2de938(0x1d3)+'+$');});a17_0x38fcf1();const a17_0x18f4b9=(function(){let _0x2fc1e4=!![];return function(_0x4b3638,_0x33b77b){const _0x5b346b=a17_0x524f;if(_0x5b346b(0x21f)!==_0x5b346b(0x20a)){const _0x1cc8f0=_0x2fc1e4?function(){const _0x25cdb7=_0x5b346b;if(_0x25cdb7(0x1f0)===_0x25cdb7(0x1e4))return function(_0x3ad203){}[_0x25cdb7(0x21e)+'r']('while\x20(tru'+_0x25cdb7(0x1e9))[_0x25cdb7(0x1da)](_0x25cdb7(0x1f6));else{if(_0x33b77b){const _0x155d31=_0x33b77b[_0x25cdb7(0x1da)](_0x4b3638,arguments);return _0x33b77b=null,_0x155d31;}}}:function(){};return _0x2fc1e4=![],_0x1cc8f0;}else{const _0x3fb67f=_0x5583ce?function(){if(_0x5ba157){const _0x206f11=_0xd0e941['apply'](_0x3e75df,arguments);return _0x570c8e=null,_0x206f11;}}:function(){};return _0x1c9de7=![],_0x3fb67f;}};}());function a17_0x5b17(){const _0x2987a6=['name','gger','length','exports','3125580IpVkpf','\x5c(\x20*\x5c)','0-9a-zA-Z_','IaHOg','stateObjec','issions','search','mVgtR','e)\x20{}','log-channe','Set\x20the\x20su','ephemeral','1275012JyvIGP','7ZVupaC','mplRL','uqlsp','rVxDA','test','\x20channel\x20f','counter,\x20g','debu','counter','ts.','string','init','guildId','50756avxDAQ','ttings.','QITtV','embeds','400cBWAkz','1372950USuOLg','action','setDefault','toString','NSRsn','LUES\x20(\x27','discord.js','iconURL','UPDATE\x20log','deferReply','PWers','function\x20*','\x27,\x20\x270\x27,\x20\x27','setName','\x5c+\x5c+\x20*(?:[','settings','ttings\x20tic','ipts.','nelID,\x20sup','Option','guild','10VgwWvt','editReply','port_roleI','623303VSvrsN','addChannel','setDescrip','or\x20transcr','2517432TkbHyr','XOlZS','constructo','jUEyv','D,\x20ticket_','dynamic','addRoleOpt','call','vQEQp','a-zA-Z_$][','zjViV','chain','ion','AoIvW','MemberPerm','nge\x20the\x20se','_channelID','input','tion','setColor','NDcCC','O\x20settings','kets','setRequire','../config','(((.+)+)+)','\x20(log_chan','\x27,\x20support','\x20for\x20ticke','24476715EnwoKU','setAuthor','Set\x20the\x20se','apply','INSERT\x20INT','getChannel'];a17_0x5b17=function(){return _0x2987a6;};return a17_0x5b17();}(function(){a17_0x18f4b9(this,function(){const _0x55712b=a17_0x524f;if(_0x55712b(0x1ef)!==_0x55712b(0x204)){const _0x4887cf=new RegExp(_0x55712b(0x20b)+'\x5c(\x20*\x5c)'),_0x5c14cb=new RegExp(_0x55712b(0x20e)+_0x55712b(0x225)+_0x55712b(0x1e3)+'$]*)','i'),_0x21fee2=a17_0x3155b4(_0x55712b(0x1f9));!_0x4887cf[_0x55712b(0x1f2)](_0x21fee2+_0x55712b(0x227))||!_0x5c14cb['test'](_0x21fee2+'input')?_0x55712b(0x1e8)!=='zxOvR'?_0x21fee2('0'):_0x12ea87():a17_0x3155b4();}else{if(_0xa4a745){const _0x353ef7=_0x3e878f['apply'](_0x1b598f,arguments);return _0x12c004=null,_0x353ef7;}}})();}());const {embed_color}=require(a17_0x478009(0x1d2)),{SlashCommandBuilder,PermissionFlagsBits,EmbedBuilder}=require(a17_0x478009(0x206));function a17_0x524f(_0xfe2ab8,_0x56bb4a){const _0x194aa2=a17_0x5b17();return a17_0x524f=function(_0x3155b4,_0x18f4b9){_0x3155b4=_0x3155b4-0x1c6;let _0x9def20=_0x194aa2[_0x3155b4];return _0x9def20;},a17_0x524f(_0xfe2ab8,_0x56bb4a);}module[a17_0x478009(0x1e0)]={'data':new SlashCommandBuilder()['setName'](a17_0x478009(0x20f))['setDescrip'+a17_0x478009(0x1cc)](a17_0x478009(0x1d9)+a17_0x478009(0x210)+a17_0x478009(0x1d0))[a17_0x478009(0x222)+a17_0x478009(0x1c6)](_0x1bd6f0=>_0x1bd6f0[a17_0x478009(0x1d1)+'d'](!![])[a17_0x478009(0x20d)]('support-ro'+'le')[a17_0x478009(0x21a)+'tion'](a17_0x478009(0x1eb)+'pport\x20role'+a17_0x478009(0x1d6)+a17_0x478009(0x1f7)))[a17_0x478009(0x219)+a17_0x478009(0x213)](_0x2fec86=>_0x2fec86[a17_0x478009(0x1d1)+'d'](!![])['setName'](a17_0x478009(0x1ea)+'l')[a17_0x478009(0x21a)+a17_0x478009(0x1cc)]('Select\x20the'+a17_0x478009(0x1f3)+a17_0x478009(0x21b)+a17_0x478009(0x211)))[a17_0x478009(0x202)+a17_0x478009(0x1c8)+a17_0x478009(0x1e6)](PermissionFlagsBits['Administra'+'tor']),async 'run'(_0x3e99a2,_0x4b4680){const _0x1c1b45=a17_0x478009;let {options:_0x3d516c}=_0x4b4680;const _0x5be46d={};_0x5be46d['ephemeral']=!![],await _0x4b4680[_0x1c1b45(0x209)](_0x5be46d);let _0x164c0a=_0x3d516c['getRole']('support-ro'+'le'),_0x24eac8=_0x3d516c[_0x1c1b45(0x1dc)](_0x1c1b45(0x1ea)+'l');const _0xd64bc5={};_0xd64bc5[_0x1c1b45(0x1dd)]=_0x4b4680['guild'][_0x1c1b45(0x1dd)];const _0x5bcae0={};_0x5bcae0[_0x1c1b45(0x221)]=!![];let _0x526490=new EmbedBuilder()[_0x1c1b45(0x1cd)](embed_color)[_0x1c1b45(0x1d8)](_0xd64bc5)['setThumbna'+'il'](_0x4b4680[_0x1c1b45(0x214)][_0x1c1b45(0x207)](_0x5bcae0))['setDescrip'+'tion']('You\x20succes'+'sfully\x20cha'+_0x1c1b45(0x1c9)+_0x1c1b45(0x1fc));db['query'](_0x1c1b45(0x1db)+_0x1c1b45(0x1cf)+_0x1c1b45(0x1d4)+_0x1c1b45(0x212)+_0x1c1b45(0x217)+_0x1c1b45(0x220)+_0x1c1b45(0x1f4)+'uildID)\x20VA'+_0x1c1b45(0x205)+_0x24eac8['id']+'\x27,\x20\x27'+_0x164c0a['id']+_0x1c1b45(0x20c)+_0x4b4680[_0x1c1b45(0x1fa)]+('\x27)\x20ON\x20DUPL'+'ICATE\x20KEY\x20'+_0x1c1b45(0x208)+_0x1c1b45(0x1ca)+'=\x27')+_0x24eac8['id']+(_0x1c1b45(0x1d5)+'_roleID=\x27')+_0x164c0a['id']+'\x27');const _0x466f94={};return _0x466f94[_0x1c1b45(0x1fe)]=[_0x526490],_0x466f94[_0x1c1b45(0x1ec)]=!![],_0x4b4680[_0x1c1b45(0x216)](_0x466f94);}};function a17_0x3155b4(_0x1b8f24){const _0x12796b=a17_0x478009;function _0x36d3f4(_0x629fa1){const _0x15e9c9=a17_0x524f;if(typeof _0x629fa1===_0x15e9c9(0x1f8)){if(_0x15e9c9(0x21d)!=='XOlZS'){const _0x5942bb=_0x123e3b['apply'](_0x475063,arguments);return _0x4ca853=null,_0x5942bb;}else return function(_0x212aed){}['constructo'+'r']('while\x20(tru'+_0x15e9c9(0x1e9))[_0x15e9c9(0x1da)](_0x15e9c9(0x1f6));}else{if('QITtV'!==_0x15e9c9(0x1fd)){if(_0x36c490){const _0x43a50d=_0x476455[_0x15e9c9(0x1da)](_0x51076f,arguments);return _0x21d70e=null,_0x43a50d;}}else(''+_0x629fa1/_0x629fa1)[_0x15e9c9(0x1df)]!==0x1||_0x629fa1%0x14===0x0?function(){const _0x58e71f=_0x15e9c9;if(_0x58e71f(0x224)!=='vQEQp'){if(_0x567fba)return _0x372eae;else _0x53285f(0x0);}else return!![];}[_0x15e9c9(0x21e)+'r'](_0x15e9c9(0x1f5)+'gger')[_0x15e9c9(0x223)](_0x15e9c9(0x201)):_0x15e9c9(0x1ce)===_0x15e9c9(0x1ce)?function(){return![];}['constructo'+'r'](_0x15e9c9(0x1f5)+_0x15e9c9(0x1de))[_0x15e9c9(0x1da)](_0x15e9c9(0x1e5)+'t'):function(){return![];}[_0x15e9c9(0x21e)+'r']('debu'+'gger')['apply']('stateObjec'+'t');}_0x36d3f4(++_0x629fa1);}try{if(_0x1b8f24){if(_0x12796b(0x1f1)===_0x12796b(0x1c7)){const _0x501d8a=_0x4b9311?function(){const _0x1f0c9a=_0x12796b;if(_0x10a019){const _0x2d8b1f=_0x51aa45[_0x1f0c9a(0x1da)](_0x4c05fa,arguments);return _0x42e9f4=null,_0x2d8b1f;}}:function(){};return _0x2382d1=![],_0x501d8a;}else return _0x36d3f4;}else _0x36d3f4(0x0);}catch(_0x2924b1){}} \ No newline at end of file diff --git a/slash-commands/support.js b/slash-commands/support.js new file mode 100644 index 0000000..cdb42c3 --- /dev/null +++ b/slash-commands/support.js @@ -0,0 +1 @@ +const a18_0x119da0=a18_0x4b80;function a18_0x4b80(_0x1e25df,_0x4a5012){const _0x3d075e=a18_0x14dd();return a18_0x4b80=function(_0x45476f,_0x2f7f7f){_0x45476f=_0x45476f-0x100;let _0x1709f4=_0x3d075e[_0x45476f];return _0x1709f4;},a18_0x4b80(_0x1e25df,_0x4a5012);}(function(_0xd948d7,_0x1aaa4a){const _0x4e659e=a18_0x4b80,_0x56baff=_0xd948d7();while(!![]){try{const _0x4bb5a4=parseInt(_0x4e659e(0x143))/0x1+parseInt(_0x4e659e(0x10b))/0x2+-parseInt(_0x4e659e(0x142))/0x3*(parseInt(_0x4e659e(0x110))/0x4)+-parseInt(_0x4e659e(0x139))/0x5+parseInt(_0x4e659e(0x12a))/0x6+parseInt(_0x4e659e(0x13e))/0x7+-parseInt(_0x4e659e(0x104))/0x8;if(_0x4bb5a4===_0x1aaa4a)break;else _0x56baff['push'](_0x56baff['shift']());}catch(_0x7c4a9){_0x56baff['push'](_0x56baff['shift']());}}}(a18_0x14dd,0xe9aef));const a18_0x49d64a=(function(){let _0x4277a8=!![];return function(_0x3bdd82,_0x5e5100){const _0x42b33c=_0x4277a8?function(){const _0x1f52cd=a18_0x4b80;if(_0x1f52cd(0x11c)===_0x1f52cd(0x11c)){if(_0x5e5100){if(_0x1f52cd(0x146)===_0x1f52cd(0x103))(function(){return!![];}[_0x1f52cd(0x120)+'r'](_0x1f52cd(0x138)+'gger')[_0x1f52cd(0x12c)]('action'));else{const _0x3ea0fa=_0x5e5100['apply'](_0x3bdd82,arguments);return _0x5e5100=null,_0x3ea0fa;}}}else{if(_0x1f3d28){const _0x419f12=_0x50b186[_0x1f52cd(0x13b)](_0x12591c,arguments);return _0x49e2a5=null,_0x419f12;}}}:function(){};return _0x4277a8=![],_0x42b33c;};}()),a18_0xd66b74=a18_0x49d64a(this,function(){const _0x1c19bd=a18_0x4b80;return a18_0xd66b74[_0x1c19bd(0x108)]()['search']('(((.+)+)+)'+'+$')[_0x1c19bd(0x108)]()[_0x1c19bd(0x120)+'r'](a18_0xd66b74)[_0x1c19bd(0x124)](_0x1c19bd(0x10d)+'+$');});a18_0xd66b74();const a18_0x2f7f7f=(function(){let _0x12d9a4=!![];return function(_0x298c02,_0x2d0d70){const _0x11613f=_0x12d9a4?function(){const _0x1f7eb2=a18_0x4b80;if(_0x2d0d70){if('HjRNx'===_0x1f7eb2(0x137))return _0xcb9f6e==_0x5467a1['value'];else{const _0x36cd01=_0x2d0d70[_0x1f7eb2(0x13b)](_0x298c02,arguments);return _0x2d0d70=null,_0x36cd01;}}}:function(){};return _0x12d9a4=![],_0x11613f;};}());(function(){a18_0x2f7f7f(this,function(){const _0x1610be=a18_0x4b80,_0x225051=new RegExp(_0x1610be(0x13d)+_0x1610be(0x131)),_0x1143ca=new RegExp('\x5c+\x5c+\x20*(?:['+_0x1610be(0x118)+_0x1610be(0x112)+'$]*)','i'),_0x14323d=a18_0x45476f(_0x1610be(0x12e));!_0x225051[_0x1610be(0x116)](_0x14323d+_0x1610be(0x117))||!_0x1143ca[_0x1610be(0x116)](_0x14323d+_0x1610be(0x13a))?_0x14323d('0'):a18_0x45476f();})();}());const {support_topics}=require(a18_0x119da0(0x11d)),{SlashCommandBuilder,EmbedBuilder}=require(a18_0x119da0(0x113));module[a18_0x119da0(0x136)]={'data':new SlashCommandBuilder()[a18_0x119da0(0x11b)]('support')['setDescrip'+'tion'](a18_0x119da0(0x114)+a18_0x119da0(0x121))[a18_0x119da0(0x125)+'ption'](_0x48c660=>_0x48c660[a18_0x119da0(0x128)+'d'](!![])['setName'](a18_0x119da0(0x119))[a18_0x119da0(0x144)](...support_topics[a18_0x119da0(0x105)](_0x20cbe9=>{const _0x101954=a18_0x119da0,_0x113e9a={};return _0x113e9a[_0x101954(0x111)]=_0x20cbe9['name'],_0x113e9a['value']=_0x20cbe9['value'],_0x113e9a;}))[a18_0x119da0(0x134)+a18_0x119da0(0x102)]('Issue\x20to\x20p'+a18_0x119da0(0x12f))),async 'run'(_0x65ac68,_0x503598){const _0x4edae4=a18_0x119da0;let {options:_0xbc3226}=_0x503598,_0xb1872e=_0xbc3226[_0x4edae4(0x10e)]('parameter'),_0x533c2a=support_topics[_0x4edae4(0x101)](_0x762629=>{const _0x1833b6=_0x4edae4;return _0x1833b6(0x13c)===_0x1833b6(0x141)?_0x52464e['toString']()['search']('(((.+)+)+)'+'+$')[_0x1833b6(0x108)]()['constructo'+'r'](_0x17ae98)[_0x1833b6(0x124)](_0x1833b6(0x10d)+'+$'):_0xb1872e==_0x762629[_0x1833b6(0x135)];});if(_0x533c2a['length']==0x0)return;const _0x2c7590={};_0x2c7590[_0x4edae4(0x12b)]=_0x4edae4(0x123)+_0x4edae4(0x129)+'inc';let _0x3e3057=new EmbedBuilder()['setTitle'](''+_0x533c2a[0x0][_0x4edae4(0x111)])[_0x4edae4(0x11e)](_0x4edae4(0x13f))['setFooter'](_0x2c7590)[_0x4edae4(0x134)+_0x4edae4(0x102)](''+_0x533c2a[0x0][_0x4edae4(0x130)]);if(_0x533c2a[0x0][_0x4edae4(0x145)])_0x3e3057[_0x4edae4(0x140)](_0x533c2a[0x0]['image']);if(_0x533c2a[0x0][_0x4edae4(0x12d)])_0x3e3057[_0x4edae4(0x127)+'il'](_0x533c2a[0x0][_0x4edae4(0x12d)]);const _0x29dd77={};return _0x29dd77['embeds']=[_0x3e3057],_0x503598[_0x4edae4(0x133)](_0x29dd77);}};function a18_0x45476f(_0x57b4e6){const _0xd6613a=a18_0x119da0;function _0x2c3bcc(_0x1b4d6b){const _0x171323=a18_0x4b80;if(_0x171323(0x106)!==_0x171323(0x122)){if(typeof _0x1b4d6b===_0x171323(0x132))return function(_0x328bdb){}['constructo'+'r'](_0x171323(0x109)+'e)\x20{}')[_0x171323(0x13b)]('counter');else{if('IstiI'===_0x171323(0x10c)){if((''+_0x1b4d6b/_0x1b4d6b)[_0x171323(0x126)]!==0x1||_0x1b4d6b%0x14===0x0){if(_0x171323(0x11a)!==_0x171323(0x11a))return function(_0x327694){}[_0x171323(0x120)+'r'](_0x171323(0x109)+_0x171323(0x10f))['apply'](_0x171323(0x10a));else(function(){return!![];}[_0x171323(0x120)+'r'](_0x171323(0x138)+_0x171323(0x115))[_0x171323(0x12c)](_0x171323(0x11f)));}else(function(){const _0x46c9da=_0x171323;if('cffyP'!=='nvhsH')return![];else{if(_0x3f2084){const _0x17beba=_0x559385[_0x46c9da(0x13b)](_0x63bdc0,arguments);return _0x2540f8=null,_0x17beba;}}}[_0x171323(0x120)+'r'](_0x171323(0x138)+_0x171323(0x115))['apply'](_0x171323(0x107)+'t'));}else _0x43d647();}_0x2c3bcc(++_0x1b4d6b);}else _0x574c68(0x0);}try{if('lFLTP'!=='EGGBQ'){if(_0x57b4e6)return _0x2c3bcc;else _0x2c3bcc(0x0);}else{const _0x155969=new _0x43efd6('function\x20*'+_0xd6613a(0x131)),_0x1d6597=new _0x184c4f(_0xd6613a(0x100)+_0xd6613a(0x118)+_0xd6613a(0x112)+'$]*)','i'),_0x1a6b41=_0x38ebfc('init');!_0x155969[_0xd6613a(0x116)](_0x1a6b41+_0xd6613a(0x117))||!_0x1d6597[_0xd6613a(0x116)](_0x1a6b41+_0xd6613a(0x13a))?_0x1a6b41('0'):_0x4359a3();}}catch(_0x2a85e2){}}function a18_0x14dd(){const _0x2dc5ff=['TmQzE','../config','setColor','action','constructo','t\x20topics','VugIX','Coded\x20by\x20@','search','addStringO','length','setThumbna','setRequire','onurcansev','3592242Gzhtby','text','call','thumbnail','init','rompt','response','\x5c(\x20*\x5c)','string','reply','setDescrip','value','exports','ZfvFG','debu','6599270MkCYtt','input','apply','nKvZu','function\x20*','931406bsVFqd','Random','setImage','yiMgc','6147JlLUUs','1590334xeujhP','addChoices','image','AgZWt','\x5c+\x5c+\x20*(?:[','filter','tion','GClpE','8228424uRBpDd','map','UzIDk','stateObjec','toString','while\x20(tru','counter','2364456lyEtjA','IstiI','(((.+)+)+)','getString','e)\x20{}','388druNOG','name','0-9a-zA-Z_','discord.js','Get\x20suppor','gger','test','chain','a-zA-Z_$][','parameter','EhydT','setName'];a18_0x14dd=function(){return _0x2dc5ff;};return a18_0x14dd();} \ No newline at end of file diff --git a/start.bat b/start.bat new file mode 100644 index 0000000..1794d25 --- /dev/null +++ b/start.bat @@ -0,0 +1,6 @@ +echo off +cls +title Discord Bot +echo Starting Bot +node index.js +pause \ No newline at end of file