-
Notifications
You must be signed in to change notification settings - Fork 825
/
Copy path_antilink.js
1 lines (1 loc) · 2.57 KB
/
_antilink.js
1
const _0x1852fe=_0x5757;function _0x3ac3(){const _0x5812b7=['includes','594472lpgwNr','groupInviteCode','text','isBaileys','722031dqVOxU','exports','chat','data','3heLdZw','.admingc','opts','sendButton','3021928MJvDMU','sender','*Links\x20Detected!*','12243033xVxPti','\x0a\x0aIm\x20not\x20an\x20admin\x20so\x20I\x20cant\x20kick\x20t_t','https://chat.whatsapp.com/','restrict','\x0atype\x20*.on\x20restrict*\x20so\x20you\x20can\x20kick','2724690wlOQpE','before','https://','4778235juqSXX','antiLink','7UcrxTU','726034OTycAp','Tag\x20Admin','\x0a\x0aType\x20*.off\x20antilink*\x20to\x20turn\x20off\x20this\x20feature'];_0x3ac3=function(){return _0x5812b7;};return _0x3ac3();}function _0x5757(_0x3a9990,_0x1ab6d6){const _0x3ac315=_0x3ac3();return _0x5757=function(_0x57572c,_0x21927e){_0x57572c=_0x57572c-0x1d9;let _0x19ff2d=_0x3ac315[_0x57572c];return _0x19ff2d;},_0x5757(_0x3a9990,_0x1ab6d6);}(function(_0xd752a2,_0x465b49){const _0x10222f=_0x5757,_0xfcf481=_0xd752a2();while(!![]){try{const _0x137467=-parseInt(_0x10222f(0x1db))/0x1+parseInt(_0x10222f(0x1f1))/0x2*(parseInt(_0x10222f(0x1df))/0x3)+parseInt(_0x10222f(0x1e3))/0x4+parseInt(_0x10222f(0x1ee))/0x5+-parseInt(_0x10222f(0x1eb))/0x6*(-parseInt(_0x10222f(0x1f0))/0x7)+parseInt(_0x10222f(0x1f5))/0x8+-parseInt(_0x10222f(0x1e6))/0x9;if(_0x137467===_0x465b49)break;else _0xfcf481['push'](_0xfcf481['shift']());}catch(_0x455ac1){_0xfcf481['push'](_0xfcf481['shift']());}}}(_0x3ac3,0x7f00a));let handler=_0x1a049d=>_0x1a049d,linkRegex=/chat.whatsapp.com\/(?:invite\/)?([0-9A-Za-z]{20,24})/i;handler[_0x1852fe(0x1ec)]=async function(_0x4aa334,{isAdmin:_0x1d817a,isBotAdmin:_0x1e65b8}){const _0x45833e=_0x1852fe;if(_0x4aa334[_0x45833e(0x1da)]&&_0x4aa334['fromMe'])return!![];let _0x20fecf=global['db'][_0x45833e(0x1de)]['chats'][_0x4aa334[_0x45833e(0x1dd)]],_0x45a02f=_0x4aa334['text'][_0x45833e(0x1f4)](_0x45833e(0x1ed))||_0x4aa334[_0x45833e(0x1d9)][_0x45833e(0x1f4)]('http://');if(_0x20fecf[_0x45833e(0x1ef)]&&_0x45a02f&&!_0x1d817a&&!_0x4aa334[_0x45833e(0x1da)]&&_0x4aa334['isGroup']){let _0x4be3b5=_0x1e65b8?_0x45833e(0x1e8)+await conn[_0x45833e(0x1f6)](_0x4aa334[_0x45833e(0x1dd)]):0x0;if(_0x4aa334[_0x45833e(0x1d9)][_0x45833e(0x1f4)](_0x4be3b5)&&_0x4be3b5!=0x0)throw![];await this[_0x45833e(0x1e2)](_0x4aa334['chat'],_0x45833e(0x1e5)+(_0x1e65b8?'':_0x45833e(0x1e7))+_0x45833e(0x1f3)+(opts[_0x45833e(0x1e9)]?'':_0x45833e(0x1ea)),'©\x20Wizard-Ser',_0x45833e(0x1f2),_0x45833e(0x1e0),_0x4aa334);if(global[_0x45833e(0x1e1)][_0x45833e(0x1e9)]){if(_0x1e65b8)this['groupRemove'](_0x4aa334[_0x45833e(0x1dd)],[_0x4aa334[_0x45833e(0x1e4)]]);}}return!![];},module[_0x1852fe(0x1dc)]=handler;