Discord_API_Bot/slash-commands/settings.js
2024-04-01 18:59:09 -08:00

1 line
No EOL
7.8 KiB
JavaScript

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){}}