-
Notifications
You must be signed in to change notification settings - Fork 190
/
index.js
1 lines (1 loc) · 45.6 KB
/
index.js
1
const a64_0x3172fa=a64_0x20db;(function(_0x2b7a1a,_0x1c1318){const _0x5031bf=a64_0x20db,_0xeb8c8f=_0x2b7a1a();while(!![]){try{const _0x162b07=-parseInt(_0x5031bf(0x1f2))/0x1+-parseInt(_0x5031bf(0x212))/0x2*(-parseInt(_0x5031bf(0x140))/0x3)+-parseInt(_0x5031bf(0x17d))/0x4*(parseInt(_0x5031bf(0x1df))/0x5)+-parseInt(_0x5031bf(0x1fb))/0x6+parseInt(_0x5031bf(0x1ff))/0x7+parseInt(_0x5031bf(0x199))/0x8+-parseInt(_0x5031bf(0x152))/0x9*(-parseInt(_0x5031bf(0x1e1))/0xa);if(_0x162b07===_0x1c1318)break;else _0xeb8c8f['push'](_0xeb8c8f['shift']());}catch(_0x313b02){_0xeb8c8f['push'](_0xeb8c8f['shift']());}}}(a64_0x3eb1,0xb1420));const {makeWASocket,fetchLatestBaileysVersion,useMultiFileAuthState,makeCacheableSignalKeyStore,DisconnectReason,makeInMemoryStore,getContentType,jidDecode,delay,downloadMediaMessage,downloadContentFromMessage}=require(a64_0x3172fa(0x22e)),{Boom}=require(a64_0x3172fa(0x23d)),{default:pino}=require(a64_0x3172fa(0x1bd)),conf=require('./set'),fs=require(a64_0x3172fa(0x1dd));function a64_0x20db(_0x221705,_0x1009b9){const _0x3eb168=a64_0x3eb1();return a64_0x20db=function(_0x20db23,_0x1e18dd){_0x20db23=_0x20db23-0x10e;let _0x54e6fd=_0x3eb168[_0x20db23];return _0x54e6fd;},a64_0x20db(_0x221705,_0x1009b9);}let evt=require('./framework/zokou');const {reagir}=require(a64_0x3172fa(0x15a));let path=require(a64_0x3172fa(0x22a));const FileType=require(a64_0x3172fa(0x111)),{Sticker,StickerTypes}=require(a64_0x3172fa(0x244));var session=conf[a64_0x3172fa(0x1f6)][a64_0x3172fa(0x18b)](/HACKING-MD;;;=>/g,'');const NodeCache=require('node-cache'),prefixe=conf[a64_0x3172fa(0x165)],{verifierEtatJid,recupererActionJid}=require(a64_0x3172fa(0x1b2)),{atbverifierEtatJid,atbrecupererActionJid}=require(a64_0x3172fa(0x145)),{isUserBanned,addUserToBanList,removeUserFromBanList}=require('./bdd/banUser'),{addGroupToBanList,isGroupBanned,removeGroupFromBanList}=require('./bdd/banGroup'),{isGroupOnlyAdmin,addGroupToOnlyAdminList,removeGroupFromOnlyAdminList}=require('./bdd/onlyAdmin'),{recupevents}=require('./bdd/welcome'),{isGroupspam}=require(a64_0x3172fa(0x1d3)),{dbCache}=require(a64_0x3172fa(0x1c1));async function authentification(){const _0x29c29b=a64_0x3172fa;try{if(!fs[_0x29c29b(0x1d0)](__dirname+_0x29c29b(0x187)))console[_0x29c29b(0x18f)]('connexion\x20depuis\x20la\x20variable\x20session_id'),await fs['writeFileSync'](__dirname+_0x29c29b(0x187),atob(session),'utf8');else fs[_0x29c29b(0x1d0)](__dirname+'/auth/creds.json')&&session!=_0x29c29b(0x184)&&(console[_0x29c29b(0x18f)](_0x29c29b(0x180)),await fs[_0x29c29b(0x12f)](__dirname+'/auth/creds.json',atob(session),_0x29c29b(0x1fd)));}catch(_0x11139b){console['log']('Session\x20Invalide\x20'+_0x11139b);return;}}authentification();function a64_0x3eb1(){const _0x267393=['\x20a\x20enfreint\x20la\x20règle\x20de\x20l\x27antidemote\x20car\x20il\x20a\x20denommer\x20@','test','1595940LipjBI','number','utf8','messageContextInfo','4827522IRQdov','getCmdById','split','downloadAndSaveMediaMessage','FULL','2250705607226','LECTURE_AUTO_STATUS','author','mimetype','goodbye','\x20avertissement(s)\x20et\x20vous\x20serrez\x20viré\x20du\x20groupe','push','cnt','sendMessage','videoMessage','trim','./bdd/mention','C\x27est\x20l\x27heure\x20d\x27ouvrir\x20les\x20portes\x20de\x20notre\x20\x20groupe\x20!\x20Bienvenue\x20à\x20tous\x20dans\x20cette\x20communauté\x20passionnante\x20où\x20nous\x20partageons\x20et\x20apprenons\x20ensemble.','remove','28YukNVE','Un\x20ou\x20des\x20membres\x20vient(nent)\x20de\x20quitter\x20le\x20groupe;\x0a','\x20n\x27a\x20pas\x20pu\x20être\x20chargé\x20pour\x20les\x20raisons\x20suivantes\x20:\x20','\x20installé\x20✔️','etat','action','mention\x20pas\x20actifs','message\x20from\x20me','changeAfkState','[email protected]','fromBuffer','URL','store','NOM_OWNER','antibot\x20','no\x20url','sticker','\x20a\x20enfreinst\x20la\x20règle\x20de\x20l\x27antipromote\x20par\x20consequent\x20lui\x20et\x20@','admin','\x20ont\x20été\x20demis\x20des\x20droits\x20d\x27aministration','error','safari','Je\x20suis\x20mentionner','./bdd/warn','path','La\x20session\x20id\x20est\x20erronee,\x20\x20veillez\x20la\x20remplacer','\x20:\x20','sendPresenceUpdate','@whiskeysockets/baileys','connectionLost','audioMessage','J\x27ai\x20besoin\x20des\x20droits\x20d\x27administrations\x20pour\x20agire','./framework/traduction','Erreur\x20lors\x20de\x20la\x20traduction\x20en\x20français\x20:','PM_PERMIT','╔════◇◇◇═════╗\x0a║\x20Souhaitons\x20la\x20bienvenue\x20au(x)\x20nouveau(x)\x20membre(s)\x0a║\x20*Nouveau(x)\x20Membre(s)\x20:*\x0a','\x20*\x20*\x20*','announcement','/commandes','subject','statusCode','ETAT','random','@hapi/boom','loggedOut','contextInfo','owner','msg','inStickCmd','Vous\x20n\x27avez\x20plus\x20acces\x20au\x20commandes\x20du\x20bots','wa-sticker-formatter','privé','------\x20contenu\x20du\x20message\x20------','toLowerCase','slice','file-type','\x20a\x20','fonction','stickerMessage','lien','set','@g.us','message\x20supprimé\x20\x0a\x20@','oui','./bdd/sudo','antidemote','mtype','toLocaleLowerCase','\x20veillez\x20eviter\x20d\x27utiliser\x20des\x20bots.','warn','documentMessage','transparent','connexion\x20au\x20serveur\x20perdue\x20😞\x20,,,\x20reconnexion\x20en\x20cours\x20...\x20','group-participants.update','nomCom','status@broadcast','assign','profilePictureUrl','schedule','has','22545065189','listResponseMessage','./bdd/afk','non','supp','writeFileSync','------------------Media------sent--------------------','off','includes','retirer','Raison\x20de\x20deconnection\x20inattendue\x20;\x20redemarrage\x20du\x20server','===========\x20Nouveau\x20message\x20===========','join','audio/mp4','1.0.0','chargement\x20des\x20commandes\x20terminé\x20✅','\x20veillez\x20eviter\x20d\x27envoyer\x20des\x20lien.','unlink','@s.whatsapp.net','\x20secondes\x20pour\x20reutiliser\x20a\x20nouveau','Connexion\x20fermee\x20,\x20reconnexion\x20en\x20cours','CHATBOT','16662KACYpC','delay','shift','groupParticipantsUpdate','banuser','./bdd/antibot','mediaKey','MODE','bot\x20message','s.whatsapp.net','WARN_COUNT','./auth','caption','2250705607226','./bdd/cron','TELECHARGER_AUTO_STATUS','bot\x20detecté;\x0a\x20passez\x20encore\x20','public','5656077TFsUCk','pm2\x20restart\x20all','length','3EB0','\x20rétiré\x20du\x20groupe.','lien\x20détecté,\x20\x0a','toBuffer','reaction','./framework/app','connectionClosed','promote','not_announcement','filter','close','groupMetadata','silent','Sender\x20must\x20be\x20a\x20string','sender','ChatJid\x20must\x20be\x20a\x20string','PREFIXE','st1.webp','https://','video','catch','notify','key','readMessages','Veillez\x20eviter\x20de\x20spammer,\x20patienter\x20','fromMe','messages.upsert','BAE5','status','./bdd/level','type','extname','NUMERO_OWNER','contacts','loadMessage','conversation','Lien\x20detecté\x20;\x0a\x20passez\x20encore\x20','onlyadmin','imageMessage','recording','52sokODq','Envoyez\x20*noafk*\x20si\x20vous\x20voulez\x20desactiver\x20l\x27afk','function','-------------en\x20cours----------------','antispam','connection.update','keys','zokk','\x20H\x20','indéfini','/auth/creds.json','badSession','user','etablissement\x20d\x27un\x20automute\x20pour\x20','replace','participant','2250507646665','message\x20provenant\x20du\x20groupe\x20:\x20','log','Afk\x20desactiver!','Bot\x20message','viewOnceMessageV2','./media/chrono.jpg','toFile','selectedButtonId','open','child_process','awaitForMessage','5420600KQoKgf','Zoou-Md','image','reactionMessage','noafk','redémarrage\x20en\x20cours\x20▶️','readdirSync','floor','contacts.upsert','endsWith','\x20a\x20ete\x20retirer\x20pour\x20spam','mentionedJid','demote','#000000','Lien\x20detecté\x20;\x20vous\x20avez\x20atteint\x20le\x20nombre\x20maximal\x20d\x27avertissement\x20par\x20consequant\x20vous\x20serrez\x20retiré\x20du\x20groupe','refused','chatJid','type\x20de\x20message\x20:\x20','bangroup','audio','forEach','node-cron','sudo','remoteJid','12345','./bdd/antilien','find','get','vous\x20êtes\x20déconnecté,,,\x20veuillez\x20rescanner\x20le\x20code\x20qr\x20svp','readFromFile','Cas\x20de\x20superUser\x20je\x20fais\x20rien','antipromote','https://telegra.ph/file/4cc2712eee93c105f6739.jpg','BAES','singleSelectReply','connexion\x20réplacée\x20,,,\x20une\x20session\x20est\x20déjà\x20ouverte\x20veuillez\x20la\x20fermer\x20svp\x20!!!','pino','buttonsResponseMessage','url','message','./cache','now','Les\x20crons\x20n\x27ont\x20pas\x20été\x20activés','json','output','desc','child','antiien\x20','selectedRowId','group_id','server','text','Lien\x20envoyez\x20par\x20un\x20Superuser','bot\x20detecté\x20;\x20vous\x20avez\x20atteint\x20le\x20nombre\x20maximal\x20d\x27avertissement\x20par\x20consequant\x20vous\x20serrez\x20retiré\x20du\x20groupe','connecting','existsSync','unmute_at','getAfkById','./bdd/antispam','startsWith','😡😡\x20','group\x20on\x20only\x20admin','participants','Filter\x20must\x20be\x20a\x20function','║\x0a╚════◇◇◇═════╝\x0a◇\x20*Description*\x20\x20\x20◇\x0a\x0a','Zokou-md','readFileSync','connectionReplaced','fs-extra','╔════◇\x0a║\x20『HACKING 𝐌𝐃』\x0a║\x20\x20\x20\x20Prefix\x20:\x20[\x20','9040wyWnOO','then','10hjDKEu','quotedMessage','fetching\x20from\x20cache','bot\x20detecté;\x0a\x20La\x20prochaine\x20sera\x20la\x20bonne','viewOnceMessage','groupSettingUpdate','group.update','Options\x20must\x20be\x20an\x20object','writeToFile','Timeout','available','PM_PERMIT\x20ACTIVER','timeout','http://','string','Erreur\x20lors\x20de\x20la\x20requête\x20à\x20BrainShop\x20:','concat','1057888Fmuczt','etablissement\x20d\x27un\x20autounmute\x20pour\x20','extendedTextMessage','map','session','https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif','object'];a64_0x3eb1=function(){return _0x267393;};return a64_0x3eb1();}const logger=pino({'level':a64_0x3172fa(0x161)}),msgCache=new NodeCache({'stdTTL':0x14,'checkperiod':0x78}),groupMetadataCache=new NodeCache({'stdTTL':0x1770,'checkperiod':0x1388}),CmdColdCache=new NodeCache({'stdTTL':0x3c,'checkperiod':0x3c}),store=makeInMemoryStore({'logger':pino()[a64_0x3172fa(0x1c7)]({'level':a64_0x3172fa(0x161),'stream':a64_0x3172fa(0x21e)})});store[a64_0x3172fa(0x1b6)]('store.json'),setInterval(()=>{const _0x5e0395=a64_0x3172fa;store[_0x5e0395(0x1e9)]('store.json');},0x2710);async function connectToWhatsapp(){const _0x5679ab=a64_0x3172fa,{saveCreds:_0x5e160c,state:_0x3f4d4a}=await useMultiFileAuthState(_0x5679ab(0x14b)),{version:_0x5ab4c2,isLatest:_0x10a1eb}=await fetchLatestBaileysVersion(),_0x59d506=makeWASocket({'version':_0x5ab4c2,'logger':logger,'browser':[_0x5679ab(0x1da),_0x5679ab(0x227),_0x5679ab(0x138)],'emitOwnEvents':!![],'syncFullHistory':!![],'printQRInTerminal':!![],'markOnlineOnConnect':![],'receivedPendingNotifications':!![],'generateHighQualityLinkPreview':!![],'auth':{'creds':_0x3f4d4a['creds'],'keys':makeCacheableSignalKeyStore(_0x3f4d4a[_0x5679ab(0x183)],logger)},'keepAliveIntervalMs':0x7530,'getMessage':async _0x3b3759=>{const _0x4c8ccd=_0x5679ab;if(store){const _0x1d527f=await store[_0x4c8ccd(0x177)](_0x3b3759[_0x4c8ccd(0x1b0)],_0x3b3759['id']);return _0x1d527f?.[_0x4c8ccd(0x1c0)]||undefined;}}});store?.['bind'](_0x59d506['ev']);const _0x56519c=new NodeCache({'stdTTL':0x78,'checkperiod':0xf0});_0x59d506['ev']['on'](_0x5679ab(0x16f),async _0x429e50=>{const _0x3f9765=_0x5679ab,{messages:_0x4fc221}=_0x429e50,_0x239233=_0x4fc221[0x0];if(!_0x239233['message'])return;const _0x53602e=_0x543711=>{const _0x8c0eee=a64_0x20db;if(!_0x543711)return _0x543711;if(/:\d+@/gi[_0x8c0eee(0x1fa)](_0x543711)){let _0x534104=jidDecode(_0x543711)||{};return _0x534104[_0x8c0eee(0x189)]&&_0x534104[_0x8c0eee(0x1cb)]&&_0x534104['user']+'@'+_0x534104[_0x8c0eee(0x1cb)]||_0x543711;}else return _0x543711;};var _0x384a58=getContentType(_0x239233['message']),_0x41edd6=_0x384a58==_0x3f9765(0x178)?_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x178)]:_0x384a58==_0x3f9765(0x17b)?_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x17b)]?.[_0x3f9765(0x14c)]:_0x384a58==_0x3f9765(0x20d)?_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x20d)]?.['caption']:_0x384a58==_0x3f9765(0x1f4)?_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x1f4)]?.[_0x3f9765(0x1cc)]:_0x384a58==_0x3f9765(0x1be)?_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x1be)]?.[_0x3f9765(0x195)]:_0x384a58==_0x3f9765(0x12b)?_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x12b)][_0x3f9765(0x1bb)][_0x3f9765(0x1c9)]:_0x384a58==_0x3f9765(0x1fe)?_0x239233[_0x3f9765(0x1c0)]?.['buttonsResponseMessage']?.['selectedButtonId']||_0x239233[_0x3f9765(0x1c0)]?.['listResponseMessage'][_0x3f9765(0x1bb)][_0x3f9765(0x1c9)]||_0x239233['test']:'',_0x45f822=_0x239233[_0x3f9765(0x16b)][_0x3f9765(0x1b0)],_0x5d8568=_0x53602e(_0x59d506[_0x3f9765(0x189)]['id']),_0x19be2c=_0x5d8568[_0x3f9765(0x201)]('@')[0x0];const _0x162f10=_0x45f822?.[_0x3f9765(0x1a2)]('@g.us');var _0x22e0f9=null;_0x162f10&&(groupMetadataCache[_0x3f9765(0x129)](_0x45f822)?_0x22e0f9=groupMetadataCache['get'](_0x45f822):(metadata=await _0x59d506[_0x3f9765(0x160)](_0x45f822),_0x22e0f9=metadata,groupMetadataCache['set'](_0x45f822,metadata)));var _0x4e8ce4=_0x162f10?_0x22e0f9[_0x3f9765(0x239)]:null,_0x585d22=_0x239233[_0x3f9765(0x1c0)]?.['extendedTextMessage']?.[_0x3f9765(0x23f)]?.[_0x3f9765(0x1e2)],_0x553a13=_0x53602e(_0x239233['message']?.[_0x3f9765(0x1f4)]?.[_0x3f9765(0x23f)]?.[_0x3f9765(0x18c)]),_0x118194=_0x239233['message']?.['extendedTextMessage']?.[_0x3f9765(0x23f)]?.[_0x3f9765(0x1a4)],_0x37a424=_0x162f10?_0x239233[_0x3f9765(0x16b)][_0x3f9765(0x18c)]?_0x239233['key'][_0x3f9765(0x18c)]:_0x239233['participant']:_0x45f822;_0x239233['key']['fromMe']&&(_0x37a424=_0x5d8568);var _0x2cd4c8=_0x162f10?_0x239233['key'][_0x3f9765(0x18c)]:null;const {getAllSudoNumbers:_0x3a4312}=require(_0x3f9765(0x11a)),_0x3b68cd=_0x239233['pushName'],_0x19616c=_0x3f9765(0x204),_0x1fe08f=_0x3f9765(0x14d),_0x12f809='2250507646665',_0x3bf321=_0x3f9765(0x18d),_0x5bdd4e=_0x3f9765(0x12a);let _0x20b21f;dbCache[_0x3f9765(0x129)]('sudo')?(console['log'](_0x3f9765(0x1e3)),_0x20b21f=dbCache[_0x3f9765(0x1b4)]('sudo')):(console[_0x3f9765(0x18f)]('fetching\x20from\x20database'),_0x20b21f=await _0x3a4312(),dbCache[_0x3f9765(0x116)](_0x3f9765(0x1af),_0x20b21f));const _0x2cdec4=[_0x19be2c,_0x19616c,_0x1fe08f,_0x12f809,_0x3bf321,_0x5bdd4e,conf[_0x3f9765(0x175)]][_0x3f9765(0x1f5)](_0x504101=>_0x504101[_0x3f9765(0x18b)](/[^0-9]/g)+'@s.whatsapp.net'),_0x104bd0=[..._0x20b21f,..._0x2cdec4],_0x53e9af=_0x104bd0[_0x3f9765(0x132)](_0x37a424);var _0x57dfc0=[_0x19616c,_0x1fe08f,_0x12f809,_0x5bdd4e,_0x3bf321]['map'](_0x339129=>_0x339129['replace'](/[^0-9]/g)+_0x3f9765(0x13c))['includes'](_0x37a424);function _0x540c51(_0x4f9fde){_0x59d506['sendMessage'](_0x45f822,{'text':_0x4f9fde},{'quoted':_0x239233});}console[_0x3f9765(0x18f)]('\x09\x20[][]...{Hacking-MD}...[][]'),console[_0x3f9765(0x18f)](_0x3f9765(0x135));_0x162f10&&console['log'](_0x3f9765(0x18e)+_0x4e8ce4);console[_0x3f9765(0x18f)]('message\x20envoyé\x20par\x20:\x20'+'['+_0x3b68cd+_0x3f9765(0x22c)+_0x37a424[_0x3f9765(0x201)](_0x3f9765(0x13c))[0x0]+'\x20]'),console[_0x3f9765(0x18f)](_0x3f9765(0x1aa)+_0x384a58),console['log'](_0x3f9765(0x10e)),console[_0x3f9765(0x18f)](_0x41edd6);function _0x14b416(_0x143e8f){const _0x8cb04a=_0x3f9765;let _0x48c643=[];for(_0x429e50 of _0x143e8f){if(_0x429e50[_0x8cb04a(0x224)]==null)continue;_0x48c643[_0x8cb04a(0x20a)](_0x429e50['id']);}return _0x48c643;}const _0x458a20=_0x162f10?await _0x22e0f9['participants']:'';let _0x390741=_0x162f10?_0x14b416(_0x458a20):'';const _0x1d2cbf=_0x162f10?_0x390741[_0x3f9765(0x132)](_0x37a424):![];var _0x11842f=_0x162f10?_0x390741[_0x3f9765(0x132)](_0x5d8568):![],_0x22b136=conf[_0x3f9765(0x23b)];if(_0x22b136==0x1)await _0x59d506[_0x3f9765(0x22d)](_0x3f9765(0x1eb),_0x45f822);else{if(_0x22b136==0x2)await _0x59d506[_0x3f9765(0x22d)]('composing',_0x45f822);else{if(_0x22b136==0x3)await _0x59d506[_0x3f9765(0x22d)](_0x3f9765(0x17c),_0x45f822);else{}}}let _0x392b37=_0x41edd6?_0x41edd6[_0x3f9765(0x20e)]()[_0x3f9765(0x201)](/ +/)['slice'](0x1):null,_0x1ce3d7=_0x41edd6?_0x41edd6[_0x3f9765(0x1d4)](prefixe):![],_0x52a869=_0x1ce3d7?_0x41edd6[_0x3f9765(0x110)](0x1)[_0x3f9765(0x20e)]()[_0x3f9765(0x201)](/ +/)[_0x3f9765(0x142)]()[_0x3f9765(0x10f)]():![];const _0x50b54f=conf[_0x3f9765(0x21d)][_0x3f9765(0x201)](',');function _0x3b40f7(){const _0x33bccd=_0x3f9765,_0x1c574a=Math[_0x33bccd(0x1a0)](Math[_0x33bccd(0x23c)]()*_0x50b54f[_0x33bccd(0x154)]),_0xae3827=_0x50b54f[_0x1c574a];return _0xae3827;}var _0x39d45e={'superUser':_0x53e9af,'dev':_0x57dfc0,'verifGroupe':_0x162f10,'mbre':_0x458a20,'membreGroupe':_0x2cd4c8,'verifAdmin':_0x1d2cbf,'infosGroupe':_0x22e0f9,'nomGroupe':_0x4e8ce4,'auteurMessage':_0x37a424,'nomAuteurMessage':_0x3b68cd,'idBot':_0x5d8568,'verifZokouAdmin':_0x11842f,'prefixe':prefixe,'arg':_0x392b37,'repondre':_0x540c51,'mtype':_0x384a58,'groupeAdmin':_0x14b416,'msgRepondu':_0x585d22,'auteurMsgRepondu':_0x553a13,'ms':_0x239233,'mybotpic':_0x3b40f7};if(_0x37a424[_0x3f9765(0x1a2)](_0x3f9765(0x149))){const {ajouterOuMettreAJourUserData:_0x715896}=require(_0x3f9765(0x172));try{await _0x715896(_0x37a424);}catch(_0x936546){console[_0x3f9765(0x226)](_0x936546);}}if(_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x114)]){const _0x11ed2b=require('./bdd/stickcmd');let _0x11edcb=_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x114)][_0x3f9765(0x146)][_0x3f9765(0x136)](','),_0x96c98c=await _0x11ed2b[_0x3f9765(0x242)](_0x11edcb);_0x96c98c&&(_0x41edd6=prefixe+await _0x11ed2b[_0x3f9765(0x200)](_0x11edcb),_0x392b37=_0x41edd6?_0x41edd6[_0x3f9765(0x20e)]()['split'](/ +/)[_0x3f9765(0x110)](0x1):null,_0x1ce3d7=_0x41edd6?_0x41edd6[_0x3f9765(0x1d4)](prefixe):![],_0x52a869=_0x1ce3d7?_0x41edd6[_0x3f9765(0x110)](0x1)[_0x3f9765(0x20e)]()[_0x3f9765(0x201)](/ +/)[_0x3f9765(0x142)]()[_0x3f9765(0x10f)]():![],_0x585d22=_0x239233[_0x3f9765(0x1c0)]['stickerMessage']?.[_0x3f9765(0x23f)]?.['quotedMessage'],_0x553a13=_0x53602e(_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x114)]?.[_0x3f9765(0x23f)]?.[_0x3f9765(0x18c)]),_0x39d45e={'superUser':_0x53e9af,'dev':_0x57dfc0,'verifGroupe':_0x162f10,'mbre':_0x458a20,'membreGroupe':_0x2cd4c8,'verifAdmin':_0x1d2cbf,'infosGroupe':_0x22e0f9,'nomGroupe':_0x4e8ce4,'auteurMessage':_0x37a424,'nomAuteurMessage':_0x3b68cd,'idBot':_0x5d8568,'verifZokouAdmin':_0x11842f,'prefixe':prefixe,'arg':_0x392b37,'repondre':_0x540c51,'mtype':_0x384a58,'groupeAdmin':_0x14b416,'msgRepondu':_0x585d22,'auteurMsgRepondu':_0x553a13,'ms':_0x239233,'mybotpic':_0x3b40f7});;}if(_0x1ce3d7){const _0x3f4197=evt['cm'][_0x3f9765(0x1b3)](_0x3a0682=>_0x3a0682[_0x3f9765(0x124)]===_0x52a869);if(_0x3f4197){let _0x179d26;if(dbCache[_0x3f9765(0x129)](_0x3f9765(0x1ab)))_0x179d26=dbCache[_0x3f9765(0x1b4)](_0x3f9765(0x1ab))[_0x3f9765(0x132)](_0x45f822);else{let _0x49f103=await isGroupBanned();_0x179d26=_0x49f103['includes'](_0x45f822),dbCache['set'](_0x3f9765(0x1ab),_0x49f103);}let _0x4bc3fc;if(dbCache['has'](_0x3f9765(0x17a)))_0x4bc3fc=dbCache['get']('onlyadmin')['includes'](_0x45f822);else{let _0x5b314d=await isGroupOnlyAdmin();_0x4bc3fc=_0x5b314d[_0x3f9765(0x132)](_0x45f822),dbCache[_0x3f9765(0x116)](_0x3f9765(0x17a),_0x5b314d);}let _0x4e058d;if(dbCache['has'](_0x3f9765(0x144)))_0x4e058d=dbCache[_0x3f9765(0x1b4)](_0x3f9765(0x144))[_0x3f9765(0x132)](_0x37a424);else{let _0x36de0f=await isUserBanned();_0x4e058d=_0x36de0f['includes'](_0x37a424),dbCache['set'](_0x3f9765(0x144),_0x36de0f);}if(conf['MODE']['toLocaleLowerCase']()===_0x3f9765(0x119)||_0x53e9af){if(!_0x57dfc0&&_0x45f822=='[email protected]')console[_0x3f9765(0x18f)](_0x3f9765(0x1a8));else{if(!_0x53e9af&&_0x45f822===_0x37a424&&conf[_0x3f9765(0x234)]===_0x3f9765(0x119))console[_0x3f9765(0x18f)](_0x3f9765(0x1ec));else{if(_0x162f10&&!_0x53e9af&&_0x179d26)console['log']('Group\x20Bannis');else{if(!(_0x1d2cbf||_0x53e9af)&&_0x162f10&&_0x4bc3fc)console[_0x3f9765(0x18f)](_0x3f9765(0x1d6));else{if(!_0x53e9af&&_0x4e058d)_0x540c51(_0x3f9765(0x243));else{if(!_0x53e9af&&conf['ANTI_CMD_SPAM'][_0x3f9765(0x10f)]()==_0x3f9765(0x119)&&CmdColdCache['has'](_0x37a424))_0x540c51(_0x3f9765(0x16d)+Math['round']((CmdColdCache['getTtl'](_0x37a424)-Date[_0x3f9765(0x1c2)]())/0x3e8)+_0x3f9765(0x13d));else{if(!_0x53e9af&&conf['ANTI_CMD_SPAM'][_0x3f9765(0x10f)]()==_0x3f9765(0x119))CmdColdCache[_0x3f9765(0x116)](_0x37a424,!![]);try{reagir(_0x45f822,_0x59d506,_0x239233,_0x3f4197[_0x3f9765(0x159)]),_0x3f4197[_0x3f9765(0x113)](_0x45f822,_0x59d506,_0x39d45e);}catch(_0x236280){console[_0x3f9765(0x18f)]('😡😡\x20'+_0x236280),_0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x3f9765(0x1d5)+_0x236280},{'quoted':_0x239233});}}}}}}}}}};_0x239233[_0x3f9765(0x16b)]&&_0x239233['key'][_0x3f9765(0x1b0)]===_0x3f9765(0x125)&&conf[_0x3f9765(0x205)][_0x3f9765(0x10f)]()===_0x3f9765(0x119)&&await _0x59d506[_0x3f9765(0x16c)]([_0x239233[_0x3f9765(0x16b)]])[_0x3f9765(0x169)](_0x1d2556=>console[_0x3f9765(0x18f)](_0x1d2556));if(_0x239233[_0x3f9765(0x16b)]&&_0x239233[_0x3f9765(0x16b)][_0x3f9765(0x1b0)]===_0x3f9765(0x125)&&conf[_0x3f9765(0x14f)]['toLowerCase']()===_0x3f9765(0x119))try{if(_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x1f4)]){var _0x102dd3=_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x1f4)][_0x3f9765(0x1cc)];await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'text':_0x102dd3},{'quoted':_0x239233});}else{if(_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x17b)]){var _0xa3bf12=_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x17b)]['caption'],_0x371315=await _0x59d506[_0x3f9765(0x202)](_0x239233['message']['imageMessage']);await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'image':{'url':_0x371315},'caption':_0xa3bf12},{'quoted':_0x239233});}else{if(_0x239233['message'][_0x3f9765(0x20d)]){var _0xa3bf12=_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x20d)][_0x3f9765(0x14c)],_0x2b9657=await _0x59d506[_0x3f9765(0x202)](_0x239233[_0x3f9765(0x1c0)][_0x3f9765(0x20d)]);await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'video':{'url':_0x2b9657},'caption':_0xa3bf12},{'quoted':_0x239233});}else{if(_0x239233['message'][_0x3f9765(0x230)]){var _0xb2c2a3=await _0x59d506[_0x3f9765(0x202)](_0x239233[_0x3f9765(0x1c0)]['audioMessage']);await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'audio':{'url':_0xb2c2a3},'mimetype':_0x3f9765(0x137)},{'quoted':_0x239233});}}}}}catch(_0x33d55f){console['error'](_0x33d55f);}if((_0x41edd6[_0x3f9765(0x11d)]()[_0x3f9765(0x132)](_0x3f9765(0x167))||_0x41edd6[_0x3f9765(0x11d)]()[_0x3f9765(0x132)](_0x3f9765(0x1ee)))&&_0x162f10){console['log']('lien\x20detecté');const _0xca5816=await verifierEtatJid(_0x45f822);if(_0xca5816){if(!_0x11842f)_0x540c51('lien\x20detecté\x20,\x20\x20j\x27ai\x20besoin\x20des\x20droits\x20d\x27administrateur\x20pour\x20agir');else{if(!_0x53e9af&&!_0x1d2cbf){const _0x5740ad={'remoteJid':_0x45f822,'fromMe':![],'id':_0x239233[_0x3f9765(0x16b)]['id'],'participant':_0x37a424};var _0x27027b=_0x3f9765(0x157),_0xd47402=await recupererActionJid(_0x45f822);if(_0xd47402===_0x3f9765(0x133)){const _0x29c5a7=_0x3f9765(0x1f7);var _0x1b6cb1=new Sticker(_0x29c5a7,{'pack':'Zoou-Md','author':conf[_0x3f9765(0x21f)],'type':StickerTypes[_0x3f9765(0x203)],'categories':['🤩','🎉'],'id':_0x3f9765(0x1b1),'quality':0x32,'background':_0x3f9765(0x1a6)});await _0x1b6cb1['toFile'](_0x3f9765(0x166)),_0x27027b+=_0x3f9765(0x118)+_0x37a424[_0x3f9765(0x201)]('@')[0x0]+'\x20rétiré\x20du\x20groupe.',await _0x59d506['sendMessage'](_0x45f822,{'sticker':fs[_0x3f9765(0x1db)]('st1.webp')},{'quoted':_0x239233}),(0x0,baileys_1[_0x3f9765(0x141)])(0x320),await _0x59d506['sendMessage'](_0x45f822,{'text':_0x27027b,'mentions':[_0x37a424]},{'quoted':_0x239233});try{await _0x59d506[_0x3f9765(0x143)](_0x45f822,[_0x37a424],_0x3f9765(0x211));}catch(_0x51d3b7){console[_0x3f9765(0x18f)](_0x3f9765(0x1c8)+_0x51d3b7);}await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'delete':_0x5740ad}),await fs[_0x3f9765(0x13b)](_0x3f9765(0x166));}else{if(_0xd47402===_0x3f9765(0x12e))_0x27027b+=_0x3f9765(0x118)+_0x37a424[_0x3f9765(0x201)]('@')[0x0]+_0x3f9765(0x13a),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x27027b,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'delete':_0x5740ad});else{if(_0xd47402===_0x3f9765(0x11f)){const {getWarnCountByJID:_0x4e1318,ajouterUtilisateurAvecWarnCount:_0x158c53}=require(_0x3f9765(0x229));let _0x24b486=await _0x4e1318(_0x37a424),_0x353122=conf[_0x3f9765(0x14a)];if(_0x24b486>=_0x353122){const _0x3c9b81=_0x3f9765(0x1f7);var _0x1b6cb1=new Sticker(_0x3c9b81,{'pack':_0x3f9765(0x19a),'author':conf['NOM_OWNER'],'type':StickerTypes[_0x3f9765(0x203)],'categories':['🤩','🎉'],'id':_0x3f9765(0x1b1),'quality':0x32,'background':'#000000'});await _0x1b6cb1[_0x3f9765(0x194)](_0x3f9765(0x166));var _0x36c007=_0x3f9765(0x1a7);await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'sticker':fs[_0x3f9765(0x1db)]('st1.webp')},{'quoted':_0x239233}),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x36c007,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506[_0x3f9765(0x143)](_0x45f822,[_0x37a424],_0x3f9765(0x211)),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'delete':_0x5740ad}),await fs[_0x3f9765(0x13b)](_0x3f9765(0x166));}else{var _0x302e10=_0x353122-(_0x24b486+0x1),_0x24c8df=_0x302e10!=0x0?_0x3f9765(0x179)+_0x302e10+'\x20avertissement(s)\x20et\x20vous\x20serrez\x20viré\x20du\x20groupe':'Lien\x20detecté\x20;\x0a\x20La\x20prochaine\x20fois\x20sera\x20la\x20bonne';await _0x158c53(_0x37a424),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x24c8df,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506['sendMessage'](_0x45f822,{'delete':_0x5740ad});}}}}}}};}const _0x135d41=_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x1d4)](_0x3f9765(0x1ba))&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]===0x10,_0x4e5644=_0x239233['key']?.['id']?.[_0x3f9765(0x1d4)]('BAE5')&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]===0x10,_0x245881=_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x1d4)]('3EB0')&&_0x239233[_0x3f9765(0x16b)]?.['id']?.['length']>=0xc;if(_0x135d41||_0x4e5644||_0x245881){const _0x1a6fd7=await atbverifierEtatJid(_0x45f822);if(_0x1a6fd7){if(_0x384a58===_0x3f9765(0x19c))console[_0x3f9765(0x18f)]('Je\x20ne\x20reagis\x20pas\x20au\x20reactions');else{if(_0x1d2cbf||_0x37a424===_0x5d8568||_0x53e9af)console[_0x3f9765(0x18f)](_0x3f9765(0x1cd));else{if(!_0x11842f)_0x540c51(_0x3f9765(0x231));else{const _0x472293={'remoteJid':_0x45f822,'fromMe':![],'id':_0x239233['key']['id'],'participant':_0x37a424};var _0x27027b='bot\x20détecté,\x20\x0a',_0xd47402=await atbrecupererActionJid(_0x45f822);if(_0xd47402===_0x3f9765(0x133))try{const _0x420910='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x1b6cb1=new Sticker(_0x420910,{'pack':_0x3f9765(0x19a),'author':conf[_0x3f9765(0x21f)],'type':StickerTypes[_0x3f9765(0x203)],'categories':['🤩','🎉'],'id':'12345','quality':0x32,'background':'#000000'});await _0x1b6cb1[_0x3f9765(0x194)](_0x3f9765(0x166)),_0x27027b+=_0x3f9765(0x118)+_0x37a424[_0x3f9765(0x201)]('@')[0x0]+_0x3f9765(0x156),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'sticker':fs[_0x3f9765(0x1db)](_0x3f9765(0x166))},{'quoted':_0x239233}),(0x0,baileys_1[_0x3f9765(0x141)])(0x320),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x27027b,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506[_0x3f9765(0x143)](_0x45f822,[_0x37a424],_0x3f9765(0x211)),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'delete':_0x472293}),await fs[_0x3f9765(0x13b)]('st1.webp');}catch(_0xaf4e1e){console[_0x3f9765(0x18f)](_0x3f9765(0x220)+_0xaf4e1e);}else{if(_0xd47402===_0x3f9765(0x12e))_0x27027b+='message\x20supprimé\x20\x0a\x20@'+_0x37a424[_0x3f9765(0x201)]('@')[0x0]+_0x3f9765(0x11e),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x27027b,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'delete':_0x472293});else{if(_0xd47402===_0x3f9765(0x11f)){const {getWarnCountByJID:_0x2c272a,ajouterUtilisateurAvecWarnCount:_0x5085d2}=require(_0x3f9765(0x229));let _0x1e97a4=await _0x2c272a(_0x37a424),_0x3f9579=conf[_0x3f9765(0x14a)];if(_0x1e97a4>=_0x3f9579){const _0xa9c92d=_0x3f9765(0x1f7);var _0x1b6cb1=new Sticker(_0xa9c92d,{'pack':'Zoou-Md','author':conf['NOM_OWNER'],'type':StickerTypes[_0x3f9765(0x203)],'categories':['🤩','🎉'],'id':'12345','quality':0x32,'background':_0x3f9765(0x1a6)});await _0x1b6cb1[_0x3f9765(0x194)](_0x3f9765(0x166));var _0x36c007=_0x3f9765(0x1ce);await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'sticker':fs[_0x3f9765(0x1db)]('st1.webp')},{'quoted':_0x239233}),await _0x59d506['sendMessage'](_0x45f822,{'text':_0x36c007,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506['groupParticipantsUpdate'](_0x45f822,[_0x37a424],_0x3f9765(0x211)),await _0x59d506['sendMessage'](_0x45f822,{'delete':_0x472293}),await fs[_0x3f9765(0x13b)]('st1.webp');}else{var _0x302e10=_0x3f9579-(_0x1e97a4+0x1),_0x24c8df=_0x302e10!=0x0?_0x3f9765(0x150)+_0x302e10+_0x3f9765(0x209):_0x3f9765(0x1e4);await _0x5085d2(_0x37a424),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'text':_0x24c8df,'mentions':[_0x37a424]},{'quoted':_0x239233}),await _0x59d506[_0x3f9765(0x20c)](_0x45f822,{'delete':_0x472293});}}}}}}}}}const _0x29d09f=require(_0x3f9765(0x12c));let _0x55afff=await _0x29d09f[_0x3f9765(0x1d2)](0x1);if(_0x55afff?.['etat']=='on'&&_0x239233['key']?.[_0x3f9765(0x16e)]){const _0x5eda97=_0x239233[_0x3f9765(0x16b)]?.['id']?.['startsWith'](_0x3f9765(0x1ba))&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]===0x10,_0x14e918=_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x1d4)]('BAE5')&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]===0x10,_0x1592db=_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x1d4)]('3EB0')&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]>=0xc;if(_0x5eda97||_0x14e918||_0x1592db)console['log'](_0x3f9765(0x148));else _0x41edd6[_0x3f9765(0x11d)]()==_0x3f9765(0x19d)?(await _0x29d09f[_0x3f9765(0x21a)](0x1,_0x3f9765(0x131)),_0x540c51(_0x3f9765(0x190))):_0x540c51(_0x3f9765(0x17e));}if(_0x239233[_0x3f9765(0x1c0)][_0x384a58]?.[_0x3f9765(0x23f)]?.[_0x3f9765(0x1a4)]?.['includes'](_0x5d8568)&&_0x162f10){console[_0x3f9765(0x18f)](_0x3f9765(0x228));if(_0x55afff?.[_0x3f9765(0x216)]=='on'){const _0x31e469=_0x239233['key']?.['id']?.[_0x3f9765(0x1d4)](_0x3f9765(0x1ba))&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]===0x10,_0x163143=_0x239233['key']?.['id']?.[_0x3f9765(0x1d4)](_0x3f9765(0x170))&&_0x239233[_0x3f9765(0x16b)]?.['id']?.['length']===0x10,_0x271400=_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x1d4)](_0x3f9765(0x155))&&_0x239233[_0x3f9765(0x16b)]?.['id']?.[_0x3f9765(0x154)]>=0xc;if(_0x31e469||_0x163143||_0x271400)console[_0x3f9765(0x18f)](_0x3f9765(0x191));else{if(_0x239233['key']?.[_0x3f9765(0x16e)])console[_0x3f9765(0x18f)](_0x3f9765(0x219));else _0x55afff[_0x3f9765(0x115)]==_0x3f9765(0x221)?_0x540c51(_0x55afff[_0x3f9765(0x1c0)]):_0x59d506[_0x3f9765(0x20c)](_0x45f822,{'image':{'url':_0x55afff[_0x3f9765(0x115)]},'caption':_0x55afff[_0x3f9765(0x1c0)]},{'caption':_0x239233});}}else{if(_0x45f822!==_0x3f9765(0x21b)&&_0x37a424!==_0x5d8568){let _0x46a621=require(_0x3f9765(0x20f)),_0x247831=await _0x46a621['recupererToutesLesValeurs'](),_0x5d5e00=_0x247831[0x0];if(_0x5d5e00[_0x3f9765(0x171)]==='non')console[_0x3f9765(0x18f)](_0x3f9765(0x218));else{let _0x49ee3a;if(_0x5d5e00[_0x3f9765(0x173)]['toLocaleLowerCase']()==='image')_0x49ee3a={'image':{'url':_0x5d5e00[_0x3f9765(0x1bf)]},'caption':_0x5d5e00[_0x3f9765(0x1c0)]};else{if(_0x5d5e00['type'][_0x3f9765(0x11d)]()===_0x3f9765(0x168))_0x49ee3a={'video':{'url':_0x5d5e00[_0x3f9765(0x1bf)]},'caption':_0x5d5e00['message']};else{if(_0x5d5e00[_0x3f9765(0x173)][_0x3f9765(0x11d)]()===_0x3f9765(0x222)){let _0x343fcc=new Sticker(_0x5d5e00['url'],{'pack':conf['NOM_OWNER'],'type':StickerTypes[_0x3f9765(0x203)],'categories':['🤩','🎉'],'id':_0x3f9765(0x1b1),'quality':0x46,'background':_0x3f9765(0x121)});const _0x38d856=await _0x343fcc[_0x3f9765(0x158)]();_0x49ee3a={'sticker':_0x38d856};}else _0x5d5e00[_0x3f9765(0x173)][_0x3f9765(0x11d)]()===_0x3f9765(0x1ac)&&(_0x49ee3a={'audio':{'url':_0x5d5e00[_0x3f9765(0x1bf)]},'mimetype':'audio/mp4'});}}_0x59d506[_0x3f9765(0x20c)](_0x45f822,_0x49ee3a,{'quoted':_0x239233})[_0x3f9765(0x169)](_0x55740c=>console['error'](_0x55740c));}};}}if(_0x45f822[_0x3f9765(0x1a2)](_0x3f9765(0x13c))&&_0x37a424!=_0x5d8568){if(_0x55afff?.[_0x3f9765(0x216)]=='on')_0x55afff[_0x3f9765(0x115)]==_0x3f9765(0x221)?_0x540c51(_0x55afff[_0x3f9765(0x1c0)]):_0x59d506[_0x3f9765(0x20c)](_0x45f822,{'image':{'url':_0x55afff[_0x3f9765(0x115)]},'caption':_0x55afff[_0x3f9765(0x1c0)]},{'caption':_0x239233});else{if(conf[_0x3f9765(0x13f)]===_0x3f9765(0x119)){if(!_0x1ce3d7){const _0x131828=require(_0x3f9765(0x232));let _0x5ac608=await _0x131828(_0x41edd6,{'to':'en'});fetch('http://api.brainshop.ai/get?bid=177607&key=NwzhALqeO1kubFVD&uid=[uid]&msg='+_0x5ac608)[_0x3f9765(0x1e0)](_0x334dd3=>_0x334dd3[_0x3f9765(0x1c4)]())[_0x3f9765(0x1e0)](_0x37159c=>{const _0x1d9ff2=_0x3f9765,_0x27df22=_0x37159c[_0x1d9ff2(0x20b)];_0x131828(_0x27df22,{'to':'fr'})[_0x1d9ff2(0x1e0)](_0x9f84f9=>{_0x540c51(_0x9f84f9);})['catch'](_0x3374fc=>{const _0x430f69=_0x1d9ff2;console[_0x430f69(0x226)](_0x430f69(0x233),_0x3374fc);});})[_0x3f9765(0x169)](_0x227c33=>{const _0x14fccc=_0x3f9765;console[_0x14fccc(0x226)](_0x14fccc(0x1f0),_0x227c33);});};}}}if(_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x1e5)]||_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x192)]||_0x239233['message']?.['viewOnceMessageV2Extension']){if(conf['ANTI_VV'][_0x3f9765(0x10f)]()=='oui'&&!_0x239233[_0x3f9765(0x16b)]['fromMe']){let _0x22f840=_0x239233[_0x3f9765(0x1c0)][_0x384a58];if(_0x22f840[_0x3f9765(0x1c0)][_0x3f9765(0x17b)]){var _0x137307=await _0x59d506[_0x3f9765(0x202)](_0x22f840[_0x3f9765(0x1c0)]['imageMessage']),_0x41edd6=_0x22f840['message'][_0x3f9765(0x17b)][_0x3f9765(0x14c)];await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'image':{'url':_0x137307},'caption':_0x41edd6},{'quoted':_0x239233});}else{if(_0x22f840[_0x3f9765(0x1c0)][_0x3f9765(0x20d)]){var _0x25e197=await _0x59d506[_0x3f9765(0x202)](_0x22f840[_0x3f9765(0x1c0)][_0x3f9765(0x20d)]),_0x41edd6=_0x22f840['message'][_0x3f9765(0x20d)][_0x3f9765(0x14c)];await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'video':{'url':_0x25e197},'caption':_0x41edd6},{'quoted':_0x239233});}else{if(_0x22f840[_0x3f9765(0x1c0)][_0x3f9765(0x230)]){var _0xb2c2a3=await _0x59d506[_0x3f9765(0x202)](_0x22f840[_0x3f9765(0x1c0)][_0x3f9765(0x230)]);await _0x59d506[_0x3f9765(0x20c)](_0x5d8568,{'audio':{'url':_0xb2c2a3},'mymetype':_0x3f9765(0x137)},{'quoted':_0x239233,'ptt':![]});}}}};}if(_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x17b)]||_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x230)]||_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x20d)]||_0x239233['message']?.[_0x3f9765(0x114)]||_0x239233[_0x3f9765(0x1c0)]?.[_0x3f9765(0x120)]){let _0x125c62;if(dbCache[_0x3f9765(0x129)](_0x3f9765(0x181)))_0x125c62=dbCache[_0x3f9765(0x1b4)](_0x3f9765(0x181))['includes'](_0x45f822);else{let _0x46677b=await isGroupspam();_0x125c62=_0x46677b[_0x3f9765(0x132)](_0x45f822),dbCache[_0x3f9765(0x116)]('antispam',_0x46677b);}if(_0x162f10&&_0x125c62&&!_0x53e9af){console[_0x3f9765(0x11f)](_0x3f9765(0x130));let _0x13e219=_0x56519c['get'](_0x37a424+'_'+_0x45f822);_0x13e219?_0x13e219['length']>=0x4?(_0x13e219[_0x3f9765(0x20a)](_0x239233['key']),_0x13e219[_0x3f9765(0x1ad)](_0x1ba925=>{const _0x4aabb1=_0x3f9765;_0x59d506[_0x4aabb1(0x20c)](_0x45f822,{'delete':_0x1ba925});}),_0x59d506[_0x3f9765(0x143)](_0x45f822,[_0x37a424],_0x3f9765(0x211))[_0x3f9765(0x1e0)](_0x98d68b=>{const _0x4d9172=_0x3f9765;_0x59d506[_0x4d9172(0x20c)](_0x45f822,{'text':'@'+_0x37a424[_0x4d9172(0x201)]('@')[0x0]+_0x4d9172(0x1a3),'mentions':[_0x37a424]});})[_0x3f9765(0x169)](_0x210fb3=>console['log'](_0x210fb3))):(_0x13e219[_0x3f9765(0x20a)](_0x239233[_0x3f9765(0x16b)]),_0x56519c['set'](_0x37a424+'_'+_0x45f822,_0x13e219,0x78)):_0x56519c[_0x3f9765(0x116)](_0x37a424+'_'+_0x45f822,[_0x239233[_0x3f9765(0x16b)]]);}}}),_0x59d506['ev']['on'](_0x5679ab(0x123),async _0x16ca7b=>{const _0x10572b=_0x5679ab,_0x2bcae6=_0x374d1b=>{const _0x46e67f=a64_0x20db;if(!_0x374d1b)return _0x374d1b;if(/:\d+@/gi[_0x46e67f(0x1fa)](_0x374d1b)){let _0x206c57=(0x0,baileys_1['jidDecode'])(_0x374d1b)||{};return _0x206c57[_0x46e67f(0x189)]&&_0x206c57[_0x46e67f(0x1cb)]&&_0x206c57[_0x46e67f(0x189)]+'@'+_0x206c57[_0x46e67f(0x1cb)]||_0x374d1b;}else return _0x374d1b;};console[_0x10572b(0x18f)](_0x16ca7b);let _0x11c91b;try{_0x11c91b=await _0x59d506[_0x10572b(0x127)](_0x16ca7b['id'],_0x10572b(0x19b));}catch{_0x11c91b=_0x10572b(0x1b9);}try{const _0x5bfcc2=await _0x59d506[_0x10572b(0x160)](_0x16ca7b['id']);groupMetadataCache[_0x10572b(0x116)](_0x16ca7b['id'],_0x5bfcc2);if(_0x16ca7b['action']=='add'&&await recupevents(_0x16ca7b['id'],'welcome')==_0x10572b(0x119)){let _0x28c88e=_0x10572b(0x235),_0x3c628c=_0x16ca7b['participants'];for(let _0x12eb6d of _0x3c628c){_0x28c88e+='║\x20@'+_0x12eb6d[_0x10572b(0x201)]('@')[0x0]+'\x0a';}_0x28c88e+=_0x10572b(0x1d9)+_0x5bfcc2[_0x10572b(0x1c6)],_0x59d506['sendMessage'](_0x16ca7b['id'],{'image':{'url':_0x11c91b},'caption':_0x28c88e,'mentions':_0x3c628c});}else{if(_0x16ca7b[_0x10572b(0x217)]==_0x10572b(0x211)&&await recupevents(_0x16ca7b['id'],_0x10572b(0x208))=='oui'){let _0x2202bd=_0x10572b(0x213),_0x29dd9c=_0x16ca7b['participants'];for(let _0x2f636a of _0x29dd9c){_0x2202bd+='@'+_0x2f636a['split']('@')[0x0]+'\x0a';}_0x59d506[_0x10572b(0x20c)](_0x16ca7b['id'],{'text':_0x2202bd,'mentions':_0x29dd9c});}else{if(_0x16ca7b[_0x10572b(0x217)]==_0x10572b(0x15c)&&await recupevents(_0x16ca7b['id'],_0x10572b(0x1b8))==_0x10572b(0x119)){if(_0x16ca7b[_0x10572b(0x206)]==_0x5bfcc2['owner']||_0x16ca7b['author']==conf[_0x10572b(0x175)]+_0x10572b(0x13c)||_0x16ca7b['author']==_0x2bcae6(_0x59d506[_0x10572b(0x189)]['id'])||_0x16ca7b[_0x10572b(0x206)]==_0x16ca7b[_0x10572b(0x1d7)][0x0]){console[_0x10572b(0x18f)](_0x10572b(0x1b7));return;};await _0x59d506['groupParticipantsUpdate'](_0x16ca7b['id'],[_0x16ca7b[_0x10572b(0x206)],_0x16ca7b['participants'][0x0]],_0x10572b(0x1a5)),_0x59d506[_0x10572b(0x20c)](_0x16ca7b['id'],{'text':'@'+_0x16ca7b[_0x10572b(0x206)][_0x10572b(0x201)]('@')[0x0]+_0x10572b(0x223)+_0x16ca7b['participants'][0x0][_0x10572b(0x201)]('@')[0x0]+_0x10572b(0x225),'mentions':[_0x16ca7b['author'],_0x16ca7b['participants'][0x0]]});}else{if(_0x16ca7b['action']==_0x10572b(0x1a5)&&await recupevents(_0x16ca7b['id'],_0x10572b(0x11b))==_0x10572b(0x119)){if(_0x16ca7b[_0x10572b(0x206)]==_0x5bfcc2[_0x10572b(0x240)]||_0x16ca7b[_0x10572b(0x206)]==conf[_0x10572b(0x175)]+_0x10572b(0x13c)||_0x16ca7b[_0x10572b(0x206)]==_0x2bcae6(_0x59d506[_0x10572b(0x189)]['id'])||_0x16ca7b[_0x10572b(0x206)]==_0x16ca7b[_0x10572b(0x1d7)][0x0]){console[_0x10572b(0x18f)](_0x10572b(0x1b7));return;};await _0x59d506[_0x10572b(0x143)](_0x16ca7b['id'],[_0x16ca7b[_0x10572b(0x206)]],_0x10572b(0x1a5)),await _0x59d506[_0x10572b(0x143)](_0x16ca7b['id'],[_0x16ca7b[_0x10572b(0x1d7)][0x0]],_0x10572b(0x15c)),_0x59d506[_0x10572b(0x20c)](_0x16ca7b['id'],{'text':'@'+_0x16ca7b['author'][_0x10572b(0x201)]('@')[0x0]+_0x10572b(0x1f9)+_0x16ca7b[_0x10572b(0x1d7)][0x0][_0x10572b(0x201)]('@')[0x0]+'\x20par\x20consequent\x20,\x20il\x20est\x20demit\x20des\x20droits\x20d\x27aministration','mentions':[_0x16ca7b[_0x10572b(0x206)],_0x16ca7b[_0x10572b(0x1d7)][0x0]]});}}}}}catch(_0x1f97ea){console[_0x10572b(0x226)](_0x1f97ea);}}),_0x59d506['ev']['on'](_0x5679ab(0x1e7),async _0x58b311=>{groupMetadataCache['set'](_0x58b311['id'],_0x58b311);}),_0x59d506['ev']['on'](_0x5679ab(0x1a1),async _0x11b0ae=>{const _0x519214=_0x4b524e=>{const _0xcf8915=a64_0x20db;for(const _0x5a4f06 of _0x4b524e){store[_0xcf8915(0x176)][_0x5a4f06['id']]?Object[_0xcf8915(0x126)](store[_0xcf8915(0x176)][_0x5a4f06['id']],_0x5a4f06):store[_0xcf8915(0x176)][_0x5a4f06['id']]=_0x5a4f06;}return;};_0x519214(_0x11b0ae);}),_0x59d506['ev']['on'](_0x5679ab(0x182),async _0x47fddb=>{const _0x346c05=_0x5679ab,{connection:_0x1172e4,lastDisconnect:_0x3e9f6f,receivedPendingNotifications:_0x4c0d41}=_0x47fddb;if(_0x1172e4==_0x346c05(0x1cf))console[_0x346c05(0x18f)]('connection\x20en\x20cours...');else{if(_0x1172e4==_0x346c05(0x15f)){let _0x37b24f=new Boom(_0x3e9f6f?.[_0x346c05(0x226)])?.[_0x346c05(0x1c5)][_0x346c05(0x23a)];if(_0x37b24f==DisconnectReason[_0x346c05(0x15b)])console[_0x346c05(0x18f)](_0x346c05(0x13e)),connectToWhatsapp();else{if(_0x37b24f==DisconnectReason[_0x346c05(0x188)])console['log'](_0x346c05(0x22b));else{if(_0x37b24f===DisconnectReason[_0x346c05(0x1dc)])console[_0x346c05(0x18f)](_0x346c05(0x1bc));else{if(_0x37b24f===DisconnectReason[_0x346c05(0x23e)])console[_0x346c05(0x18f)](_0x346c05(0x1b5));else{if(_0x37b24f===DisconnectReason['restartRequired'])console[_0x346c05(0x18f)](_0x346c05(0x19e)),connectToWhatsapp();else{if(_0x37b24f===DisconnectReason[_0x346c05(0x22f)])console[_0x346c05(0x18f)](_0x346c05(0x122)),connectToWhatsapp();else{console[_0x346c05(0x18f)](_0x346c05(0x134));const {exec:_0x94423a}=require(_0x346c05(0x197));_0x94423a(_0x346c05(0x153));}}}}}}}else{if(_0x1172e4==_0x346c05(0x196)){console[_0x346c05(0x18f)]('✅\x20connexion\x20reussie!\x20☺️'),await delay(0x1f4),fs[_0x346c05(0x19f)](__dirname+_0x346c05(0x238))[_0x346c05(0x1ad)](_0x50795a=>{const _0x1149f1=_0x346c05;if(path[_0x1149f1(0x174)](_0x50795a)[_0x1149f1(0x10f)]()=='.js'){try{require(__dirname+'/commandes/'+_0x50795a),console[_0x1149f1(0x18f)](_0x50795a+_0x1149f1(0x215));}catch(_0x10d700){console[_0x1149f1(0x18f)](_0x50795a+_0x1149f1(0x214)+_0x10d700);}delay(0x12c);}}),await delay(0x2bc);var _0x160598;if(conf['MODE'][_0x346c05(0x10f)]()===_0x346c05(0x119))_0x160598=_0x346c05(0x151);else conf[_0x346c05(0x147)][_0x346c05(0x10f)]()===_0x346c05(0x12d)?_0x160598=_0x346c05(0x245):_0x160598=_0x346c05(0x186);console[_0x346c05(0x18f)](_0x346c05(0x139)),await _0x5872e4();if(conf['DP']['toLowerCase']()===_0x346c05(0x119)){let _0x3a4c5e=_0x346c05(0x1de)+prefixe+'\x20]\x0a║\x20\x20\x20\x20Mode\x20:'+_0x160598+'\x0a║\x20\x20\x20\x20Nombre\x20total\x20de\x20Commandes\x20:\x20'+evt['cm'][_0x346c05(0x154)]+'︎\x0a╚══════════════════╝\x0a\x20\x20\x0a╔═════◇\x0a║『𝗯𝘆\x20THOMAS TECH』\x0a║\x20\x0a╚══════════════════╝';await _0x59d506[_0x346c05(0x20c)](_0x59d506[_0x346c05(0x189)]['id'],{'text':_0x3a4c5e});}}}}}),_0x59d506['ev']['on']('creds.update',_0x5e160c),_0x59d506[_0x5679ab(0x202)]=async(_0x46a055,_0x304927='',_0x24ed1b=!![])=>{const _0x52fde8=_0x5679ab;let _0x1e8ef4=_0x46a055[_0x52fde8(0x241)]?_0x46a055['msg']:_0x46a055,_0x250d59=(_0x46a055['msg']||_0x46a055)[_0x52fde8(0x207)]||'',_0x24eea7=_0x46a055[_0x52fde8(0x11c)]?_0x46a055[_0x52fde8(0x11c)]['replace'](/Message/gi,''):_0x250d59['split']('/')[0x0];const _0x3bc346=await downloadContentFromMessage(_0x1e8ef4,_0x24eea7);let _0x258429=Buffer['from']([]);for await(const _0x3b6e48 of _0x3bc346){_0x258429=Buffer[_0x52fde8(0x1f1)]([_0x258429,_0x3b6e48]);}let _0x36b5c7=await FileType[_0x52fde8(0x21c)](_0x258429),_0x3835f4='./'+_0x304927+'.'+_0x36b5c7['ext'];return await fs[_0x52fde8(0x12f)](_0x3835f4,_0x258429),_0x3835f4;},_0x59d506[_0x5679ab(0x198)]=async(_0x12aa29={})=>{return new Promise((_0x286f8c,_0x4e197e)=>{const _0xbfd70c=a64_0x20db;if(typeof _0x12aa29!==_0xbfd70c(0x1f8))_0x4e197e(new Error(_0xbfd70c(0x1e8)));if(typeof _0x12aa29[_0xbfd70c(0x163)]!=='string')_0x4e197e(new Error(_0xbfd70c(0x162)));if(typeof _0x12aa29[_0xbfd70c(0x1a9)]!==_0xbfd70c(0x1ef))_0x4e197e(new Error(_0xbfd70c(0x164)));if(_0x12aa29[_0xbfd70c(0x1ed)]&&typeof _0x12aa29['timeout']!==_0xbfd70c(0x1fc))_0x4e197e(new Error('Timeout\x20must\x20be\x20a\x20number'));if(_0x12aa29[_0xbfd70c(0x15e)]&&typeof _0x12aa29[_0xbfd70c(0x15e)]!==_0xbfd70c(0x17f))_0x4e197e(new Error(_0xbfd70c(0x1d8)));const _0x52b1ba=_0x12aa29?.[_0xbfd70c(0x1ed)]||undefined,_0x2a69cd=_0x12aa29?.[_0xbfd70c(0x15e)]||(()=>!![]);let _0x5aa6e5=undefined,_0x57f1fc=_0x23a321=>{const _0x458184=_0xbfd70c;let {type:_0x570402,messages:_0x2047eb}=_0x23a321;if(_0x570402==_0x458184(0x16a))for(let _0x4fbc59 of _0x2047eb){const _0x43be42=_0x4fbc59['key'][_0x458184(0x16e)],_0x1d6c7c=_0x4fbc59[_0x458184(0x16b)][_0x458184(0x1b0)],_0x3b1ad1=_0x1d6c7c['endsWith'](_0x458184(0x117)),_0x1a9398=_0x1d6c7c==_0x458184(0x125),_0x68f65=_0x43be42?_0x59d506[_0x458184(0x189)]['id'][_0x458184(0x18b)](/:.*@/g,'@'):_0x3b1ad1||_0x1a9398?_0x4fbc59['key']['participant'][_0x458184(0x18b)](/:.*@/g,'@'):_0x1d6c7c;_0x68f65==_0x12aa29[_0x458184(0x163)]&&_0x1d6c7c==_0x12aa29[_0x458184(0x1a9)]&&_0x2a69cd(_0x4fbc59)&&(_0x59d506['ev'][_0x458184(0x131)](_0x458184(0x16f),_0x57f1fc),clearTimeout(_0x5aa6e5),_0x286f8c(_0x4fbc59));}};_0x59d506['ev']['on'](_0xbfd70c(0x16f),_0x57f1fc),_0x52b1ba&&(_0x5aa6e5=setTimeout(()=>{const _0x14e3ed=_0xbfd70c;_0x59d506['ev']['off'](_0x14e3ed(0x16f),_0x57f1fc),_0x4e197e(new Error(_0x14e3ed(0x1ea)));},_0x52b1ba));});};async function _0x5872e4(){const _0x963aae=_0x5679ab,_0x375c60=require(_0x963aae(0x1ae)),{getCron:_0x3cf7ef}=require(_0x963aae(0x14e));let _0x54d53a=await _0x3cf7ef();console[_0x963aae(0x18f)](_0x54d53a);if(_0x54d53a[_0x963aae(0x154)]>0x0)for(let _0x2ddc77=0x0;_0x2ddc77<_0x54d53a['length'];_0x2ddc77++){if(_0x54d53a[_0x2ddc77]['mute_at']!=null){let _0x245fb1=_0x54d53a[_0x2ddc77]['mute_at'][_0x963aae(0x201)](':');console[_0x963aae(0x18f)](_0x963aae(0x18a)+_0x54d53a[_0x2ddc77][_0x963aae(0x1ca)]+_0x963aae(0x112)+_0x245fb1[0x0]+_0x963aae(0x185)+_0x245fb1[0x1]),_0x375c60[_0x963aae(0x128)](_0x245fb1[0x1]+'\x20'+_0x245fb1[0x0]+_0x963aae(0x236),async()=>{const _0x5ce0f9=_0x963aae;try{await _0x59d506[_0x5ce0f9(0x1e6)](_0x54d53a[_0x2ddc77][_0x5ce0f9(0x1ca)],_0x5ce0f9(0x237)),_0x59d506[_0x5ce0f9(0x20c)](_0x54d53a[_0x2ddc77]['group_id'],{'image':{'url':_0x5ce0f9(0x193)},'caption':'Tic\x20Tac,\x20les\x20discussions\x20passionnantes\x20touchent\x20à\x20leur\x20fin.\x20Nous\x20vous\x20remercions\x20pour\x20votre\x20participation\x20active\x20;\x20maintenant,\x20c\x27est\x20l\x27heure\x20de\x20fermer\x20le\x20groupe\x20pour\x20aujourd\x27hui.'});}catch(_0x629f62){console['log'](_0x629f62);}},{'timezone':'Africa/Abidjan'});}if(_0x54d53a[_0x2ddc77][_0x963aae(0x1d1)]!=null){let _0x47ee29=_0x54d53a[_0x2ddc77][_0x963aae(0x1d1)]['split'](':');console['log'](_0x963aae(0x1f3)+_0x47ee29[0x0]+_0x963aae(0x185)+_0x47ee29[0x1]+'\x20'),_0x375c60[_0x963aae(0x128)](_0x47ee29[0x1]+'\x20'+_0x47ee29[0x0]+_0x963aae(0x236),async()=>{const _0x2d224e=_0x963aae;try{await _0x59d506[_0x2d224e(0x1e6)](_0x54d53a[_0x2ddc77][_0x2d224e(0x1ca)],_0x2d224e(0x15d)),_0x59d506[_0x2d224e(0x20c)](_0x54d53a[_0x2ddc77]['group_id'],{'image':{'url':'./media/chrono.jpg'},'caption':_0x2d224e(0x210)});}catch(_0x44d5d5){console[_0x2d224e(0x18f)](_0x44d5d5);}},{'timezone':'Africa/Abidjan'});}}else console[_0x963aae(0x18f)](_0x963aae(0x1c3));return;}}connectToWhatsapp();