@neoxr/wb
Version:
Simplicity WhatsApp Bot (Baileys)
2 lines • 5.98 kB
JavaScript
// https://www.npmjs.com/package/@neoxr/wb
'use strict';const S=E;(function(J,I){const a=E,F=J();while(!![]){try{const o=parseInt(a(0x1d4))/(-0x1b99+0x608+0x1f6*0xb)+-parseInt(a(0x1c9))/(0x546+0x75c+-0xca0)*(-parseInt(a(0x1ec))/(0x2438+-0x1f06+-0x52f))+parseInt(a(0x1f8))/(-0x145*0x14+0x239b+0x7*-0x175)*(parseInt(a(0x1e8))/(0x1*0x23f3+0x227e+-0x466c))+parseInt(a(0x1fc))/(0x20bb+-0x10b9+-0x7c*0x21)+parseInt(a(0x1f0))/(-0x14*0x11b+-0xbd4+0x21f7)*(-parseInt(a(0x1d5))/(0x5*0x31+-0xc35+0xb48))+-parseInt(a(0x1d7))/(0xd9b+0x8*0x4c7+0x7*-0x766)*(parseInt(a(0x219))/(-0x15ec+-0xc2*-0x1f+0x38*-0x7))+-parseInt(a(0x1ce))/(0xb0*-0x22+0xd9a+0x9d1);if(o===I)break;else F['push'](F['shift']());}catch(T){F['push'](F['shift']());}}}(k,-0xab56+-0x13182e+0x1e82c4));function E(J,I){const F=k();return E=function(o,T){o=o-(-0x13*-0x115+0x36f+-0x1640);let n=F[o];return n;},E(J,I);}var __importDefault=this&&this[S(0x201)+S(0x20e)]||function(J){const x=S;return J&&J[x(0x217)]?J:{'default':J};};Object[S(0x1e2)+S(0x214)](exports,S(0x217),{'value':!![]});function k(){const Y=['IS_TEMPORA','ver\x20spam.','users','push','PERMANENT_','ave\x20been\x20t','cooldown','ted,\x20coold','ause\x20you\x20o','CQQLy','Stfdk','fault','\x20seconds.','You\x20are\x20pe','own\x20for\x20','IS_SAVE','chat','erty','BANNED_THR','hcAUK','__esModule','Tesze','20jXvesA','4|2','peek','pushId','spam_point','_id','IS_HOLD','IS_BANNED','IS_NOTIFY','OqOEb','ESHOLD','\x20times.','1444414Eisnnh','You\x20were\x20t','detection','banned_tim','OTBjk','18010927BeBPsV','SANDN','find','foReb','\x20banned\x20fo','NOTIFY_THR','796205AjMXyt','16FJSlUg','ban_times','2437353SmOFxO','banned\x20bec','banned','ary','Spam\x20detec','RESET_TIME','nbiab','hold','getTime','THRESHOLD','EtLtL','defineProp','\x20minutes\x20c','commands','prefix','show','split','25zcTurQ','state','HOLD_TIMER','yHePW','3WlcCVQ','wTyQP','./logs','ptLap','1348669Vlulqz','now','tLHEP','mFeGf','default','5|6|3|0|1|','Ptxcs','ause\x20you\x20h','391956niYKDU','emporarily','sender','iMtCf','7561728hRsoSt','hgFtm','command','rmanently\x20','fromMe','__importDe','ban_tempor'];k=function(){return Y;};return k();}const logs_1=__importDefault(require(S(0x1ee)));class SpamDetector{constructor(J={}){const G=S,I={'yHePW':G(0x212),'tLHEP':function(F,o){return F>o;},'foReb':function(F,o){return F-o;},'Stfdk':G(0x1f5)+G(0x1be),'CQQLy':function(F,o){return F>=o;},'hcAUK':G(0x1c4),'hgFtm':function(F,o){return F==o;},'iMtCf':G(0x1c5),'nbiab':G(0x1c3),'Tesze':function(F,o){return F>=o;},'Ptxcs':function(F,o){return F>=o;},'ptLap':function(F,o){return F>=o;},'OqOEb':G(0x203)+'RY','EtLtL':function(F,o){return F/o;},'SANDN':function(F,o){return F/o;},'OTBjk':function(F,o,T){return F(o,T);},'wTyQP':function(F,o){return F*o;},'mFeGf':function(F,o){return F>=o;}};this[G(0x205)]=[],this[G(0x1c0)]=F=>{const N=G;this[N(0x205)][N(0x206)]({'_id':F,'spam_point':0x1});},this[G(0x1bf)]=F=>this[G(0x205)][G(0x1d0)](o=>o[G(0x1c2)]===F),this[G(0x1cb)]=(F,o,T)=>{const h=G,n=T[h(0x209)][h(0x1de)](o[h(0x213)])[h(0x1e9)];let p=this[h(0x1bf)](o[h(0x1fa)]);if(!o[h(0x200)]&&!p)return this[h(0x1c0)](o[h(0x1fa)]),(0x25ef+0x53b*-0x4+-0x1103*0x1,logs_1[h(0x1f4)])(F,o,{'prefix':T[h(0x1e5)],'command':T[h(0x1fe)],'commands':T[h(0x1e4)],'show':T[h(0x1e6)],'isSpam':![]}),{'state':I[h(0x1eb)]};else{if(!o[h(0x200)]&&I[h(0x1f2)](I[h(0x1d1)](Date[h(0x1f1)](),T[h(0x205)][h(0x202)+h(0x1da)]),this[h(0x1ea)])){if(!T[h(0x205)][h(0x1d9)]&&!o[h(0x200)]){const P=I[h(0x20d)][h(0x1e7)]('|');let l=-0x10*0x23b+0x587+0x1*0x1e29;while(!![]){switch(P[l++]){case'0':if(I[h(0x20c)](T[h(0x1cc)+'es'],this[h(0x207)+h(0x1e0)]))return T[h(0x205)][h(0x1d9)]=!![],T[h(0x205)][h(0x202)+h(0x1da)]=0x1b1f+-0xbbf*-0x3+-0xd*0x4cc,T[h(0x205)][h(0x1d6)]=-0xd62*0x2+-0xa1*0x7+-0x4f*-0x65,{'state':I[h(0x216)],'msg':h(0x210)+h(0x1ff)+h(0x1d8)+h(0x1f7)+h(0x208)+h(0x1f9)+h(0x1d2)+'r\x20'+this[h(0x207)+h(0x1e0)]+h(0x1c8)};continue;case'1':if(p&&I[h(0x1fd)](p[h(0x1c1)],this[h(0x1d3)+h(0x1c7)]))return{'state':I[h(0x1fb)],'msg':h(0x1db)+h(0x20a)+h(0x211)+this[h(0x1dc)+'R']+h(0x20f)};continue;case'2':return{'state':n?I[h(0x1dd)]:I[h(0x1eb)]};case'3':(-0xfc+-0x8bd+0x9b9*0x1,logs_1[h(0x1f4)])(F,o,{'prefix':T[h(0x1e5)],'command':T[h(0x1fe)],'commands':T[h(0x1e4)],'show':T[h(0x1e6)],'isSpam':p&&(I[h(0x218)](p?.[h(0x1c1)],this[h(0x1d3)+h(0x1c7)])||I[h(0x1f6)](p?.[h(0x1c1)],this[h(0x215)+h(0x1c7)]))&&!o[h(0x200)]});continue;case'4':if(p&&I[h(0x1ef)](p[h(0x1c1)],this[h(0x215)+h(0x1c7)]))return T[h(0x205)][h(0x202)+h(0x1da)]=new Date()[h(0x1df)](),T[h(0x205)][h(0x1d6)]+=-0x1d79+0x3*0x805+-0x13*-0x49,{'state':I[h(0x1c6)],'msg':h(0x1ca)+h(0x1f9)+h(0x1d2)+'r\x20'+I[h(0x1e1)](I[h(0x1cf)](this[h(0x1ea)],0x1cff+-0xf7e+-0x999),-0x23f1+-0x1*0x1c3d+0x406a)+(h(0x1e3)+h(0x20b)+h(0x204))};continue;case'5':if(p)p[h(0x1c1)]+=0x19*-0xfb+-0x5c0+0x1e44;continue;case'6':if(p&&I[h(0x218)](p[h(0x1c1)],0x189b*-0x1+0x1cd+0x1*0x16d0))I[h(0x1cd)](setTimeout,()=>{const g=h;if(p)p[g(0x1c1)]=-0x44a+-0x302*0x7+0x1958;},I[h(0x1ed)](this[h(0x1dc)+'R'],-0x247c+-0x170d*0x1+0x3f71));continue;}break;}}}else{if(p)p[h(0x1c1)]+=0x25d*0x5+0xad*0x15+-0x1a01;if(p&&I[h(0x1f3)](p[h(0x1c1)],0x17a4+-0x657+-0x1*0x114b))I[h(0x1cd)](setTimeout,()=>{const i=h;if(p)p[i(0x1c1)]=-0x32b*0x2+0x1088+0xa*-0x105;},I[h(0x1ed)](this[h(0x1dc)+'R'],-0xeac+-0x4f*-0x22+0x816));return(-0xe87*0x2+-0x110d+-0x1*-0x2e1b,logs_1[h(0x1f4)])(F,o,{'prefix':T[h(0x1e5)],'command':T[h(0x1fe)],'commands':T[h(0x1e4)],'show':T[h(0x1e6)],'isSpam':p&&(I[h(0x1f3)](p[h(0x1c1)],this[h(0x1d3)+h(0x1c7)])||I[h(0x20c)](p[h(0x1c1)],this[h(0x215)+h(0x1c7)]))&&!o[h(0x200)]}),{'state':n?I[h(0x1dd)]:I[h(0x1eb)]};}}},this[G(0x1dc)+'R']=J[G(0x1dc)+'R']||0x1a23+0xc2*-0x2+0x9*-0x16f,this[G(0x1ea)]=J[G(0x1ea)]||0xd6874+-0x2145d7+0x2f54a3,this[G(0x207)+G(0x1e0)]=J[G(0x207)+G(0x1e0)]||-0x15aa+0xab6+0x191*0x7,this[G(0x1d3)+G(0x1c7)]=J[G(0x1d3)+G(0x1c7)]||0x1ab8+-0x590+0x3*-0x70c,this[G(0x215)+G(0x1c7)]=J[G(0x215)+G(0x1c7)]||0x1601+-0x1c84+0x688;}}exports[S(0x1f4)]=SpamDetector;