forked from Luffy2ndAccount/Zokou-english-v
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
1 lines (1 loc) · 41.3 KB
/
index.js
1
'use strict';const _0xd9ea57=_0x1021;(function(_0x551c44,_0x218d44){const _0x1293bf=_0x1021,_0x4190d1=_0x551c44();while(!![]){try{const _0x646187=parseInt(_0x1293bf(0x1c8))/0x1*(parseInt(_0x1293bf(0x110))/0x2)+parseInt(_0x1293bf(0x1a8))/0x3+-parseInt(_0x1293bf(0xca))/0x4+parseInt(_0x1293bf(0xe9))/0x5+parseInt(_0x1293bf(0x131))/0x6+parseInt(_0x1293bf(0x10f))/0x7+-parseInt(_0x1293bf(0xb5))/0x8;if(_0x646187===_0x218d44)break;else _0x4190d1['push'](_0x4190d1['shift']());}catch(_0x2026f8){_0x4190d1['push'](_0x4190d1['shift']());}}}(_0x624f,0x2fe3c));var __createBinding=this&&this[_0xd9ea57(0xa3)]||(Object[_0xd9ea57(0x113)]?function(_0x1e30d1,_0x3cc9aa,_0x9683ba,_0x30ee71){const _0x4469fa=_0xd9ea57;if(_0x30ee71===undefined)_0x30ee71=_0x9683ba;var _0x1408a1=Object[_0x4469fa(0x1ac)](_0x3cc9aa,_0x9683ba);(!_0x1408a1||(_0x4469fa(0x105)in _0x1408a1?!_0x3cc9aa[_0x4469fa(0x1c4)]:_0x1408a1[_0x4469fa(0xb9)]||_0x1408a1['configurable']))&&(_0x1408a1={'enumerable':!![],'get':function(){return _0x3cc9aa[_0x9683ba];}}),Object[_0x4469fa(0xa7)](_0x1e30d1,_0x30ee71,_0x1408a1);}:function(_0xfe56bf,_0x1ffd23,_0x554c28,_0x50af53){if(_0x50af53===undefined)_0x50af53=_0x554c28;_0xfe56bf[_0x50af53]=_0x1ffd23[_0x554c28];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[_0xd9ea57(0x113)]?function(_0x7b5e9a,_0x39aa3b){const _0x3e39dc=_0xd9ea57;Object['defineProperty'](_0x7b5e9a,_0x3e39dc(0xdb),{'enumerable':!![],'value':_0x39aa3b});}:function(_0x4e34af,_0x412e77){const _0x22f582=_0xd9ea57;_0x4e34af[_0x22f582(0xdb)]=_0x412e77;}),__importStar=this&&this['__importStar']||function(_0x452d7c){const _0x459489=_0xd9ea57;if(_0x452d7c&&_0x452d7c[_0x459489(0x1c4)])return _0x452d7c;var _0x5e9cd9={};if(_0x452d7c!=null){for(var _0x421553 in _0x452d7c)if(_0x421553!=='default'&&Object[_0x459489(0x1c3)][_0x459489(0x129)][_0x459489(0x1ca)](_0x452d7c,_0x421553))__createBinding(_0x5e9cd9,_0x452d7c,_0x421553);}return __setModuleDefault(_0x5e9cd9,_0x452d7c),_0x5e9cd9;},__importDefault=this&&this['__importDefault']||function(_0x321474){const _0x4b163c=_0xd9ea57;return _0x321474&&_0x321474[_0x4b163c(0x1c4)]?_0x321474:{'default':_0x321474};};Object[_0xd9ea57(0xa7)](exports,_0xd9ea57(0x1c4),{'value':!![]});const baileys_1=__importStar(require(_0xd9ea57(0x14a))),logger_1=__importDefault(require(_0xd9ea57(0xe3))),logger=logger_1['default'][_0xd9ea57(0xcc)]({});logger[_0xd9ea57(0x165)]=_0xd9ea57(0x1c9);const pino=require(_0xd9ea57(0xfe)),boom_1=require(_0xd9ea57(0x1a1)),conf=require(_0xd9ea57(0x1be)),axios=require('axios');let fs=require(_0xd9ea57(0x120)),path=require(_0xd9ea57(0xaa));function _0x624f(){const _0x338983=['singleSelectReply','cache','changeAfkState','1029265eVbWtz','log','floor','\x20a\x20','Timeout','sendPresenceUpdate','unmute_at','Africa/Abidjan','etablissement\x20d\x27un\x20automute\x20pour\x20','replace','╔════◇\x0a║\x20『𝐙𝐨𝐤𝐨𝐮-𝐌𝐃』\x0a║\x20\x20\x20\x20Prefix\x20:\x20[\x20','messageContextInfo','st1.webp','existsSync','delete','listResponseMessage','forEach','timeout','admin','Erreur\x20lors\x20de\x20la\x20requête\x20à\x20BrainShop\x20:','action','pino','key','WARN_COUNT','length','mute_at','PM_PERMIT','1.0.0','get','oui','./store.json','./bdd/cron','readMessages','endsWith','😡😡\x20','fromBuffer','bot\x20detected\x20;you\x20will\x20be\x20remove\x20because\x20of\x20reaching\x20warn-limit','le\x20bot\x20est\x20en\x20ligne\x20🕸\x0a\x0a','1896342GSncBK','91570POZEXr','toFile','mentionedJid','create','creds.update','http://api.brainshop.ai/get?bid=177607&key=NwzhALqeO1kubFVD&uid=[uid]&msg=','Sender\x20must\x20be\x20a\x20string','https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif','CHATBOT','chatJid','delay','\x20has\x20violated\x20the\x20anti-promotion\x20rule,\x20therefore\x20both\x20','map','fromMe','NUMERO_OWNER','22891733300','fs-extra','composing','quotedMessage','\x20]\x0a║\x20\x20\x20\x20Mode\x20:','/auth','non','antipromote','off','public','hasOwnProperty','/auth/creds.json','random','from','hum\x20','mention\x20pas\x20actifs','︎\x0a╚══════════════════╝\x0a\x0a╔═════◇\x0a\x0aif\x20there\x20are\x20some\x20errors\x20you\x20can\x20tell\x20us\x20:)\x20\x0athanks\x20you\x20for\x20choosing\x20zokou\x20MD\x0a\x0a╚══════════════════╝','ChatJid\x20must\x20be\x20a\x20string','1271142blyhfC','toBuffer','message\x20delete\x20\x0a\x20@','participant','string','mtype','connexion\x20réplacée\x20,,,\x20une\x20sesssion\x20est\x20déjà\x20ouverte\x20veuillez\x20la\x20fermer\x20svp\x20!!!','!!!\x20connexion\x20fermée,\x20reconnexion\x20en\x20cours\x20...','ext','group-participants.update','/framework/zokou','transparent','undefined','resolve','type\x20de\x20message\x20:\x20','object','Session\x20id\x20érronée\x20veuillez\x20rescanner\x20le\x20qr\x20svp\x20...','filter','antiien\x20','open','node-cron','recording','startsWith','writeToFile','restartRequired','@whiskeysockets/baileys','warn','conversation','store','toLocaleLowerCase','https://telegra.ph/file/4cc2712eee93c105f6739.jpg','keys','slice','\x20*\x20*\x20*','writeFileSync','------','An\x20Error\x20Occurred,\x20Repeat\x20Command!','Filter\x20must\x20be\x20a\x20function','creds','desc','.js','Boom','remoteJid','cnt','one\x20or\x20somes\x20member(s)\x20left\x20group;\x0a','contextInfo','./bdd/warn','yes','Message\x20supprimer','\x0a║\x20\x20\x20\x20Total\x20Commandes\x20:\x20','antibot\x20','user','level','pm2\x20restart\x20all','lien','\x20:\x20','Timeout\x20must\x20be\x20a\x20number','connectionLost','wa-sticker-formatter','imageMessage','participants','readFileSync','utf8','parse','===========\x20Nouveau\x20message\x20===========','session','------------------/-----','/framework/app','push','MODE','contacts','PREFIXE','status','catch','Message\x20supprimer\x20me\x20concernant','url','store.json','You\x20are\x20banned\x20from\x20bot\x20commands','available','lien\x20detected,\x20\x0a','.\x20Consequently,\x20he\x20has\x20been\x20stripped\x20of\x20administrative\x20rights.','find','msg','Good\x20morning;\x20It\x27s\x20time\x20to\x20open\x20the\x20group.','./bdd/banGroup','bind','test','fetchLatestBaileysVersion','extendedTextMessage','type','profilePictureUrl','message\x20deleted\x20\x0a\x20@','owner','./bdd/mention','author','@s.whatsapp.net','#000000','promote','bot\x20detected\x20,\x20your\x20warn_count\x20was\x20upgrade\x20;\x0a\x20rest\x20:\x20','/commandes','chargement\x20des\x20commandes\x20terminé\x20✅','\x20installé\x20✔️','\x20removed\x20from\x20group.','./media/chrono.webp','connectionReplaced','split','./bdd/banUser','selectedButtonId','Je\x20ne\x20reagis\x20pas\x20au\x20reactions','downloadAndSaveMediaMessage','groupParticipantsUpdate','makeCacheableSignalKeyStore','@hapi/boom','ADM','je\x20fais\x20rien','buttonsResponseMessage','unavailable','getContentType','pushName','1150509JUyMMb','\x20have\x20been\x20removed\x20from\x20administrative\x20rights.','group_id','add','getOwnPropertyDescriptor','connection.update','trim','close','concat','chargement\x20des\x20commandes\x20...\x0a','antidemote','child_process','getAfkById','function','./bdd/sudo','redemarrage\x20sur\x20le\x20coup\x20de\x20l\x27erreur\x20\x20','announcement','safari','fonction','120363158701337904@g.us','output','readFromFile','./set','mise\x20à\x20jour\x20','message','remove','json','prototype','__esModule','protocolMessage','schedule','Options\x20must\x20be\x20an\x20object','1RQjTna','silent','call','link\x20detected\x20,\x20you\x20will\x20be\x20remove\x20because\x20of\x20reaching\x20warn-limit','ETAT','selectedRowId','connectionClosed','\x20avoid\x20sending\x20link.','AUTO_READ_STATUS','useMultiFileAuthState','messages.upsert','sendMessage','ℹ️\x20Connexion\x20en\x20cours...','./bdd/stickcmd','22559763447','\x20H\x20','║\x0a╚════◇◇◇═════╝\x0a◇\x20*Descriptioon*\x20\x20\x20◇\x0a\x0a','mimetype','/commandes/','readdirSync','toLowerCase','shift','__createBinding','zokk','video','videoMessage','defineProperty','https://','22543343357','path','Session\x20Invalide\x20','12345','Cas\x20de\x20superUser\x20je\x20fais\x20rien','welcome','contacts.upsert','./bdd/welcome','demote','unlink','stickerMessage','@g.us','4275304hIplNc','error','text','BAES','writable','then','\x20Avoid\x20sending\x20link.','statusCode','DisconnectReason','./bdd/antibot','s.whatsapp.net','OWNER_NAME','sender','Zokou-Md','status@broadcast','nomCom','bdd\x20err\x20','number','watchFile','no\x20url','reaction','1549340YdWTwr','╔════◇◇◇═════╗\x0a║\x20welcome\x20to\x20new(s)\x20member(s)\x0a║\x20*New(s)\x20Member(s)\x20:*\x0a','child','assign','Message\x20non\x20trouver','Link\x20detected\x20,\x20your\x20warn_count\x20was\x20upgrade\x20;\x0a\x20rest\x20:\x20','caption','Zoou-Md','BAE5','connecting','connexion\x20en\x20cour\x20...','Les\x20crons\x20n\x27ont\x20pas\x20été\x20activés','downloadContentFromMessage','goodbye','./media/deleted-message.jpg','etablissement\x20d\x27un\x20autounmute\x20pour\x20','FULL','default','etat','makeInMemoryStore','unwatchFile','loadMessage','Since\x20you\x20are\x20back\x20we\x20are\x20deactivating\x20Afk','includes','message\x20envoyé\x20par\x20:\x20','@whiskeysockets/baileys/lib/Utils/logger','groupSettingUpdate','AUTO_DOWNLOAD_STATUS'];_0x624f=function(){return _0x338983;};return _0x624f();}const FileType=require('file-type'),{Sticker,createSticker,StickerTypes}=require(_0xd9ea57(0x16b)),{verifierEtatJid,recupererActionJid}=require('./bdd/antilien'),{atbverifierEtatJid,atbrecupererActionJid}=require(_0xd9ea57(0xbe));let evt=require(__dirname+_0xd9ea57(0x13b));const {isUserBanned,addUserToBanList,removeUserFromBanList}=require(_0xd9ea57(0x19b)),{addGroupToBanList,isGroupBanned,removeGroupFromBanList}=require(_0xd9ea57(0x185)),{isGroupOnlyAdmin,addGroupToOnlyAdminList,removeGroupFromOnlyAdminList}=require('./bdd/onlyAdmin');let {reagir}=require(__dirname+_0xd9ea57(0x174));function _0x1021(_0x90512f,_0x36bb45){const _0x624ff4=_0x624f();return _0x1021=function(_0x102121,_0xb3356b){_0x102121=_0x102121-0xa1;let _0x130872=_0x624ff4[_0x102121];return _0x130872;},_0x1021(_0x90512f,_0x36bb45);}var session=conf[_0xd9ea57(0x172)]['replace'](/Zokou-MD-WHATSAPP-BOT;;;=>/g,'');const prefixe=conf[_0xd9ea57(0x178)];async function authentification(){const _0xb2450f=_0xd9ea57;try{if(!fs[_0xb2450f(0xf6)](__dirname+_0xb2450f(0x12a)))console[_0xb2450f(0xea)](_0xb2450f(0xd4)),await fs[_0xb2450f(0x153)](__dirname+'/auth/creds.json',atob(session),_0xb2450f(0x16f));else fs[_0xb2450f(0xf6)](__dirname+_0xb2450f(0x12a))&&session!=_0xb2450f(0xa4)&&await fs['writeFileSync'](__dirname+_0xb2450f(0x12a),atob(session),_0xb2450f(0x16f));}catch(_0x5808b4){console[_0xb2450f(0xea)](_0xb2450f(0xab)+_0x5808b4);return;}}authentification();const store=(0x0,baileys_1[_0xd9ea57(0xdd)])({'logger':pino()[_0xd9ea57(0xcc)]({'level':'silent','stream':_0xd9ea57(0x14d)})});setTimeout(()=>{const _0xc51137=_0xd9ea57;async function _0x18243d(){const _0xeb7cd2=_0x1021,{version:_0x30b8e1,isLatest:_0x3a1743}=await(0x0,baileys_1[_0xeb7cd2(0x188)])(),{state:_0x4bb4cf,saveCreds:_0x482d21}=await(0x0,baileys_1[_0xeb7cd2(0x1d1)])(__dirname+_0xeb7cd2(0x124)),_0x4a67bc={'version':_0x30b8e1,'logger':pino({'level':'silent'}),'browser':[_0xeb7cd2(0xc2),_0xeb7cd2(0x1b9),_0xeb7cd2(0x104)],'printQRInTerminal':!![],'fireInitQueries':![],'shouldSyncHistoryMessage':!![],'downloadHistory':!![],'syncFullHistory':!![],'generateHighQualityLinkPreview':!![],'markOnlineOnConnect':![],'keepAliveIntervalMs':0x7530,'auth':{'creds':_0x4bb4cf[_0xeb7cd2(0x157)],'keys':(0x0,baileys_1[_0xeb7cd2(0x1a0)])(_0x4bb4cf[_0xeb7cd2(0x150)],logger)},'getMessage':async _0x1dd2f1=>{const _0x370460=_0xeb7cd2;if(store){const _0x1a0b53=await store[_0x370460(0xdf)](_0x1dd2f1[_0x370460(0x15b)],_0x1dd2f1['id'],undefined);return _0x1a0b53[_0x370460(0x1c0)]||undefined;}return{'conversation':_0x370460(0x155)};}};store[_0xeb7cd2(0x1bd)](_0xeb7cd2(0x17d));const _0x2d1148=(0x0,baileys_1['default'])(_0x4a67bc);store[_0xeb7cd2(0x186)](_0x2d1148['ev']),setInterval(()=>{const _0x1b2565=_0xeb7cd2;store[_0x1b2565(0x148)](_0x1b2565(0x17d));},0x3e8),_0x2d1148['ev']['on'](_0xeb7cd2(0x1d2),async _0xef9be0=>{const _0x2245c9=_0xeb7cd2,{messages:_0x48d30b}=_0xef9be0,_0x5c05d0=_0x48d30b[0x0];if(!_0x5c05d0[_0x2245c9(0x1c0)])return;const _0x51277b=_0xb8e408=>{const _0x35dd09=_0x2245c9;if(!_0xb8e408)return _0xb8e408;if(/:\d+@/gi[_0x35dd09(0x187)](_0xb8e408)){let _0x57f93f=(0x0,baileys_1['jidDecode'])(_0xb8e408)||{};return _0x57f93f[_0x35dd09(0x164)]&&_0x57f93f['server']&&_0x57f93f[_0x35dd09(0x164)]+'@'+_0x57f93f['server']||_0xb8e408;}else return _0xb8e408;};var _0x5f31e8=(0x0,baileys_1[_0x2245c9(0x1a6)])(_0x5c05d0[_0x2245c9(0x1c0)]),_0x11a74a=_0x5f31e8==_0x2245c9(0x14c)?_0x5c05d0['message']['conversation']:_0x5f31e8==_0x2245c9(0x16c)?_0x5c05d0['message'][_0x2245c9(0x16c)]?.['caption']:_0x5f31e8==_0x2245c9(0xa6)?_0x5c05d0[_0x2245c9(0x1c0)]['videoMessage']?.[_0x2245c9(0xd0)]:_0x5f31e8=='extendedTextMessage'?_0x5c05d0[_0x2245c9(0x1c0)]?.[_0x2245c9(0x189)]?.['text']:_0x5f31e8==_0x2245c9(0x1a4)?_0x5c05d0?.[_0x2245c9(0x1c0)]?.['buttonsResponseMessage']?.[_0x2245c9(0x19c)]:_0x5f31e8=='listResponseMessage'?_0x5c05d0[_0x2245c9(0x1c0)]?.[_0x2245c9(0xf8)]?.[_0x2245c9(0xe6)]?.[_0x2245c9(0x1cd)]:_0x5f31e8==_0x2245c9(0xf4)?_0x5c05d0?.['message']?.[_0x2245c9(0x1a4)]?.[_0x2245c9(0x19c)]||_0x5c05d0[_0x2245c9(0x1c0)]?.[_0x2245c9(0xf8)]?.[_0x2245c9(0xe6)]?.[_0x2245c9(0x1cd)]||_0x5c05d0[_0x2245c9(0xb7)]:'',_0x56b2ed=_0x5c05d0['key'][_0x2245c9(0x15b)],_0x2bf738=_0x51277b(_0x2d1148[_0x2245c9(0x164)]['id']),_0x25406f=_0x2bf738[_0x2245c9(0x19a)]('@')[0x0];const _0x32cff3=_0x56b2ed?.[_0x2245c9(0x10a)](_0x2245c9(0xb4));var _0x49af14=_0x32cff3?await _0x2d1148['groupMetadata'](_0x56b2ed):'',_0x62ece8=_0x32cff3?_0x49af14['subject']:'',_0x641753=_0x5c05d0[_0x2245c9(0x1c0)]['extendedTextMessage']?.[_0x2245c9(0x15e)]?.[_0x2245c9(0x122)],_0x2dd48f=_0x51277b(_0x5c05d0[_0x2245c9(0x1c0)]?.[_0x2245c9(0x189)]?.[_0x2245c9(0x15e)]?.[_0x2245c9(0x134)]),_0x6ca39=_0x5c05d0['message']?.['extendedTextMessage']?.[_0x2245c9(0x15e)]?.[_0x2245c9(0x112)],_0x3b9e64=_0x6ca39?_0x6ca39:_0x641753?_0x2dd48f:'',_0x263e49=_0x32cff3?_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x134)]?_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x134)]:_0x5c05d0[_0x2245c9(0x134)]:_0x56b2ed;_0x5c05d0[_0x2245c9(0xff)]['fromMe']&&(_0x263e49=_0x2bf738);var _0x3e5f39=_0x32cff3?_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x134)]:'';const {getAllSudoNumbers:_0xa48196}=require(_0x2245c9(0x1b6)),_0x5dd05b=_0x5c05d0[_0x2245c9(0x1a7)],_0x4e3fb6=_0x2245c9(0x1d6),_0x22de6e=_0x2245c9(0xa9),_0x2bf449='22564297888',_0x262973=_0x2245c9(0x11f),_0x4df910=await _0xa48196(),_0x5da398=[_0x25406f,_0x4e3fb6,_0x22de6e,_0x2bf449,_0x262973,conf['NUMERO_OWNER']][_0x2245c9(0x11c)](_0x4f9af0=>_0x4f9af0[_0x2245c9(0xf2)](/[^0-9]/g)+_0x2245c9(0x190)),_0x5bfeca=_0x5da398['concat'](_0x4df910),_0x267e44=_0x5bfeca[_0x2245c9(0xe1)](_0x263e49);var _0x1e4996=[_0x4e3fb6,_0x22de6e,_0x2bf449,_0x262973]['map'](_0x33ae5a=>_0x33ae5a[_0x2245c9(0xf2)](/[^0-9]/g)+'@s.whatsapp.net')[_0x2245c9(0xe1)](_0x263e49);function _0x4baaca(_0x1cf718){const _0x571024=_0x2245c9;_0x2d1148[_0x571024(0x1d3)](_0x56b2ed,{'text':_0x1cf718},{'quoted':_0x5c05d0});}console['log']('\x09\x20[][]...{Zokou-Md}...[][]'),console[_0x2245c9(0xea)](_0x2245c9(0x171));_0x32cff3&&console[_0x2245c9(0xea)]('message\x20provenant\x20du\x20groupe\x20:\x20'+_0x62ece8);console['log'](_0x2245c9(0xe2)+'['+_0x5dd05b+_0x2245c9(0x168)+_0x263e49[_0x2245c9(0x19a)](_0x2245c9(0x190))[0x0]+'\x20]'),console['log'](_0x2245c9(0x13f)+_0x5f31e8),console['log']('------\x20contenu\x20du\x20message\x20------'),console[_0x2245c9(0xea)](_0x11a74a);function _0x2a26c2(_0x57de0f){const _0x2848bb=_0x2245c9;let _0x338f24=[];for(_0xef9be0 of _0x57de0f){if(_0xef9be0[_0x2848bb(0xfb)]==null)continue;_0x338f24[_0x2848bb(0x175)](_0xef9be0['id']);}return _0x338f24;}var _0x46e33a=conf[_0x2245c9(0x1cc)];if(_0x46e33a==0x1)await _0x2d1148[_0x2245c9(0xee)](_0x2245c9(0x17f),_0x56b2ed);else{if(_0x46e33a==0x2)await _0x2d1148[_0x2245c9(0xee)](_0x2245c9(0x121),_0x56b2ed);else _0x46e33a==0x3?await _0x2d1148['sendPresenceUpdate'](_0x2245c9(0x146),_0x56b2ed):await _0x2d1148[_0x2245c9(0xee)](_0x2245c9(0x1a5),_0x56b2ed);}const _0x1217a7=_0x32cff3?await _0x49af14[_0x2245c9(0x16d)]:'';let _0x274698=_0x32cff3?_0x2a26c2(_0x1217a7):'';const _0x1bdadc=_0x32cff3?_0x274698[_0x2245c9(0xe1)](_0x263e49):![];var _0xeadd67=_0x32cff3?_0x274698[_0x2245c9(0xe1)](_0x2bf738):![];const _0x882270=_0x11a74a?_0x11a74a['trim']()[_0x2245c9(0x19a)](/ +/)[_0x2245c9(0x151)](0x1):null,_0x2e40cf=_0x11a74a?_0x11a74a[_0x2245c9(0x147)](prefixe):![],_0x2d9242=_0x2e40cf?_0x11a74a[_0x2245c9(0x151)](0x1)[_0x2245c9(0x1ae)]()[_0x2245c9(0x19a)](/ +/)[_0x2245c9(0xa2)]()[_0x2245c9(0xa1)]():![],_0x404f60=conf['URL'][_0x2245c9(0x19a)](',');function _0x330fa2(){const _0x478b54=_0x2245c9,_0x46adb5=Math[_0x478b54(0xeb)](Math[_0x478b54(0x12b)]()*_0x404f60['length']),_0x2d7176=_0x404f60[_0x46adb5];return _0x2d7176;}var _0x4443f4={'superUser':_0x267e44,'dev':_0x1e4996,'verifGroupe':_0x32cff3,'mbre':_0x1217a7,'membreGroupe':_0x3e5f39,'verifAdmin':_0x1bdadc,'infosGroupe':_0x49af14,'nomGroupe':_0x62ece8,'auteurMessage':_0x263e49,'nomAuteurMessage':_0x5dd05b,'idBot':_0x2bf738,'verifZokouAdmin':_0xeadd67,'prefixe':prefixe,'arg':_0x882270,'repondre':_0x4baaca,'mtype':_0x5f31e8,'groupeAdmin':_0x2a26c2,'msgRepondu':_0x641753,'auteurMsgRepondu':_0x2dd48f,'ms':_0x5c05d0,'mybotpic':_0x330fa2};if(_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0x1c5)]&&_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0x1c5)][_0x2245c9(0x18a)]===0x0&&conf[_0x2245c9(0x1a2)][_0x2245c9(0x14e)]()===_0x2245c9(0x106)){if(_0x5c05d0[_0x2245c9(0xff)]['fromMe']){console[_0x2245c9(0xea)](_0x2245c9(0x17b));return;}console[_0x2245c9(0xea)](_0x2245c9(0x161));let _0x1dfec8=_0x5c05d0['message'][_0x2245c9(0x1c5)][_0x2245c9(0xff)];try{let _0x4ff95b=_0x2245c9(0x107);const _0x4141a2=fs['readFileSync'](_0x4ff95b,_0x2245c9(0x16f)),_0x25c4aa=JSON[_0x2245c9(0x170)](_0x4141a2);let _0x4764e6=_0x25c4aa['messages'][_0x1dfec8[_0x2245c9(0x15b)]],_0x2f0950;await(0x0,baileys_1['delay'])(0x3e8);for(let _0x4ddf5d=0x0;_0x4ddf5d<_0x4764e6[_0x2245c9(0x101)];_0x4ddf5d++){if(_0x4764e6[_0x4ddf5d]['key']['id']===_0x1dfec8['id']){_0x2f0950=_0x4764e6[_0x4ddf5d];break;}}console['log'](_0x2f0950);if(_0x2f0950===undefined){console[_0x2245c9(0xea)](_0x2245c9(0xce));return;}await _0x2d1148[_0x2245c9(0x1d3)](_0x2bf738,{'image':{'url':_0x2245c9(0xd8)},'caption':'\x20\x20\x20\x20\x20\x20\x20\x20😈Anti-delete-message😈\x0a\x20Message\x20from\x20@'+_0x2f0950[_0x2245c9(0xff)][_0x2245c9(0x134)][_0x2245c9(0x19a)]('@')[0x0]+'','mentions':[_0x2f0950[_0x2245c9(0xff)][_0x2245c9(0x134)]]})[_0x2245c9(0xba)](()=>{const _0x13d9bf=_0x2245c9;_0x2d1148[_0x13d9bf(0x1d3)](_0x2bf738,{'forward':_0x2f0950},{'quoted':_0x2f0950});});}catch(_0x20af04){console[_0x2245c9(0xea)](_0x20af04);}}try{if(_0x11a74a&&(_0x5f31e8==_0x2245c9(0x14c)||_0x5f31e8==_0x2245c9(0x189))&&!_0x2e40cf){if(_0x56b2ed=='120363158701337904@g.us')return;if(_0x56b2ed===_0x2245c9(0xc3))return;const _0x1c0c5b=require('./bdd/afk');if(_0x56b2ed[_0x2245c9(0x10a)]('@s.whatsapp.net')){let _0x134164=await _0x1c0c5b[_0x2245c9(0x1b4)](0x1);if(_0x134164?.[_0x2245c9(0xdc)]=='on'){const _0x3896e9=_0x5c05d0['key']?.['id']?.[_0x2245c9(0x147)](_0x2245c9(0xb8))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x101)]===0x10,_0x3f67d0=_0x5c05d0['key']?.['id']?.['startsWith'](_0x2245c9(0xd2))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x101)]===0x10;if(_0x3896e9||_0x3f67d0)return;_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x11d)]?(await _0x1c0c5b[_0x2245c9(0xe8)](0x1,_0x2245c9(0x127)),_0x4baaca(_0x2245c9(0xe0))):_0x134164['lien']==_0x2245c9(0xc8)?_0x4baaca(_0x134164[_0x2245c9(0x1c0)]):_0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'image':{'url':_0x134164[_0x2245c9(0x167)]},'caption':_0x134164[_0x2245c9(0x1c0)]},{'caption':_0x5c05d0});}else{if(conf[_0x2245c9(0x118)]==='yes'){if(_0x267e44||_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x11d)])return;fetch(_0x2245c9(0x115)+_0x11a74a)[_0x2245c9(0xba)](_0x1b289d=>_0x1b289d[_0x2245c9(0x1c2)]())[_0x2245c9(0xba)](_0x4634ac=>{const _0x3f41df=_0x2245c9,_0x15fb7b=_0x4634ac[_0x3f41df(0x15c)];console['log'](_0x15fb7b),_0x4baaca(_0x15fb7b);})[_0x2245c9(0x17a)](_0x17a36c=>{const _0x41b471=_0x2245c9;console[_0x41b471(0xb6)](_0x41b471(0xfc),_0x17a36c);});}}}else{let _0x277f06=await _0x1c0c5b['getAfkById'](0x1);if(_0x277f06?.[_0x2245c9(0xdc)]=='on'){const _0x2b3a64=_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x147)](_0x2245c9(0xb8))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x101)]===0x10,_0x2547bc=_0x5c05d0['key']?.['id']?.[_0x2245c9(0x147)](_0x2245c9(0xd2))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x101)]===0x10;if(_0x2b3a64||_0x2547bc)return;if(_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x11d)])return await _0x1c0c5b['changeAfkState'](0x1,_0x2245c9(0x127)),_0x4baaca(_0x2245c9(0xe0));};if(_0x5c05d0[_0x2245c9(0x1c0)][_0x5f31e8]?.['contextInfo']?.[_0x2245c9(0x112)]&&_0x5c05d0['message'][_0x5f31e8]?.[_0x2245c9(0x15e)]?.[_0x2245c9(0x112)][_0x2245c9(0xe1)](_0x2bf738)){let _0x2205b3=await _0x1c0c5b[_0x2245c9(0x1b4)](0x1);if(_0x2205b3?.[_0x2245c9(0xdc)]=='on'){const _0x2dd0cd=_0x5c05d0[_0x2245c9(0xff)]?.['id']?.['startsWith'](_0x2245c9(0xb8))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x101)]===0x10,_0x34e2fa=_0x5c05d0['key']?.['id']?.[_0x2245c9(0x147)](_0x2245c9(0xd2))&&_0x5c05d0['key']?.['id']?.[_0x2245c9(0x101)]===0x10;if(_0x2dd0cd||_0x34e2fa)return;_0x2205b3[_0x2245c9(0x167)]=='no\x20url'?_0x4baaca(_0x2205b3[_0x2245c9(0x1c0)]):_0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'image':{'url':_0x2205b3[_0x2245c9(0x167)]},'caption':_0x2205b3[_0x2245c9(0x1c0)]},{'caption':_0x5c05d0});}else{if(_0x267e44){console[_0x2245c9(0xea)]('hummm');return;}let _0x5ebd6b=require(_0x2245c9(0x18e)),_0x2325e9=await _0x5ebd6b['recupererToutesLesValeurs'](),_0xb6590c=_0x2325e9[0x0];if(_0xb6590c[_0x2245c9(0x179)]===_0x2245c9(0x125)){console[_0x2245c9(0xea)](_0x2245c9(0x12e));return;}let _0xa646e1;if(_0xb6590c[_0x2245c9(0x18a)][_0x2245c9(0x14e)]()==='image')_0xa646e1={'image':{'url':_0xb6590c[_0x2245c9(0x17c)]},'caption':_0xb6590c[_0x2245c9(0x1c0)]};else{if(_0xb6590c[_0x2245c9(0x18a)][_0x2245c9(0x14e)]()===_0x2245c9(0xa5))_0xa646e1={'video':{'url':_0xb6590c[_0x2245c9(0x17c)]},'caption':_0xb6590c[_0x2245c9(0x1c0)]};else{if(_0xb6590c['type'][_0x2245c9(0x14e)]()==='sticker'){let _0x596d31=new Sticker(_0xb6590c[_0x2245c9(0x17c)],{'pack':conf['NOM_OWNER'],'type':StickerTypes[_0x2245c9(0xda)],'categories':['🤩','🎉'],'id':_0x2245c9(0xac),'quality':0x46,'background':_0x2245c9(0x13c)});const _0x4615fc=await _0x596d31[_0x2245c9(0x132)]();_0xa646e1={'sticker':_0x4615fc};}else _0xb6590c[_0x2245c9(0x18a)]['toLocaleLowerCase']()==='audio'&&(_0xa646e1={'audio':{'url':_0xb6590c[_0x2245c9(0x17c)]},'mimetype':'audio/mp4'});}}_0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,_0xa646e1,{'quoted':_0x5c05d0});}}}}}catch(_0x5ab4c2){console[_0x2245c9(0xea)](_0x5ab4c2);}_0x5c05d0[_0x2245c9(0xff)]&&_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x15b)]===_0x2245c9(0xc3)&&conf[_0x2245c9(0x1d0)]===_0x2245c9(0x160)&&await _0x2d1148[_0x2245c9(0x109)]([_0x5c05d0[_0x2245c9(0xff)]]);if(_0x5c05d0['key']&&_0x5c05d0[_0x2245c9(0xff)][_0x2245c9(0x15b)]==='status@broadcast'&&conf[_0x2245c9(0xe5)]===_0x2245c9(0x160)){if(_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0x189)]){var _0x3d2b3b=_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0x189)][_0x2245c9(0xb7)];await _0x2d1148['sendMessage'](_0x2bf738,{'text':_0x3d2b3b},{'quoted':_0x5c05d0});}else{if(_0x5c05d0['message'][_0x2245c9(0x16c)]){var _0x6b5fc2=_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0x16c)][_0x2245c9(0xd0)],_0x1799ce=await _0x2d1148[_0x2245c9(0x19e)](_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0x16c)]);await _0x2d1148['sendMessage'](_0x2bf738,{'image':{'url':_0x1799ce},'caption':_0x6b5fc2},{'quoted':_0x5c05d0});}else{if(_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0xa6)]){var _0x6b5fc2=_0x5c05d0[_0x2245c9(0x1c0)]['videoMessage']['caption'],_0xdb1d45=await _0x2d1148[_0x2245c9(0x19e)](_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0xa6)]);await _0x2d1148[_0x2245c9(0x1d3)](_0x2bf738,{'video':{'url':_0xdb1d45},'caption':_0x6b5fc2},{'quoted':_0x5c05d0});}}}}if(_0x5c05d0&&_0x5c05d0[_0x2245c9(0x1c0)][_0x2245c9(0xb3)]){const {addstickcmd:_0x300378,deleteCmd:_0x326cc8,getCmdById:_0x22f8a6,inStickCmd:_0x1d6c2d}=require(_0x2245c9(0x1d5));let _0x1ef55a=_0x5c05d0[_0x2245c9(0x1c0)]['stickerMessage']['url'];if(!_0x1d6c2d(_0x1ef55a)||!_0x267e44)return;let _0xd34090=await _0x22f8a6(_0x1ef55a);const _0x490f5f=evt['cm'][_0x2245c9(0x182)](_0x2f9632=>_0x2f9632['nomCom']===_0xd34090);if(_0x490f5f)try{reagir(_0x56b2ed,_0x2d1148,_0x5c05d0,_0x490f5f['reaction']),_0x490f5f[_0x2245c9(0x1ba)](_0x56b2ed,_0x2d1148,_0x4443f4);}catch(_0x3a8d0f){console[_0x2245c9(0xea)](_0x3a8d0f);}};if(_0x11a74a&&_0x263e49[_0x2245c9(0x10a)](_0x2245c9(0xbf))){const {ajouterOuMettreAJourUserData:_0x1a9a00}=require('./bdd/level');try{await _0x1a9a00(_0x263e49);}catch(_0x283769){console['error'](_0x283769);}}try{const _0x230c30=await verifierEtatJid(_0x56b2ed);if(_0x11a74a[_0x2245c9(0xe1)](_0x2245c9(0xa8))&&_0x32cff3&&_0x230c30){console[_0x2245c9(0xea)]('lien\x20detecté');var _0x2405ad=_0x32cff3?_0x274698[_0x2245c9(0xe1)](_0x2bf738):![];if(_0x267e44||_0x1bdadc||!_0x2405ad){console['log'](_0x2245c9(0x1a3));return;};const _0xbad3f1={'remoteJid':_0x56b2ed,'fromMe':![],'id':_0x5c05d0[_0x2245c9(0xff)]['id'],'participant':_0x263e49};var _0x4d0bca=_0x2245c9(0x180);const _0x49cece='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x2f92ae=new Sticker(_0x49cece,{'pack':_0x2245c9(0xd1),'author':conf[_0x2245c9(0xc0)],'type':StickerTypes[_0x2245c9(0xda)],'categories':['🤩','🎉'],'id':_0x2245c9(0xac),'quality':0x32,'background':_0x2245c9(0x191)});await _0x2f92ae[_0x2245c9(0x111)](_0x2245c9(0xf5));var _0x32450c=await recupererActionJid(_0x56b2ed);if(_0x32450c===_0x2245c9(0x1c1)){_0x4d0bca+=_0x2245c9(0x18c)+_0x263e49['split']('@')[0x0]+_0x2245c9(0x197),await _0x2d1148['sendMessage'](_0x56b2ed,{'sticker':fs[_0x2245c9(0x16e)](_0x2245c9(0xf5))}),(0x0,baileys_1[_0x2245c9(0x11a)])(0x320),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x4d0bca,'mentions':[_0x263e49]},{'quoted':_0x5c05d0});try{await _0x2d1148[_0x2245c9(0x19f)](_0x56b2ed,[_0x263e49],_0x2245c9(0x1c1));}catch(_0x51942a){console['log'](_0x2245c9(0x143))+_0x51942a;}await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'delete':_0xbad3f1}),await fs[_0x2245c9(0xb2)](_0x2245c9(0xf5));}else{if(_0x32450c===_0x2245c9(0xf7))_0x4d0bca+=_0x2245c9(0x18c)+_0x263e49['split']('@')[0x0]+_0x2245c9(0x1cf),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x4d0bca,'mentions':[_0x263e49]},{'quoted':_0x5c05d0}),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'delete':_0xbad3f1}),await fs['unlink']('st1.webp');else{if(_0x32450c===_0x2245c9(0x14b)){const {getWarnCountByJID:_0x339f5b,ajouterUtilisateurAvecWarnCount:_0x2e0bbc}=require('./bdd/warn');let _0x12bde6=await _0x339f5b(_0x263e49),_0x18601f=conf[_0x2245c9(0x100)];if(_0x12bde6>=_0x18601f){var _0x4e3935=_0x2245c9(0x1cb);await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x4e3935,'mentions':[_0x263e49]},{'quoted':_0x5c05d0}),await _0x2d1148[_0x2245c9(0x19f)](_0x56b2ed,[_0x263e49],_0x2245c9(0x1c1)),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'delete':_0xbad3f1});}else{var _0xf2ce20=_0x18601f-_0x12bde6,_0x25dc94=_0x2245c9(0xcf)+_0xf2ce20+'\x20';await _0x2e0bbc(_0x263e49),await _0x2d1148['sendMessage'](_0x56b2ed,{'text':_0x25dc94,'mentions':[_0x263e49]},{'quoted':_0x5c05d0}),await _0x2d1148['sendMessage'](_0x56b2ed,{'delete':_0xbad3f1});}}}}}}catch(_0x2ddb9f){console[_0x2245c9(0xea)](_0x2245c9(0xc5)+_0x2ddb9f);}try{const _0x4235cf=_0x5c05d0[_0x2245c9(0xff)]?.['id']?.['startsWith'](_0x2245c9(0xb8))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.[_0x2245c9(0x101)]===0x10,_0x9565e8=_0x5c05d0['key']?.['id']?.[_0x2245c9(0x147)](_0x2245c9(0xd2))&&_0x5c05d0[_0x2245c9(0xff)]?.['id']?.['length']===0x10;if(_0x4235cf||_0x9565e8){if(_0x5f31e8==='reactionMessage'){console['log'](_0x2245c9(0x19d));return;};const _0x2f36a4=await atbverifierEtatJid(_0x56b2ed);if(!_0x2f36a4)return;;if(_0x1bdadc||_0x263e49===_0x2bf738){console['log'](_0x2245c9(0x1a3));return;};const _0x3bec17={'remoteJid':_0x56b2ed,'fromMe':![],'id':_0x5c05d0[_0x2245c9(0xff)]['id'],'participant':_0x263e49};var _0x4d0bca='bot\x20detected,\x20\x0a';const _0x27a3be=_0x2245c9(0x117);var _0x2f92ae=new Sticker(_0x27a3be,{'pack':_0x2245c9(0xd1),'author':conf[_0x2245c9(0xc0)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':'12345','quality':0x32,'background':_0x2245c9(0x191)});await _0x2f92ae[_0x2245c9(0x111)](_0x2245c9(0xf5));var _0x32450c=await atbrecupererActionJid(_0x56b2ed);if(_0x32450c===_0x2245c9(0x1c1)){_0x4d0bca+='message\x20deleted\x20\x0a\x20@'+_0x263e49[_0x2245c9(0x19a)]('@')[0x0]+_0x2245c9(0x197),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'sticker':fs[_0x2245c9(0x16e)](_0x2245c9(0xf5))}),(0x0,baileys_1[_0x2245c9(0x11a)])(0x320),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x4d0bca,'mentions':[_0x263e49]},{'quoted':_0x5c05d0});try{await _0x2d1148[_0x2245c9(0x19f)](_0x56b2ed,[_0x263e49],_0x2245c9(0x1c1));}catch(_0x4ceff2){console[_0x2245c9(0xea)](_0x2245c9(0x163))+_0x4ceff2;}await _0x2d1148['sendMessage'](_0x56b2ed,{'delete':_0x3bec17}),await fs[_0x2245c9(0xb2)]('st1.webp');}else{if(_0x32450c===_0x2245c9(0xf7))_0x4d0bca+=_0x2245c9(0x133)+_0x263e49[_0x2245c9(0x19a)]('@')[0x0]+_0x2245c9(0xbb),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x4d0bca,'mentions':[_0x263e49]},{'quoted':_0x5c05d0}),await _0x2d1148['sendMessage'](_0x56b2ed,{'delete':_0x3bec17}),await fs[_0x2245c9(0xb2)](_0x2245c9(0xf5));else{if(_0x32450c===_0x2245c9(0x14b)){const {getWarnCountByJID:_0xbfa741,ajouterUtilisateurAvecWarnCount:_0x2a14fa}=require(_0x2245c9(0x15f));let _0x494697=await _0xbfa741(_0x263e49),_0x49df23=conf[_0x2245c9(0x100)];if(_0x494697>=_0x49df23){var _0x4e3935=_0x2245c9(0x10d);await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x4e3935,'mentions':[_0x263e49]},{'quoted':_0x5c05d0}),await _0x2d1148[_0x2245c9(0x19f)](_0x56b2ed,[_0x263e49],_0x2245c9(0x1c1)),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'delete':_0x3bec17});}else{var _0xf2ce20=_0x49df23-_0x494697,_0x25dc94=_0x2245c9(0x193)+_0xf2ce20+'\x20';await _0x2a14fa(_0x263e49),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x25dc94,'mentions':[_0x263e49]},{'quoted':_0x5c05d0}),await _0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'delete':_0x3bec17});}}}}}}catch(_0x222aac){console[_0x2245c9(0xea)]('....\x20'+_0x222aac);}if(_0x2e40cf){const _0x3f34aa=evt['cm']['find'](_0xd486b8=>_0xd486b8[_0x2245c9(0xc4)]===_0x2d9242);if(_0x3f34aa)try{if(!_0x1e4996&&_0x56b2ed==_0x2245c9(0x1bb))return;;if(conf['MODE'][_0x2245c9(0x14e)]()!=_0x2245c9(0x160)&&!_0x267e44)return;if(!_0x267e44&&_0x56b2ed===_0x263e49&&conf[_0x2245c9(0x103)]===_0x2245c9(0x160)){_0x4baaca('You\x20don\x27t\x20have\x20acces\x20to\x20commands\x20here');return;}if(!_0x267e44&&_0x32cff3){let _0x5cae5b=await isGroupBanned(_0x56b2ed);if(_0x5cae5b)return;}if(!_0x1bdadc&&_0x32cff3){let _0x5b343a=await isGroupOnlyAdmin(_0x56b2ed);if(_0x5b343a)return;}if(!_0x267e44){let _0xe69945=await isUserBanned(_0x263e49);if(_0xe69945){_0x4baaca(_0x2245c9(0x17e));return;}}reagir(_0x56b2ed,_0x2d1148,_0x5c05d0,_0x3f34aa[_0x2245c9(0xc9)]),_0x3f34aa[_0x2245c9(0x1ba)](_0x56b2ed,_0x2d1148,_0x4443f4);}catch(_0x334adb){console[_0x2245c9(0xea)](_0x2245c9(0x10b)+_0x334adb),_0x2d1148[_0x2245c9(0x1d3)](_0x56b2ed,{'text':_0x2245c9(0x10b)+_0x334adb},{'quoted':_0x5c05d0});}}});const {recupevents:_0x4af2e3}=require(_0xeb7cd2(0xb0));_0x2d1148['ev']['on'](_0xeb7cd2(0x13a),async _0x217dd5=>{const _0x24599a=_0xeb7cd2;console[_0x24599a(0xea)](_0x217dd5);let _0x5de8ba;try{_0x5de8ba=await _0x2d1148[_0x24599a(0x18b)](_0x217dd5['id'],'image');}catch{_0x5de8ba=_0x24599a(0x14f);}try{const _0x1a780c=await _0x2d1148['groupMetadata'](_0x217dd5['id']);if(_0x217dd5[_0x24599a(0xfd)]==_0x24599a(0x1ab)&&await _0x4af2e3(_0x217dd5['id'],_0x24599a(0xae))=='on'){let _0x35283d=_0x24599a(0xcb),_0x583bc4=_0x217dd5['participants'];for(let _0x5a975e of _0x583bc4){_0x35283d+='║\x20@'+_0x5a975e['split']('@')[0x0]+'\x0a';}_0x35283d+=_0x24599a(0x1d8)+_0x1a780c[_0x24599a(0x158)],_0x2d1148['sendMessage'](_0x217dd5['id'],{'image':{'url':_0x5de8ba},'caption':_0x35283d,'mentions':_0x583bc4});}else{if(_0x217dd5[_0x24599a(0xfd)]==_0x24599a(0x1c1)&&await _0x4af2e3(_0x217dd5['id'],_0x24599a(0xd7))=='on'){let _0x3d56a3=_0x24599a(0x15d),_0x1c27ac=_0x217dd5['participants'];for(let _0x1c6718 of _0x1c27ac){_0x3d56a3+='@'+_0x1c6718[_0x24599a(0x19a)]('@')[0x0]+'\x0a';}_0x2d1148['sendMessage'](_0x217dd5['id'],{'text':_0x3d56a3,'mentions':_0x1c27ac});}else{if(_0x217dd5[_0x24599a(0xfd)]==_0x24599a(0x192)&&await _0x4af2e3(_0x217dd5['id'],_0x24599a(0x126))=='on'){if(_0x217dd5[_0x24599a(0x18f)]==_0x1a780c[_0x24599a(0x18d)]||_0x217dd5[_0x24599a(0x18f)]==conf[_0x24599a(0x11e)]+_0x24599a(0x190)||_0x217dd5[_0x24599a(0x18f)]==decodeJid(_0x2d1148[_0x24599a(0x164)]['id'])||_0x217dd5[_0x24599a(0x18f)]==_0x217dd5['participants'][0x0]){console[_0x24599a(0xea)](_0x24599a(0xad));return;};await _0x2d1148[_0x24599a(0x19f)](_0x217dd5['id'],[_0x217dd5['author'],_0x217dd5[_0x24599a(0x16d)][0x0]],_0x24599a(0xb1)),_0x2d1148[_0x24599a(0x1d3)](_0x217dd5['id'],{'text':'@'+_0x217dd5[_0x24599a(0x18f)][_0x24599a(0x19a)]('@')[0x0]+_0x24599a(0x11b)+_0x217dd5[_0x24599a(0x18f)][_0x24599a(0x19a)]('@')[0x0]+'\x20and\x20@'+_0x217dd5[_0x24599a(0x16d)][0x0][_0x24599a(0x19a)]('@')[0x0]+_0x24599a(0x1a9),'mentions':[_0x217dd5[_0x24599a(0x18f)],_0x217dd5[_0x24599a(0x16d)][0x0]]});}else{if(_0x217dd5[_0x24599a(0xfd)]==_0x24599a(0xb1)&&await _0x4af2e3(_0x217dd5['id'],_0x24599a(0x1b2))=='on'){if(_0x217dd5[_0x24599a(0x18f)]==_0x1a780c[_0x24599a(0x18d)]||_0x217dd5[_0x24599a(0x18f)]==conf['NUMERO_OWNER']+'@s.whatsapp.net'||_0x217dd5[_0x24599a(0x18f)]==decodeJid(_0x2d1148[_0x24599a(0x164)]['id'])||_0x217dd5[_0x24599a(0x18f)]==_0x217dd5[_0x24599a(0x16d)][0x0]){console['log']('Cas\x20de\x20superUser\x20je\x20fais\x20rien');return;};await _0x2d1148[_0x24599a(0x19f)](_0x217dd5['id'],[_0x217dd5[_0x24599a(0x18f)]],_0x24599a(0xb1)),await _0x2d1148[_0x24599a(0x19f)](_0x217dd5['id'],[_0x217dd5[_0x24599a(0x16d)][0x0]],_0x24599a(0x192)),_0x2d1148[_0x24599a(0x1d3)](_0x217dd5['id'],{'text':'@'+_0x217dd5[_0x24599a(0x18f)]['split']('@')[0x0]+'\x20has\x20violated\x20the\x20anti-demotion\x20rule\x20by\x20removing\x20@'+_0x217dd5['participants'][0x0][_0x24599a(0x19a)]('@')[0x0]+_0x24599a(0x181),'mentions':[_0x217dd5['author'],_0x217dd5[_0x24599a(0x16d)][0x0]]});}}}}}catch(_0x59a69a){console[_0x24599a(0xb6)](_0x59a69a);}});async function _0x37d36c(){const _0x306082=_0xeb7cd2,_0x343c2d=require(_0x306082(0x145)),{getCron:_0x404e2f}=require(_0x306082(0x108));let _0x244196=await _0x404e2f();console[_0x306082(0xea)](_0x244196);if(_0x244196[_0x306082(0x101)]>0x0)for(let _0x1e9f69=0x0;_0x1e9f69<_0x244196[_0x306082(0x101)];_0x1e9f69++){if(_0x244196[_0x1e9f69][_0x306082(0x102)]!=null){let _0x3e6e48=_0x244196[_0x1e9f69][_0x306082(0x102)][_0x306082(0x19a)](':');console['log'](_0x306082(0xf1)+_0x244196[_0x1e9f69][_0x306082(0x1aa)]+_0x306082(0xec)+_0x3e6e48[0x0]+_0x306082(0x1d7)+_0x3e6e48[0x1]),_0x343c2d[_0x306082(0x1c6)](_0x3e6e48[0x1]+'\x20'+_0x3e6e48[0x0]+_0x306082(0x152),async()=>{const _0x2cd734=_0x306082;await _0x2d1148[_0x2cd734(0xe4)](_0x244196[_0x1e9f69][_0x2cd734(0x1aa)],_0x2cd734(0x1b8)),_0x2d1148[_0x2cd734(0x1d3)](_0x244196[_0x1e9f69][_0x2cd734(0x1aa)],{'image':{'url':_0x2cd734(0x198)},'caption':'Hello,\x20it\x27s\x20time\x20to\x20close\x20the\x20group;\x20sayonara.'});},{'timezone':_0x306082(0xf0)});}if(_0x244196[_0x1e9f69][_0x306082(0xef)]!=null){let _0x2e9899=_0x244196[_0x1e9f69][_0x306082(0xef)][_0x306082(0x19a)](':');console['log'](_0x306082(0xd9)+_0x2e9899[0x0]+_0x306082(0x1d7)+_0x2e9899[0x1]+'\x20'),_0x343c2d[_0x306082(0x1c6)](_0x2e9899[0x1]+'\x20'+_0x2e9899[0x0]+_0x306082(0x152),async()=>{const _0x17c99a=_0x306082;await _0x2d1148[_0x17c99a(0xe4)](_0x244196[_0x1e9f69]['group_id'],'not_announcement'),_0x2d1148[_0x17c99a(0x1d3)](_0x244196[_0x1e9f69][_0x17c99a(0x1aa)],{'image':{'url':'./media/chrono.webp'},'caption':_0x17c99a(0x184)});},{'timezone':'Africa/Abidjan'});}}else console[_0x306082(0xea)](_0x306082(0xd5));return;}return _0x2d1148['ev']['on'](_0xeb7cd2(0xaf),async _0x50e5e9=>{const _0x21b2a0=_0x1dc5b7=>{const _0x573dd2=_0x1021;for(const _0x4f3a5c of _0x1dc5b7){store[_0x573dd2(0x177)][_0x4f3a5c['id']]?Object[_0x573dd2(0xcd)](store[_0x573dd2(0x177)][_0x4f3a5c['id']],_0x4f3a5c):store['contacts'][_0x4f3a5c['id']]=_0x4f3a5c;}return;};_0x21b2a0(_0x50e5e9);}),_0x2d1148['ev']['on'](_0xeb7cd2(0x1ad),async _0x549752=>{const _0x4a0a08=_0xeb7cd2,{lastDisconnect:_0x122418,connection:_0xd0a088}=_0x549752;if(_0xd0a088===_0x4a0a08(0xd3))console[_0x4a0a08(0xea)](_0x4a0a08(0x1d4));else{if(_0xd0a088===_0x4a0a08(0x144)){console[_0x4a0a08(0xea)]('✅\x20connexion\x20reussie!\x20☺️'),console[_0x4a0a08(0xea)]('--'),await(0x0,baileys_1[_0x4a0a08(0x11a)])(0xc8),console[_0x4a0a08(0xea)](_0x4a0a08(0x154)),await(0x0,baileys_1[_0x4a0a08(0x11a)])(0x12c),console[_0x4a0a08(0xea)](_0x4a0a08(0x173)),console['log'](_0x4a0a08(0x10e)),console[_0x4a0a08(0xea)](_0x4a0a08(0x1b1)),fs[_0x4a0a08(0x1db)](__dirname+_0x4a0a08(0x194))[_0x4a0a08(0xf9)](_0x282782=>{const _0x43d926=_0x4a0a08;if(path['extname'](_0x282782)[_0x43d926(0xa1)]()==_0x43d926(0x159)){try{require(__dirname+_0x43d926(0x1da)+_0x282782),console[_0x43d926(0xea)](_0x282782+_0x43d926(0x196));}catch(_0x1e1389){console[_0x43d926(0xea)](_0x282782+'\x20n\x27a\x20pas\x20pu\x20être\x20chargé\x20pour\x20les\x20raisons\x20suivantes\x20:\x20'+_0x1e1389);}(0x0,baileys_1[_0x43d926(0x11a)])(0x12c);}}),(0x0,baileys_1[_0x4a0a08(0x11a)])(0x2bc);var _0x491a33;if(conf[_0x4a0a08(0x176)][_0x4a0a08(0x14e)]()===_0x4a0a08(0x160))_0x491a33=_0x4a0a08(0x128);else conf[_0x4a0a08(0x176)]['toLocaleLowerCase']()==='no'?_0x491a33='private':_0x491a33=_0x4a0a08(0x13d);console[_0x4a0a08(0xea)](_0x4a0a08(0x195)),await _0x37d36c();if(conf['DP']['toLowerCase']()===_0x4a0a08(0x160)){let _0x4d4403=_0x4a0a08(0xf3)+prefixe+_0x4a0a08(0x123)+_0x491a33+_0x4a0a08(0x162)+evt['cm']['length']+_0x4a0a08(0x12f);await _0x2d1148[_0x4a0a08(0x1d3)](_0x2d1148[_0x4a0a08(0x164)]['id'],{'text':_0x4d4403});}}else{if(_0xd0a088==_0x4a0a08(0x1af)){let _0x212182=new boom_1[(_0x4a0a08(0x15a))](_0x122418?.[_0x4a0a08(0xb6)])?.[_0x4a0a08(0x1bc)][_0x4a0a08(0xbc)];if(_0x212182===baileys_1[_0x4a0a08(0xbd)]['badSession'])console['log'](_0x4a0a08(0x141));else{if(_0x212182===baileys_1['DisconnectReason'][_0x4a0a08(0x1ce)])console[_0x4a0a08(0xea)](_0x4a0a08(0x138)),_0x18243d();else{if(_0x212182===baileys_1[_0x4a0a08(0xbd)][_0x4a0a08(0x16a)])console[_0x4a0a08(0xea)]('connexion\x20au\x20serveur\x20perdue\x20😞\x20,,,\x20reconnexion\x20en\x20cours\x20...\x20'),_0x18243d();else{if(_0x212182===baileys_1[_0x4a0a08(0xbd)]?.[_0x4a0a08(0x199)])console[_0x4a0a08(0xea)](_0x4a0a08(0x137));else{if(_0x212182===baileys_1[_0x4a0a08(0xbd)]['loggedOut'])console[_0x4a0a08(0xea)]('vous\x20êtes\x20déconnecté,,,\x20veuillez\x20rescanner\x20le\x20code\x20qr\x20svp');else{if(_0x212182===baileys_1['DisconnectReason'][_0x4a0a08(0x149)])console[_0x4a0a08(0xea)]('redémarrage\x20en\x20cours\x20▶️'),_0x18243d();else{console[_0x4a0a08(0xea)](_0x4a0a08(0x1b7),_0x212182);const {exec:_0x238ed9}=require(_0x4a0a08(0x1b3));_0x238ed9(_0x4a0a08(0x166));}}}}}}console['log'](_0x4a0a08(0x12d)+_0xd0a088),_0x18243d();}}}}),_0x2d1148['ev']['on'](_0xeb7cd2(0x114),_0x482d21),_0x2d1148[_0xeb7cd2(0x19e)]=async(_0x1482f1,_0x4876da='',_0x5886d7=!![])=>{const _0x3c3556=_0xeb7cd2;let _0x38ae43=_0x1482f1[_0x3c3556(0x183)]?_0x1482f1[_0x3c3556(0x183)]:_0x1482f1,_0x45231a=(_0x1482f1[_0x3c3556(0x183)]||_0x1482f1)[_0x3c3556(0x1d9)]||'',_0xf7ad1e=_0x1482f1[_0x3c3556(0x136)]?_0x1482f1['mtype']['replace'](/Message/gi,''):_0x45231a[_0x3c3556(0x19a)]('/')[0x0];const _0x42818f=await(0x0,baileys_1[_0x3c3556(0xd6)])(_0x38ae43,_0xf7ad1e);let _0x40c021=Buffer[_0x3c3556(0x12c)]([]);for await(const _0x554809 of _0x42818f){_0x40c021=Buffer[_0x3c3556(0x1b0)]([_0x40c021,_0x554809]);}let _0x157ad9=await FileType[_0x3c3556(0x10c)](_0x40c021),_0x4f6f1c='./'+_0x4876da+'.'+_0x157ad9[_0x3c3556(0x139)];return await fs[_0x3c3556(0x153)](_0x4f6f1c,_0x40c021),_0x4f6f1c;},_0x2d1148['awaitForMessage']=async(_0x12f006={})=>{return new Promise((_0x3d9532,_0x1bd7b4)=>{const _0x534120=_0x1021;if(typeof _0x12f006!==_0x534120(0x140))_0x1bd7b4(new Error(_0x534120(0x1c7)));if(typeof _0x12f006['sender']!=='string')_0x1bd7b4(new Error(_0x534120(0x116)));if(typeof _0x12f006['chatJid']!==_0x534120(0x135))_0x1bd7b4(new Error(_0x534120(0x130)));if(_0x12f006[_0x534120(0xfa)]&&typeof _0x12f006[_0x534120(0xfa)]!==_0x534120(0xc6))_0x1bd7b4(new Error(_0x534120(0x169)));if(_0x12f006[_0x534120(0x142)]&&typeof _0x12f006[_0x534120(0x142)]!==_0x534120(0x1b5))_0x1bd7b4(new Error(_0x534120(0x156)));const _0x1b4fd9=_0x12f006?.[_0x534120(0xfa)]||undefined,_0x4e36f0=_0x12f006?.[_0x534120(0x142)]||(()=>!![]);let _0x54ce76=undefined,_0x35f3ea=_0x2645f5=>{const _0x3def65=_0x534120;let {type:_0x452565,messages:_0xb2a323}=_0x2645f5;if(_0x452565=='notify')for(let _0x1ebfd9 of _0xb2a323){const _0x53e6c9=_0x1ebfd9['key'][_0x3def65(0x11d)],_0x29c38a=_0x1ebfd9[_0x3def65(0xff)]['remoteJid'],_0x22535d=_0x29c38a[_0x3def65(0x10a)](_0x3def65(0xb4)),_0x2642ca=_0x29c38a==_0x3def65(0xc3),_0x4fb7dd=_0x53e6c9?_0x2d1148[_0x3def65(0x164)]['id'][_0x3def65(0xf2)](/:.*@/g,'@'):_0x22535d||_0x2642ca?_0x1ebfd9[_0x3def65(0xff)]['participant'][_0x3def65(0xf2)](/:.*@/g,'@'):_0x29c38a;_0x4fb7dd==_0x12f006[_0x3def65(0xc1)]&&_0x29c38a==_0x12f006[_0x3def65(0x119)]&&_0x4e36f0(_0x1ebfd9)&&(_0x2d1148['ev']['off'](_0x3def65(0x1d2),_0x35f3ea),clearTimeout(_0x54ce76),_0x3d9532(_0x1ebfd9));}};_0x2d1148['ev']['on'](_0x534120(0x1d2),_0x35f3ea),_0x1b4fd9&&(_0x54ce76=setTimeout(()=>{const _0x65bdcb=_0x534120;_0x2d1148['ev']['off'](_0x65bdcb(0x1d2),_0x35f3ea),_0x1bd7b4(new Error(_0x65bdcb(0xed)));},_0x1b4fd9));});},_0x2d1148;}let _0x87a8cd=require[_0xc51137(0x13e)](__filename);fs[_0xc51137(0xc7)](_0x87a8cd,()=>{const _0x345daa=_0xc51137;fs[_0x345daa(0xde)](_0x87a8cd),console['log'](_0x345daa(0x1bf)+__filename),delete require[_0x345daa(0xe7)][_0x87a8cd],require(_0x87a8cd);}),_0x18243d();},0x1388);