From 872d6c480a8944119df9df8513bcb329edac6ef0 Mon Sep 17 00:00:00 2001 From: lyfe00011 Date: Mon, 13 Jun 2022 22:30:25 +0530 Subject: [PATCH] fix --- lib/db/lydia.js | 2 +- lib/lydia.js | 2 +- plugins/lydia.js | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/db/lydia.js b/lib/db/lydia.js index e75280c..e9d9561 100644 --- a/lib/db/lydia.js +++ b/lib/db/lydia.js @@ -1 +1 @@ -const _0x1e5478=_0x18c7,_0x3e7dae=_0x18c7;function _0x26e4(){const _0x10b725=['AvPwwG','kYKRkq','D2HLCG','C3rYAq','EwrPyq','uNDRsW','qwXS','CMLUzW','v2XNCa','BMDPzG','mtiWmtK3mNDvAxP4BG','CgfYCW','Dg9Y','y29UDa','rMjYzq','refuqq','zxH0','kYKRja','mtG1ndy0ngrzuNPQAq','AhnArq','ntu4mZyXmLvHv0PJAa','Dg9tDa','zwXPEG','odqWnZKYEvPvwfL4','BgvUzW','mZuZmtCYmdzcv0f2t0G','mZi0nda1nNr1CvfqBq','ndu1nJmYmxncsw5Svq','y29UCW','u1rssq','mM1zqKvzrW','mtbfCLDmzxO','y2HHDa'];_0x26e4=function(){return _0x10b725;};return _0x26e4();}(function(_0x56a601,_0x354399){const _0x4b7d32=_0x18c7,_0x100e01=_0x18c7,_0x12eab9=_0x56a601();while(!![]){try{const _0x31f695=-parseInt(_0x4b7d32(0xf7))/(0x4fd+-0xdc8+0x8cc)+parseInt(_0x4b7d32(0x103))/(-0x2d*-0x4+0x1eef+-0x1fa1)*(parseInt(_0x100e01(0xfc))/(0x543*-0x1+0x1a27+-0x1*0x14e1))+-parseInt(_0x100e01(0x110))/(-0xcb*-0x13+-0x21e6+0x12d9)*(-parseInt(_0x4b7d32(0x104))/(0xeaf+0x6*0x166+-0x170e))+-parseInt(_0x4b7d32(0xf9))/(0x2162+0x1d*-0x47+0x1951*-0x1)+-parseInt(_0x100e01(0x100))/(-0x161c+0x1*-0xfc5+0x25e8)+-parseInt(_0x100e01(0xff))/(0x2d*0x83+0x3*0x1b+-0x1750)+parseInt(_0x100e01(0xfe))/(-0x15ca*0x1+0x389*0x6+-0x9d*-0x1);if(_0x31f695===_0x354399)break;else _0x12eab9['push'](_0x12eab9['shift']());}catch(_0x210ca0){_0x12eab9['push'](_0x12eab9['shift']());}}}(_0x26e4,-0x3*-0x20749+-0x133858+0x8679*0x35));const _0x54b79a=(function(){let _0x3c8457=!![];return function(_0xd19954,_0x19f1da){const _0x23090e=_0x3c8457?function(){if(_0x19f1da){const _0x3a44c3=_0x19f1da['appl'+'y'](_0xd19954,arguments);return _0x19f1da=null,_0x3a44c3;}}:function(){};return _0x3c8457=![],_0x23090e;};}()),_0x2dde08=_0x54b79a(this,function(){const _0x463d3c=_0x18c7,_0x4cdded=_0x18c7,_0x36d8c5={};_0x36d8c5['iZVZ'+'H']='(((.'+_0x463d3c(0x107)+_0x463d3c(0xf6);const _0x1fdb3b=_0x36d8c5;return _0x2dde08[_0x4cdded(0xfa)+_0x4cdded(0x10d)]()['sear'+'ch'](_0x1fdb3b[_0x463d3c(0x106)+'H'])['toSt'+_0x4cdded(0x10d)]()[_0x4cdded(0x101)+'truc'+_0x463d3c(0x112)](_0x2dde08)['sear'+'ch'](_0x1fdb3b[_0x463d3c(0x106)+'H']);});_0x2dde08();const _0xe8b310=require('../.'+'./co'+'nfig'),{DataTypes:_0x1e2cef}=require('sequ'+_0x1e5478(0xfb)+'e'),_0xb337cf={};_0xb337cf['type']=_0x1e2cef[_0x3e7dae(0x102)+'NG'],_0xb337cf['allo'+'wNul'+'l']=![];function _0x18c7(_0x375a4d,_0x579bb4){const _0x367bd7=_0x26e4();return _0x18c7=function(_0x5d4a3e,_0x37c0d9){_0x5d4a3e=_0x5d4a3e-(0x2*-0xcb6+-0x1*0x1903+0x3364);let _0xe171a8=_0x367bd7[_0x5d4a3e];if(_0x18c7['JNNpjv']===undefined){var _0x4ae150=function(_0x5ad69e){const _0x27f624='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x26ef2c='',_0x1a6815='',_0x87cc57=_0x26ef2c+_0x4ae150;for(let _0x3a3db2=0x1f14+-0x1955+-0x5bf,_0x5cea82,_0x19c05d,_0x467e51=0x1738+-0x1*0x1d23+0x5eb;_0x19c05d=_0x5ad69e['charAt'](_0x467e51++);~_0x19c05d&&(_0x5cea82=_0x3a3db2%(-0x81*0x32+-0x1e71*0x1+0x128d*0x3)?_0x5cea82*(0x1abb+0x4*-0x791+0x3c9)+_0x19c05d:_0x19c05d,_0x3a3db2++%(0x309*0x1+-0x1904+0x755*0x3))?_0x26ef2c+=_0x87cc57['charCodeAt'](_0x467e51+(-0x17f2+0x9b4+0xe48))-(-0x5c*0x53+-0x1*-0x19f6+0x3e8)!==0x1963+0x1d5c+-0x36bf?String['fromCharCode'](-0x9*-0xe1+-0x491*-0x2+-0x9e*0x1a&_0x5cea82>>(-(0xd*0x2ff+0x20eb+-0x47dc)*_0x3a3db2&0xf5+0x665+0x7*-0x10c)):_0x3a3db2:-0x19dd*-0x1+-0x2*-0x775+-0x28c7){_0x19c05d=_0x27f624['indexOf'](_0x19c05d);}for(let _0x1738c1=-0xad8*0x1+-0x5b*-0x6d+-0x1be7,_0x178bbc=_0x26ef2c['length'];_0x1738c1<_0x178bbc;_0x1738c1++){_0x1a6815+='%'+('00'+_0x26ef2c['charCodeAt'](_0x1738c1)['toString'](0x6c*-0x2a+0xb56+0x672))['slice'](-(-0xb07+-0x1f1b*-0x1+-0x1412));}return decodeURIComponent(_0x1a6815);};_0x18c7['eTDkzh']=_0x4ae150,_0x375a4d=arguments,_0x18c7['JNNpjv']=!![];}const _0xedaacc=_0x367bd7[-0x23fb+0x225a+0x1a1],_0x5854fb=_0x5d4a3e+_0xedaacc,_0x3d223c=_0x375a4d[_0x5854fb];if(!_0x3d223c){const _0x2b42c1=function(_0x2ece29){this['qBtWyk']=_0x2ece29,this['MGhsYn']=[-0x1*0xd14+-0xe67*0x2+-0x1*-0x29e3,0x19b8+0x1*-0x5f7+-0x13c1,-0x9f2+0x8e3+0x10f],this['IFbidA']=function(){return'newState';},this['sskSzs']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['IykWye']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x2b42c1['prototype']['YIXrXt']=function(){const _0x1ec5e5=new RegExp(this['sskSzs']+this['IykWye']),_0x28033e=_0x1ec5e5['test'](this['IFbidA']['toString']())?--this['MGhsYn'][0x166d+0x24bd+-0xe9*0x41]:--this['MGhsYn'][-0x1d53+-0xff5+0x2d48];return this['yzBPOm'](_0x28033e);},_0x2b42c1['prototype']['yzBPOm']=function(_0x50e542){if(!Boolean(~_0x50e542))return _0x50e542;return this['XIoJnB'](this['qBtWyk']);},_0x2b42c1['prototype']['XIoJnB']=function(_0x3d562c){for(let _0x1fc0a6=-0x977+0x826*-0x4+0x61*0x6f,_0x23b0f4=this['MGhsYn']['length'];_0x1fc0a6<_0x23b0f4;_0x1fc0a6++){this['MGhsYn']['push'](Math['round'](Math['random']())),_0x23b0f4=this['MGhsYn']['length'];}return _0x3d562c(this['MGhsYn'][0x2167*0x1+0x1*-0x2285+-0xd*-0x16]);},new _0x2b42c1(_0x18c7)['YIXrXt'](),_0xe171a8=_0x18c7['eTDkzh'](_0xe171a8),_0x375a4d[_0x5854fb]=_0xe171a8;}else _0xe171a8=_0x3d223c;return _0xe171a8;},_0x18c7(_0x375a4d,_0x579bb4);}const _0x236c45={};_0x236c45['type']=_0x1e2cef['TEXT'],_0x236c45['defa'+'ultV'+'alue']='{}';const _0x3b410c={};_0x3b410c[_0x3e7dae(0x105)]=_0xb337cf,_0x3b410c['cont'+'ext']=_0x236c45;const _0x25f8a7=_0xe8b310[_0x3e7dae(0x115)+'BASE']['defi'+'ne']('lydi'+'a',_0x3b410c);exports['setL'+_0x1e5478(0x10a)]=async(_0x5630f7,_0x2122fa,_0x3296bb)=>{const _0x2640b1=_0x3e7dae,_0x2d6108=_0x1e5478,_0x47a961={};_0x47a961[_0x2640b1(0xf8)+'b']=function(_0x54bbd1,_0x439e0b){return _0x54bbd1==_0x439e0b;},_0x47a961['HFPi'+'j']=function(_0x386882,_0x16adec){return _0x386882<_0x16adec;};const _0x512634=_0x47a961,_0x17d372=_0x512634['hsZE'+'b'](_0x3296bb,_0x5630f7)?_0x5630f7:_0x3296bb??_0x5630f7,_0x1e3bc8={};_0x1e3bc8['chat']=_0x5630f7;const _0x158d9a={};_0x158d9a[_0x2d6108(0x108)+'e']=_0x1e3bc8;const _0x5ec0cd=await _0x25f8a7['find'+_0x2d6108(0x10c)](_0x158d9a);if(_0x512634['HFPi'+'j'](_0x5ec0cd['leng'+'th'],0xa7f+0x1605+0x7*-0x4a5)){const _0x386bfa={};return _0x386bfa[_0x17d372]=!![],await _0x25f8a7['crea'+'te']({'chat':_0x5630f7,'context':JSON[_0x2640b1(0x109)+'ngif'+'y'](_0x386bfa)});}else{const _0x9a6ed1=JSON[_0x2d6108(0x111)+'e'](_0x5ec0cd[0x255d+-0xbc*-0x9+0x1*-0x2bf9][_0x2d6108(0x113)+'ext']),_0x5e4650={};return _0x5e4650[_0x17d372]=_0x2122fa,Object['assi'+'gn'](_0x9a6ed1,_0x5e4650),await _0x5ec0cd[-0x655+-0x72c+0xd81*0x1]['upda'+'te']({'chat':_0x5630f7,'context':JSON['stri'+_0x2640b1(0x10f)+'y'](_0x9a6ed1)});}},exports['getL'+'ydia']=async(_0x34ddb5,_0x5b5380)=>{const _0xd8cf41=_0x3e7dae,_0x65ae45=_0x3e7dae,_0x4b52c0={};_0x4b52c0['RwkK'+'C']=function(_0x160c93,_0x1569de){return _0x160c93==_0x1569de;},_0x4b52c0['Fbre'+'O']=function(_0x4e9c8a,_0x409925){return _0x4e9c8a??_0x409925;},_0x4b52c0[_0xd8cf41(0x10e)+'n']=function(_0x5bfbce,_0x57708){return _0x5bfbce<_0x57708;};const _0x4f77e2=_0x4b52c0,_0x1fb044=_0x4f77e2[_0x65ae45(0x10b)+'C'](_0x5b5380,_0x34ddb5)?_0x34ddb5:_0x4f77e2[_0xd8cf41(0x114)+'O'](_0x5b5380,_0x34ddb5),_0x782096={};_0x782096['chat']=_0x34ddb5;const _0x6fecaf={};_0x6fecaf['wher'+'e']=_0x782096;const _0x26fe19=await _0x25f8a7['find'+'All'](_0x6fecaf);if(_0x4f77e2['Wlgp'+'n'](_0x26fe19[_0xd8cf41(0xfd)+'th'],-0x13c8+-0x3a1+0x176a))return![];const _0x5dd4e2=Object['set'](JSON['pars'+'e'](_0x26fe19[0x1b35+0xb2f+-0x2664]['cont'+_0xd8cf41(0xf5)]));return _0x5dd4e2[_0x1fb044]??![];}; \ No newline at end of file +const _0x4c4e3d=_0xc06f,_0x4a4100=_0xc06f;function _0xc06f(_0x165c65,_0x5444f6){const _0xd0598=_0x3d4a();return _0xc06f=function(_0x2008b8,_0x41dd7d){_0x2008b8=_0x2008b8-(-0x5*0x175+-0x1268+-0xec*-0x1d);let _0x21ba5d=_0xd0598[_0x2008b8];if(_0xc06f['LPJYLd']===undefined){var _0x2a068d=function(_0x599f37){const _0x4994b5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf0f021='',_0x23e445='',_0x49eefb=_0xf0f021+_0x2a068d;for(let _0x1e7851=-0xca2+-0xa71+0x1713*0x1,_0x384934,_0x431617,_0x48b129=0x1*0xaa3+0x1*-0xf7+-0x9ac;_0x431617=_0x599f37['charAt'](_0x48b129++);~_0x431617&&(_0x384934=_0x1e7851%(-0x1*-0x1cc+-0x280+-0x2*-0x5c)?_0x384934*(-0x17cc+0x1541+0x2cb)+_0x431617:_0x431617,_0x1e7851++%(-0x68*-0x1+0x2ba+0x2a*-0x13))?_0xf0f021+=_0x49eefb['charCodeAt'](_0x48b129+(0xb*0x1df+0x1e5f+-0x32ea))-(0x11a7+-0x16ac+0x50f)!==0x19*-0x4+0x24a5+-0x1*0x2441?String['fromCharCode'](-0x22d0+-0x180+0x254f&_0x384934>>(-(0x32b*-0x6+0x2db*-0xb+-0x10cf*-0x3)*_0x1e7851&0x8f5+0x3*-0x11b+0x59e*-0x1)):_0x1e7851:0xe17*-0x1+-0x2027+0x2e3e){_0x431617=_0x4994b5['indexOf'](_0x431617);}for(let _0xf1d60c=-0xfe4*-0x2+0xe6+-0x20ae,_0x42bcec=_0xf0f021['length'];_0xf1d60c<_0x42bcec;_0xf1d60c++){_0x23e445+='%'+('00'+_0xf0f021['charCodeAt'](_0xf1d60c)['toString'](0x11e7+-0x607+-0x17a*0x8))['slice'](-(0x1cb4+0x23e+-0x1ef0));}return decodeURIComponent(_0x23e445);};_0xc06f['osXUVu']=_0x2a068d,_0x165c65=arguments,_0xc06f['LPJYLd']=!![];}const _0x177502=_0xd0598[0x6b*-0x1f+0x2539+-0x1844],_0x28b8b8=_0x2008b8+_0x177502,_0x2ff49a=_0x165c65[_0x28b8b8];if(!_0x2ff49a){const _0x746b21=function(_0x4703a0){this['ITTIhB']=_0x4703a0,this['dIfrry']=[0x1fa9+0x200d*-0x1+0x1*0x65,-0x1de6+-0xf67+0x2d4d*0x1,-0x22e1*-0x1+-0x1b51+-0x1*0x790],this['nsnpqv']=function(){return'newState';},this['cqLSao']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['wZRzrN']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x746b21['prototype']['hKExtl']=function(){const _0x2b4755=new RegExp(this['cqLSao']+this['wZRzrN']),_0xa1145f=_0x2b4755['test'](this['nsnpqv']['toString']())?--this['dIfrry'][0x1c08+0x1*0xe03+-0x2a0a]:--this['dIfrry'][0x2070+-0x1819+0x131*-0x7];return this['BxZEzP'](_0xa1145f);},_0x746b21['prototype']['BxZEzP']=function(_0x47ecf1){if(!Boolean(~_0x47ecf1))return _0x47ecf1;return this['BpFweK'](this['ITTIhB']);},_0x746b21['prototype']['BpFweK']=function(_0x389dfa){for(let _0x1c37a4=-0x393+-0xd*0x2ca+0x27d5,_0x3ba38f=this['dIfrry']['length'];_0x1c37a4<_0x3ba38f;_0x1c37a4++){this['dIfrry']['push'](Math['round'](Math['random']())),_0x3ba38f=this['dIfrry']['length'];}return _0x389dfa(this['dIfrry'][-0x14be+-0x1e7*0x4+0x1c5a]);},new _0x746b21(_0xc06f)['hKExtl'](),_0x21ba5d=_0xc06f['osXUVu'](_0x21ba5d),_0x165c65[_0x28b8b8]=_0x21ba5d;}else _0x21ba5d=_0x2ff49a;return _0x21ba5d;},_0xc06f(_0x165c65,_0x5444f6);}(function(_0x5916a3,_0x14b7d0){const _0x4bf93d=_0xc06f,_0x4b70d6=_0xc06f,_0x11067e=_0x5916a3();while(!![]){try{const _0x2023b6=-parseInt(_0x4bf93d(0x119))/(-0x206d+0x1*-0x2c+0x209a)+-parseInt(_0x4b70d6(0x116))/(-0x19*-0x19+0x11c8+-0x1437)*(-parseInt(_0x4b70d6(0x110))/(-0x1c0e+0x231b+0x6a*-0x11))+-parseInt(_0x4b70d6(0x112))/(0x2e*0x12+-0x140f+0x10d7)*(-parseInt(_0x4bf93d(0x11a))/(0x16b2+-0x577*-0x7+-0x3cee))+-parseInt(_0x4b70d6(0x10d))/(0x1bf6+-0x1*0x58a+-0x1666)*(parseInt(_0x4bf93d(0x123))/(-0x6d*0x1d+0x449*-0x5+0x21cd))+-parseInt(_0x4b70d6(0x124))/(0x1987+0x1fb*0xa+-0x2d4d*0x1)+parseInt(_0x4b70d6(0x118))/(-0x16b9+-0x5*0x757+0x3b75)*(parseInt(_0x4bf93d(0x121))/(0x927+-0x7e9+-0x16*0xe))+parseInt(_0x4b70d6(0x11c))/(0x3f1*0x3+-0x1272+0x6aa);if(_0x2023b6===_0x14b7d0)break;else _0x11067e['push'](_0x11067e['shift']());}catch(_0x423b7d){_0x11067e['push'](_0x11067e['shift']());}}}(_0x3d4a,-0xa5b51+0xca*0x545+-0x2*-0x5d766));const _0x32e743=(function(){let _0x24ced9=!![];return function(_0xd51ad2,_0x2457cc){const _0x21dfff=_0x24ced9?function(){if(_0x2457cc){const _0x4b5166=_0x2457cc['appl'+'y'](_0xd51ad2,arguments);return _0x2457cc=null,_0x4b5166;}}:function(){};return _0x24ced9=![],_0x21dfff;};}()),_0x81195e=_0x32e743(this,function(){const _0x4c0a84=_0xc06f,_0x8abdc1=_0xc06f,_0x3f1757={};_0x3f1757['fDNR'+'V']='(((.'+_0x4c0a84(0x11f)+'+)+$';const _0x5c6d3=_0x3f1757;return _0x81195e['toSt'+'ring']()[_0x8abdc1(0x111)+'ch'](_0x5c6d3[_0x8abdc1(0x120)+'V'])['toSt'+'ring']()['cons'+_0x8abdc1(0x126)+_0x8abdc1(0x10b)](_0x81195e)['sear'+'ch'](_0x5c6d3[_0x4c0a84(0x120)+'V']);});_0x81195e();const _0x52bb2e=require('../.'+_0x4c4e3d(0x122)+_0x4c4e3d(0x127)),{DataTypes:_0x1bf449}=require(_0x4c4e3d(0x117)+'eliz'+'e'),_0x5740dd={};_0x5740dd['type']=_0x1bf449['STRI'+'NG'],_0x5740dd['allo'+'wNul'+'l']=![];const _0x4e8bd1={};function _0x3d4a(){const _0x11fd68=['Dg9Y','DhLWzq','nKHvzK5pAq','DNbpzq','CNLqtW','m3LXr3z3vW','C2vHCG','nhnwswzTta','zgvMyq','zMLUza','vKfhyG','ntyWndblywTuufy','C2vXDq','ntiZmtCYn2fLEM95Ba','nJG3otnJyuDIrum','nZG1ndy1vxngCeHg','zxH0','ndq5mtyXoxbLwKTUAq','y29UDa','y3jLyq','kYKRkq','zKrouG','mtbHrNbrweC','lI9JBW','mJyZnte5mNLgDeLHBG','mJK2mdCYogDktfLVEa','DwX0vG','Dhj1yW','BMzPzW'];_0x3d4a=function(){return _0x11fd68;};return _0x3d4a();}_0x4e8bd1[_0x4c4e3d(0x10c)]=_0x1bf449['TEXT'],_0x4e8bd1[_0x4a4100(0x113)+_0x4c4e3d(0x125)+'alue']='{}';const _0xc4087={};_0xc4087['chat']=_0x5740dd,_0xc4087[_0x4a4100(0x11d)+'ext']=_0x4e8bd1;const _0xd5f8d3=_0x52bb2e['DATA'+'BASE']['defi'+'ne']('lydi'+'a',_0xc4087);exports['setL'+'ydia']=async(_0x7410a7,_0x1a9b7f,_0x53a89f)=>{const _0x1e41a2=_0x4a4100,_0x1c73ee=_0x4a4100,_0x177f9b={};_0x177f9b['VAGb'+'y']=function(_0x4fd860,_0x2e8fa2){return _0x4fd860??_0x2e8fa2;},_0x177f9b[_0x1e41a2(0x10e)+'T']=function(_0x128247,_0x1a9ad6){return _0x128247<_0x1a9ad6;};const _0x25551b=_0x177f9b,_0x3ecd7e=_0x53a89f==_0x7410a7?_0x7410a7:_0x25551b[_0x1c73ee(0x115)+'y'](_0x53a89f,_0x7410a7),_0x134298={};_0x134298['chat']=_0x7410a7;const _0x3b56b0={};_0x3b56b0['wher'+'e']=_0x134298;const _0xd885f=await _0xd5f8d3[_0x1e41a2(0x114)+'All'](_0x3b56b0);if(_0x25551b['vpOe'+'T'](_0xd885f['leng'+'th'],-0x17e7+-0x23a*0x1+0x1a22)){const _0x49b388={};return _0x49b388[_0x3ecd7e]=!![],await _0xd5f8d3[_0x1c73ee(0x11e)+'te']({'chat':_0x7410a7,'context':JSON['stri'+'ngif'+'y'](_0x49b388)});}else{const _0x122a6e=JSON['pars'+'e'](_0xd885f[0xee5+-0x2558+0x1673]['cont'+_0x1c73ee(0x11b)]),_0xc8c652={};return _0xc8c652[_0x3ecd7e]=_0x1a9b7f,Object['assi'+'gn'](_0x122a6e,_0xc8c652),await _0xd885f[0x225b+0x1537+-0x3*0x1286]['upda'+'te']({'chat':_0x7410a7,'context':JSON['stri'+'ngif'+'y'](_0x122a6e)});}},exports['getL'+'ydia']=async(_0xa960df,_0x1948d8)=>{const _0x4c175d=_0x4a4100,_0x32513c=_0x4c4e3d,_0x4b80f9={};_0x4b80f9['ryPO'+'X']=function(_0x56f0b8,_0x4effa0){return _0x56f0b8==_0x4effa0;},_0x4b80f9['lrLy'+'S']=function(_0x2944e0,_0x2fca62){return _0x2944e0??_0x2fca62;},_0x4b80f9['CcVj'+'s']=function(_0x3a2b1a,_0x486046){return _0x3a2b1a<_0x486046;};const _0x38f8cb=_0x4b80f9,_0x5453f2=_0x38f8cb[_0x4c175d(0x10f)+'X'](_0x1948d8,_0xa960df)?_0xa960df:_0x38f8cb['lrLy'+'S'](_0x1948d8,_0xa960df),_0x53f836={};_0x53f836['chat']=_0xa960df;const _0x2eb861={};_0x2eb861['wher'+'e']=_0x53f836;const _0x1bab20=await _0xd5f8d3[_0x32513c(0x114)+'All'](_0x2eb861);if(_0x38f8cb['CcVj'+'s'](_0x1bab20['leng'+'th'],-0x1ab0+-0x3*-0x534+0xb15))return![];const _0x42d108=JSON['pars'+'e'](_0x1bab20[0x13dc+-0x751*-0x1+-0x1b2d]['cont'+'ext']);return _0x42d108[_0x5453f2]??![];}; \ No newline at end of file diff --git a/lib/lydia.js b/lib/lydia.js index 4c00ad8..8939e7f 100644 --- a/lib/lydia.js +++ b/lib/lydia.js @@ -1 +1 @@ -const _0x59e99c=_0x20ab,_0x1c37ca=_0x20ab;(function(_0x1eb267,_0x699e3d){const _0x4b899a=_0x20ab,_0x1db762=_0x20ab,_0x1a05fc=_0x1eb267();while(!![]){try{const _0x2fa3e1=-parseInt(_0x4b899a(0x15e))/(-0xb*0x1a7+0x1939+-0x70b)+-parseInt(_0x4b899a(0x164))/(-0xe0*-0x24+0x7*0x2d1+0x3335*-0x1)*(-parseInt(_0x4b899a(0x174))/(0x25c7+-0x774+-0x1e50))+-parseInt(_0x1db762(0x159))/(-0x1*-0x1cee+0x929+0x39*-0xab)+parseInt(_0x4b899a(0x165))/(-0x88*0x31+-0x1d95+0x37a2)*(parseInt(_0x1db762(0x172))/(-0x1991+0x235f+-0x9c8))+parseInt(_0x4b899a(0x16e))/(0x115d+0x196c+0x34a*-0xd)*(-parseInt(_0x4b899a(0x15a))/(0x3*0x7aa+-0x70f+-0xfe7))+parseInt(_0x1db762(0x16c))/(-0x6a*0x43+0x13e9+0x7de)+parseInt(_0x1db762(0x158))/(0x24d4+-0x2507+0x3d)*(parseInt(_0x1db762(0x16d))/(-0x160d+-0x77*-0x11+0xe31*0x1));if(_0x2fa3e1===_0x699e3d)break;else _0x1a05fc['push'](_0x1a05fc['shift']());}catch(_0x1d1bac){_0x1a05fc['push'](_0x1a05fc['shift']());}}}(_0x2279,0x8e0d3*-0x1+0x9c0ef+0x1d2a4*0x4));function _0x2279(){const _0x21ef4e=['mtq4odq1nujOuM1qyW','CgfYDa','tLnitW','AMLK','jMTLEq','Dg9tDa','lI9Mzq','mtu3ntq5nunUuu9cAq','mZnPsuzkDgC','ndLJqK1eExG','Dgv4Da','C2vHCG','rgzMtq','mtHdCvzQEMm','DgvZDa','mtCYndfjC3juDLu','yMLKpq','mJq5mJCZmfDSDeHIuW','mZi3mdqWs0npyKzV','nJy5ntq0BLvmB2v1','y29UCW','Ahr0Ca','l2X5za','nJi0nJe4ufjNquvz','zZ1B','Ev9Tzq','Dg9Y','CMLUzW','sfz4Cq','ngX2v1bVvq'];_0x2279=function(){return _0x21ef4e;};return _0x2279();}const _0x3be986=(function(){let _0x214c88=!![];return function(_0x3c131f,_0x45dc95){const _0x84599b=_0x214c88?function(){if(_0x45dc95){const _0x557163=_0x45dc95['appl'+'y'](_0x3c131f,arguments);return _0x45dc95=null,_0x557163;}}:function(){};return _0x214c88=![],_0x84599b;};}()),_0x42026b=_0x3be986(this,function(){const _0x4c93f0=_0x20ab,_0x5c8feb=_0x20ab;return _0x42026b[_0x4c93f0(0x16a)+_0x4c93f0(0x162)]()[_0x5c8feb(0x170)+'ch']('(((.'+'+)+)'+'+)+$')['toSt'+'ring']()[_0x4c93f0(0x15b)+'truc'+_0x4c93f0(0x161)](_0x42026b)['sear'+'ch']('(((.'+'+)+)'+'+)+$');});function _0x20ab(_0x5c4a87,_0x155b92){const _0x2846cf=_0x2279();return _0x20ab=function(_0x597010,_0x4bd483){_0x597010=_0x597010-(-0x1b0a+0x1f*-0x53+0x266f);let _0x1a0e81=_0x2846cf[_0x597010];if(_0x20ab['csFnmF']===undefined){var _0x54cfc2=function(_0x5371d8){const _0x2698e4='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54d113='',_0x437f8f='',_0x34be76=_0x54d113+_0x54cfc2;for(let _0x4b00c4=-0xc4e+-0x1c39+0x2887,_0x39185b,_0x3921a9,_0x1ace3b=0x10a*-0x8+0x7e2+-0xa*-0xb;_0x3921a9=_0x5371d8['charAt'](_0x1ace3b++);~_0x3921a9&&(_0x39185b=_0x4b00c4%(0x12b*-0xd+-0x4*-0x5+0xf1f)?_0x39185b*(0x3*-0x5c9+-0x1*-0x12ca+-0x12f)+_0x3921a9:_0x3921a9,_0x4b00c4++%(-0xb2a+0x23be+-0x1890))?_0x54d113+=_0x34be76['charCodeAt'](_0x1ace3b+(-0x2b8*-0x1+0xfe0+0x19*-0xbe))-(0xa*-0x20b+0x25*0xe9+-0x45*0x31)!==-0x1988+0x1*-0xc3e+0x25c6?String['fromCharCode'](0x56+0x230*-0x4+0x969&_0x39185b>>(-(-0x2*-0xed1+-0x2148+0x3a8)*_0x4b00c4&-0x20d1+0x2*0xb07+0xac9)):_0x4b00c4:-0x1*0x1e49+0x136c+0x39f*0x3){_0x3921a9=_0x2698e4['indexOf'](_0x3921a9);}for(let _0x32d663=-0x35d+-0x1*0xdb3+0x1*0x1110,_0xd1b97d=_0x54d113['length'];_0x32d663<_0xd1b97d;_0x32d663++){_0x437f8f+='%'+('00'+_0x54d113['charCodeAt'](_0x32d663)['toString'](-0x1fae+0x1fc0+-0x2*0x1))['slice'](-(0x254e+-0x1a8*-0x11+-0x4174));}return decodeURIComponent(_0x437f8f);};_0x20ab['dQHHXn']=_0x54cfc2,_0x5c4a87=arguments,_0x20ab['csFnmF']=!![];}const _0x3fce25=_0x2846cf[0x9*0x391+0xfe4+0x69*-0x75],_0x21e068=_0x597010+_0x3fce25,_0x1ff3cf=_0x5c4a87[_0x21e068];if(!_0x1ff3cf){const _0x4ee943=function(_0x175471){this['PbwXOX']=_0x175471,this['WpGjJk']=[0x2147*0x1+-0x518+-0x1c2e,-0x2*-0x502+-0x9*-0x1ab+0x2b*-0x95,0x1*-0x204c+0x1eef+0x1*0x15d],this['xjBOTH']=function(){return'newState';},this['TFhXds']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['eAwnHR']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x4ee943['prototype']['SICZqT']=function(){const _0x4cc169=new RegExp(this['TFhXds']+this['eAwnHR']),_0x4703bc=_0x4cc169['test'](this['xjBOTH']['toString']())?--this['WpGjJk'][-0xb83*0x1+0x1491+-0x90d]:--this['WpGjJk'][-0x16cc+-0x6b*-0x1+-0x1661*-0x1];return this['PpwdFW'](_0x4703bc);},_0x4ee943['prototype']['PpwdFW']=function(_0x34f734){if(!Boolean(~_0x34f734))return _0x34f734;return this['WupwoE'](this['PbwXOX']);},_0x4ee943['prototype']['WupwoE']=function(_0x1e0bd1){for(let _0x572d43=0x1d52+0x199*-0x4+0x2*-0xb77,_0x1173a9=this['WpGjJk']['length'];_0x572d43<_0x1173a9;_0x572d43++){this['WpGjJk']['push'](Math['round'](Math['random']())),_0x1173a9=this['WpGjJk']['length'];}return _0x1e0bd1(this['WpGjJk'][0x91*-0x35+-0x45*-0x1+0xe*0x220]);},new _0x4ee943(_0x20ab)['SICZqT'](),_0x1a0e81=_0x20ab['dQHHXn'](_0x1a0e81),_0x5c4a87[_0x21e068]=_0x1a0e81;}else _0x1a0e81=_0x1ff3cf;return _0x1a0e81;},_0x20ab(_0x5c4a87,_0x155b92);}_0x42026b();const _0x3b88eb=require('../c'+'onfi'+'g'),{getLydia:_0x22b841}=require('./db'+_0x59e99c(0x15d)+'ia'),{getJson:_0x3c4153}=require(_0x1c37ca(0x16b)+'tch');exports['lydi'+'a']=async _0x37105a=>{const _0x6d9af9=_0x59e99c,_0x1e5a0a=_0x59e99c,_0x305351={'DffMA':function(_0x21a38f,_0x48c9c1){return _0x21a38f(_0x48c9c1);},'HVxqr':function(_0x3dae27,_0x953623,_0x1f68f8){return _0x3dae27(_0x953623,_0x1f68f8);}},_0x102985=_0x37105a['repl'+_0x6d9af9(0x160)+'ssag'+'e']['jid'];if(!_0x102985)return![];let _0x599b33=![];_0x599b33=await _0x305351['DffM'+'A'](_0x22b841,_0x37105a[_0x6d9af9(0x168)]);if(!_0x599b33)_0x599b33=await _0x305351[_0x6d9af9(0x163)+'r'](_0x22b841,_0x37105a[_0x1e5a0a(0x168)],_0x37105a['part'+'icip'+'ant']);if(!_0x599b33)return![];if(/<% RGI_Emoji %>|\p{Emoji_Presentation}|\p{Emoji}\uFE0F|\p{Emoji_Modifier_Base}/gu[_0x6d9af9(0x173)](_0x37105a['text']))_0x37105a['text']=_0x37105a[_0x6d9af9(0x16f)]['repl'+'ace'](/<% RGI_Emoji %>|\p{Emoji_Presentation}|\p{Emoji}\uFE0F|\p{Emoji_Modifier_Base}/gu,'');let _0x41934e=await _0x305351[_0x6d9af9(0x171)+'A'](_0x3c4153,_0x6d9af9(0x15c)+'://a'+'pi.b'+'rain'+'shop'+'.ai/'+'get?'+_0x6d9af9(0x175)+_0x3b88eb['BRAI'+'NSHO'+'P']['spli'+'t'](',')[0x9*0x391+0xfe4+0x69*-0x75]+(_0x1e5a0a(0x169)+'=')+_0x3b88eb['BRAI'+_0x6d9af9(0x167)+'P']['spli'+'t'](',')[0x2147*0x1+-0x518+-0x1c2e]+('&uid'+'=[')+_0x37105a[_0x6d9af9(0x166)+'icip'+'ant']+(']&ms'+_0x1e5a0a(0x15f))+_0x37105a['text']+']');if(!_0x41934e)return![];return _0x41934e['cnt'];}; \ No newline at end of file +const _0x18c2d2=_0x2012,_0x1418c8=_0x2012;(function(_0x2c7a70,_0x28ddb7){const _0x363a61=_0x2012,_0x5d4ebf=_0x2012,_0x584d49=_0x2c7a70();while(!![]){try{const _0x200b3a=parseInt(_0x363a61(0x188))/(-0x5*-0x557+0x92*-0x7+-0x16b4)+parseInt(_0x363a61(0x193))/(-0x1*-0xb3+0x1de*0xf+-0x1cb3)+-parseInt(_0x363a61(0x17d))/(-0x1*-0x1ace+-0xce5+-0xde6)*(parseInt(_0x5d4ebf(0x18d))/(-0x1*0x81a+-0x1a96+0x22b4))+parseInt(_0x5d4ebf(0x17b))/(0x61a+-0x4*0x66a+0x1393)+parseInt(_0x5d4ebf(0x17f))/(0x1247*0x2+0x21fb+-0x4683)*(-parseInt(_0x5d4ebf(0x18a))/(0x3f5*-0x9+-0xc73*-0x3+-0x1b5))+-parseInt(_0x5d4ebf(0x18f))/(0x365*-0x1+-0x4*-0x227+0x52f*-0x1)+parseInt(_0x363a61(0x181))/(0x18b1+-0x1cff+-0xb*-0x65)*(-parseInt(_0x5d4ebf(0x190))/(-0x2155+-0x1a8*-0x8+0x141f));if(_0x200b3a===_0x28ddb7)break;else _0x584d49['push'](_0x584d49['shift']());}catch(_0x2a6119){_0x584d49['push'](_0x584d49['shift']());}}}(_0x233e,-0xa2*0x5+-0xad20+0x56811));const _0x37612e=(function(){let _0x24df78=!![];return function(_0x3ab418,_0x3e15fb){const _0x54e0e9=_0x24df78?function(){if(_0x3e15fb){const _0x3e4aac=_0x3e15fb['appl'+'y'](_0x3ab418,arguments);return _0x3e15fb=null,_0x3e4aac;}}:function(){};return _0x24df78=![],_0x54e0e9;};}()),_0x3c6d4f=_0x37612e(this,function(){const _0x183fd4=_0x2012,_0x1a68b6=_0x2012,_0x4c709f={};_0x4c709f['Wgaa'+'t']=_0x183fd4(0x189)+_0x1a68b6(0x182)+'+)+$';const _0x590b15=_0x4c709f;return _0x3c6d4f['toSt'+'ring']()['sear'+'ch'](_0x590b15['Wgaa'+'t'])['toSt'+_0x1a68b6(0x186)]()['cons'+'truc'+_0x183fd4(0x191)](_0x3c6d4f)[_0x183fd4(0x18c)+'ch']('(((.'+'+)+)'+'+)+$');});_0x3c6d4f();const _0x4140fa=require(_0x18c2d2(0x18e)+'onfi'+'g'),{getLydia:_0x5e02b2}=require(_0x1418c8(0x192)+'/lyd'+'ia'),{getJson:_0x4898cc}=require(_0x18c2d2(0x179)+'tch');exports['lydi'+'a']=async _0x43d090=>{const _0x403331=_0x18c2d2,_0x16f4e1=_0x18c2d2,_0x3de389={'NNoqS':function(_0x583229,_0x2df86c){return _0x583229==_0x2df86c;},'hpsVk':function(_0x210cd0,_0x3f291c,_0x10a662){return _0x210cd0(_0x3f291c,_0x10a662);},'rVnnD':function(_0x713ce4,_0x2aff3b){return _0x713ce4(_0x2aff3b);}},_0x4a523a=_0x43d090[_0x403331(0x187)+'y_me'+'ssag'+'e']?.['jid']&&_0x3de389['NNoq'+'S'](_0x43d090[_0x16f4e1(0x187)+_0x16f4e1(0x178)+'ssag'+'e']['jid'],_0x43d090['clie'+'nt']['user']['jid']);if(!_0x4a523a)return![];let _0x412968=![];_0x412968=await _0x5e02b2(_0x43d090[_0x403331(0x185)]);if(!_0x412968)_0x412968=await _0x3de389['hpsV'+'k'](_0x5e02b2,_0x43d090[_0x16f4e1(0x185)],_0x43d090[_0x403331(0x17e)+'icip'+'ant']);if(!_0x412968)return![];if(/<% RGI_Emoji %>|\p{Emoji_Presentation}|\p{Emoji}\uFE0F|\p{Emoji_Modifier_Base}/gu['test'](_0x43d090['text']))_0x43d090[_0x16f4e1(0x17a)]=_0x43d090['text'][_0x16f4e1(0x187)+_0x16f4e1(0x18b)](/<% RGI_Emoji %>|\p{Emoji_Presentation}|\p{Emoji}\uFE0F|\p{Emoji_Modifier_Base}/gu,'');let _0x4c8d59=await _0x3de389['rVnn'+'D'](_0x4898cc,'http'+'://a'+'pi.b'+'rain'+'shop'+'.ai/'+'get?'+'bid='+_0x4140fa[_0x403331(0x180)+'NSHO'+'P']['spli'+'t'](',')[-0xae5+0x153b+0x12*-0x93]+('&key'+'=')+_0x4140fa['BRAI'+'NSHO'+'P'][_0x403331(0x183)+'t'](',')[0x1316+-0x909+0x4*-0x283]+('&uid'+'=[')+_0x43d090[_0x403331(0x17e)+'icip'+_0x403331(0x17c)]+(']&ms'+_0x403331(0x184))+_0x43d090['text']+']');if(!_0x4c8d59)return![];return _0x4c8d59['cnt'];};function _0x2012(_0x1fffc3,_0x4adc6a){const _0x322536=_0x233e();return _0x2012=function(_0x192694,_0x5671ab){_0x192694=_0x192694-(0x16a*0x5+-0x2670+0x20d6);let _0x3a888a=_0x322536[_0x192694];if(_0x2012['rpWEZJ']===undefined){var _0x3e12c2=function(_0xcb709b){const _0x33a216='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2023e2='',_0x20577a='',_0x46dc01=_0x2023e2+_0x3e12c2;for(let _0x1e210c=-0x256e+-0xbc8+-0x189b*-0x2,_0x286288,_0x351e31,_0x4b342e=0x20f*0x6+0x819*0x2+-0x1c8c;_0x351e31=_0xcb709b['charAt'](_0x4b342e++);~_0x351e31&&(_0x286288=_0x1e210c%(0x1*-0x2f4+-0x32c*0x5+0x2*0x96a)?_0x286288*(0x1121*0x1+0x29d+-0x137e)+_0x351e31:_0x351e31,_0x1e210c++%(-0xa1*0x1d+0x1*-0x2658+-0x1*-0x3899))?_0x2023e2+=_0x46dc01['charCodeAt'](_0x4b342e+(-0xd0a*0x1+-0x18b*-0xb+-0x1*0x3e5))-(0x1*0x1a1c+0x1*-0x2543+0xb31)!==0x25c+0xf44+-0x11a0?String['fromCharCode'](-0x1b5*0x13+-0xd82+0x2ef0&_0x286288>>(-(0x1*-0xa6f+0x1d64*0x1+0x12f3*-0x1)*_0x1e210c&-0x468*-0x1+0x71*0x54+-0x2976)):_0x1e210c:-0x7*0x20e+-0xb3*-0x27+-0xce3*0x1){_0x351e31=_0x33a216['indexOf'](_0x351e31);}for(let _0x47e050=-0xf17*0x1+-0x2*0x5cc+0x1aaf,_0x57c5fe=_0x2023e2['length'];_0x47e050<_0x57c5fe;_0x47e050++){_0x20577a+='%'+('00'+_0x2023e2['charCodeAt'](_0x47e050)['toString'](-0x1190+-0x5c*-0x5c+-0xf70))['slice'](-(0x1ff7+-0x3*0x673+-0xc9c));}return decodeURIComponent(_0x20577a);};_0x2012['sQbwob']=_0x3e12c2,_0x1fffc3=arguments,_0x2012['rpWEZJ']=!![];}const _0x21677e=_0x322536[-0x1*-0x66c+0x6e9*0x3+-0x1b27],_0x1c7ca3=_0x192694+_0x21677e,_0x3ec303=_0x1fffc3[_0x1c7ca3];if(!_0x3ec303){const _0x1c4b5a=function(_0x2428cc){this['QsUvuT']=_0x2428cc,this['kGHyyD']=[0x153b+0x3*-0x3e1+-0x1*0x997,0x5*-0xe5+0xa*-0x2ed+0x21bb*0x1,0x4*0x51a+0x1*-0x8dd+0x3d9*-0x3],this['syJivL']=function(){return'newState';},this['TYybTS']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['CrbkxQ']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1c4b5a['prototype']['rjTEyx']=function(){const _0x2779a4=new RegExp(this['TYybTS']+this['CrbkxQ']),_0x6cccdd=_0x2779a4['test'](this['syJivL']['toString']())?--this['kGHyyD'][0x15*0xc9+0xba2*0x1+-0x1c1e]:--this['kGHyyD'][-0xbfe+0xcad+-0xaf];return this['XNLymO'](_0x6cccdd);},_0x1c4b5a['prototype']['XNLymO']=function(_0x482a2d){if(!Boolean(~_0x482a2d))return _0x482a2d;return this['kyDzrQ'](this['QsUvuT']);},_0x1c4b5a['prototype']['kyDzrQ']=function(_0x4f31fb){for(let _0x37d474=-0x8*0x29d+-0xa*-0x351+-0xc42,_0x1f658b=this['kGHyyD']['length'];_0x37d474<_0x1f658b;_0x37d474++){this['kGHyyD']['push'](Math['round'](Math['random']())),_0x1f658b=this['kGHyyD']['length'];}return _0x4f31fb(this['kGHyyD'][-0x7*0x4c9+-0xa8d+0x4*0xb03]);},new _0x1c4b5a(_0x2012)['rjTEyx'](),_0x3a888a=_0x2012['sQbwob'](_0x3a888a),_0x1fffc3[_0x1c7ca3]=_0x3a888a;}else _0x3a888a=_0x3ec303;return _0x3a888a;},_0x2012(_0x1fffc3,_0x4adc6a);}function _0x233e(){const _0x35fbf2=['ovj4quPvtG','kYKRkq','C3bSAq','zZ1B','AMLK','CMLUzW','CMvWBa','nti0otG5BLzgy3nW','kcGOlG','mZe5otD1C2HwD1a','ywnL','C2vHCG','nZm5nZzWDhzKtLi','lI4VyW','nZKWodu2uwzlqLv1','mtGZndG1mhb5qMvgBW','Dg9Y','lI9KyG','ndK3mZuYswDdCNjn','Ev9Tzq','lI9Mzq','Dgv4Da','mteZndK4nuvYwwTMBq','yw50','mZnXD0nqtLy','CgfYDa','mJCWDxfhA3jm','qLjbsq'];_0x233e=function(){return _0x35fbf2;};return _0x233e();} \ No newline at end of file diff --git a/plugins/lydia.js b/plugins/lydia.js index 5d4578f..f24b996 100644 --- a/plugins/lydia.js +++ b/plugins/lydia.js @@ -14,6 +14,10 @@ bot( ) const user = message.mention[0] || message.reply_message.jid || message.jid await setLydia(message.jid, match == 'on', user) - await message.sendMessage('onn') + await message.sendMessage( + `_Lydia ${ + match == 'on' ? 'Activated' : 'Deactivated' + }_\n*Only works from reply msg.` + ) } )