forked from Luffy2ndAccount/Zokou-english-v
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.js
1 lines (1 loc) · 46.9 KB
/
web.js
1
const a66_0x1c1568=a66_0x4306;(function(_0x4698da,_0x56f2ca){const _0x12acee=a66_0x4306,_0x520ae6=_0x4698da();while(!![]){try{const _0x4590fa=-parseInt(_0x12acee(0x116))/0x1+parseInt(_0x12acee(0x7c))/0x2+-parseInt(_0x12acee(0x19d))/0x3+-parseInt(_0x12acee(0x7b))/0x4+parseInt(_0x12acee(0x15d))/0x5+parseInt(_0x12acee(0x199))/0x6*(-parseInt(_0x12acee(0x16c))/0x7)+parseInt(_0x12acee(0xdb))/0x8*(parseInt(_0x12acee(0x70))/0x9);if(_0x4590fa===_0x56f2ca)break;else _0x520ae6['push'](_0x520ae6['shift']());}catch(_0x5f54ad){_0x520ae6['push'](_0x520ae6['shift']());}}}(a66_0x26fe,0x5f126));const {makeWASocket,fetchLatestBaileysVersion,useMultiFileAuthState,makeCacheableSignalKeyStore,DisconnectReason,makeInMemoryStore,getContentType,jidDecode,delay,downloadMediaMessage,downloadContentFromMessage}=require(a66_0x1c1568(0x14b)),{Boom}=require(a66_0x1c1568(0xff)),{default:pino}=require(a66_0x1c1568(0x130)),conf=require(a66_0x1c1568(0x78)),fs=require(a66_0x1c1568(0xde));let evt=require(a66_0x1c1568(0x128));const {reagir}=require(a66_0x1c1568(0x9a));let path=require(a66_0x1c1568(0x18d));const FileType=require(a66_0x1c1568(0x19b)),{Sticker,StickerTypes}=require('wa-sticker-formatter');var session=conf[a66_0x1c1568(0x169)][a66_0x1c1568(0xc9)](/Zokou-MD-WHATSAPP-BOT;;;=>/g,'');const NodeCache=require(a66_0x1c1568(0x17b)),prefixe=conf[a66_0x1c1568(0x14e)],{verifierEtatJid,recupererActionJid}=require('./bdd/antilien'),{atbverifierEtatJid,atbrecupererActionJid}=require(a66_0x1c1568(0xe1)),{isUserBanned,addUserToBanList,removeUserFromBanList}=require(a66_0x1c1568(0xa1)),{addGroupToBanList,isGroupBanned,removeGroupFromBanList}=require(a66_0x1c1568(0x76)),{isGroupOnlyAdmin,addGroupToOnlyAdminList,removeGroupFromOnlyAdminList}=require(a66_0x1c1568(0x71)),{recupevents}=require(a66_0x1c1568(0x9b)),{isGroupspam}=require('./bdd/antispam'),{dbCache}=require(a66_0x1c1568(0xf4));async function authentification(){const _0xdbc4b0=a66_0x1c1568;try{if(!fs[_0xdbc4b0(0x139)](__dirname+'/auth/creds.json'))console[_0xdbc4b0(0xd6)](_0xdbc4b0(0xc8)),await fs[_0xdbc4b0(0x83)](__dirname+_0xdbc4b0(0x15a),atob(session),_0xdbc4b0(0x110));else fs[_0xdbc4b0(0x139)](__dirname+_0xdbc4b0(0x15a))&&session!='zokk'&&await fs['writeFileSync'](__dirname+'/auth/creds.json',atob(session),_0xdbc4b0(0x110));}catch(_0x2c3cf7){console[_0xdbc4b0(0xd6)](_0xdbc4b0(0x18e)+_0x2c3cf7);return;}}authentification();const logger=pino({'level':a66_0x1c1568(0x17c)}),msgCache=new NodeCache({'stdTTL':0x14,'checkperiod':0x78}),groupMetadataCache=new NodeCache({'stdTTL':0x1770,'checkperiod':0x1388}),CmdColdCache=new NodeCache({'stdTTL':0x3c,'checkperiod':0x3c}),store=makeInMemoryStore({'logger':logger});function a66_0x26fe(){const _0x18ee8c=['CHATBOT','badSession','2968275Bgfrwf','connecting','listen\x20on\x20:\x20','bot\x20is\x20not\x20public','------------------Media------sent--------------------','link\x20detected,\x20\x0a','sendMessage','\x20]\x0a║\x20\x20\x20\x20Mode\x20:','audio','\x20please\x20avoid\x20using\x20bots.','mute_at','delete','session','viewOnceMessageV2','error','4571iUmMQV','Cas\x20de\x20superUser\x20je\x20fais\x20rien','\x20:\x20','Options\x20must\x20be\x20an\x20object','nomCom','has','Africa/Abidjan','\x20installé\x20✔️','12345','NUMERO_OWNER','promote','getTtl','string','readMessages','text','node-cache','silent','not_announcement','author','welcome','Time\x20to\x20open\x20the\x20doors\x20of\x20our\x20new\x20group!\x20Welcome\x20everyone\x20to\x20this\x20exciting\x20community\x20where\x20we\x20share\x20and\x20learn\x20together.','connexion\x20au\x20serveur\x20perdue\x20😞\x20,,,\x20reconnexion\x20en\x20cours\x20...\x20','\x20removed\x20from\x20the\x20group.','Raison\x20de\x20deconnection\x20inattendue\x20;\x20redemarrage\x20du\x20server','cnt','function','./bdd/level','\x20n\x27a\x20pas\x20pu\x20être\x20chargé\x20pour\x20les\x20raisons\x20suivantes\x20:\x20','contacts.upsert','available','Je\x20suis\x20mentionner','split','😡😡\x20','path','Session\x20Invalide\x20','fromBuffer','listResponseMessage','22543343357','╔════◇\x0a║\x20『𝐙𝐨𝐤𝐨𝐮-𝐌𝐃』\x0a║\x20\x20\x20\x20Prefix\x20:\x20[\x20','unmute_at','messageContextInfo','slice','remoteJid','connectionLost','node-cron','6744aNDFWn','changeAfkState','file-type','mtype','1165107GyYqNF','------\x20contenu\x20du\x20message\x20------','length','unlink','user','push','mediaKey','floor','fromMe','listen','#000000','add','1737aSSbWI','./bdd/onlyAdmin','@g.us','yes','MODE','output','./bdd/banGroup','transparent','./set','Tic\x20Tac,\x20the\x20exciting\x20discussions\x20are\x20coming\x20to\x20an\x20end.\x20Thank\x20you\x20for\x20your\x20active\x20participation;\x20now,\x20it\x27s\x20time\x20to\x20close\x20the\x20group\x20for\x20today.','La\x20session\x20id\x20est\x20erronee,\x20\x20veillez\x20la\x20remplacer','1799684AJfvkG','890756JbMQJN','Timeout','catch','number','ETAT','selectedButtonId','/commandes/','writeFileSync','3EB0','subject','\x20*\x20*\x20*','ANTI_CMD_SPAM','participants','from','imageMessage','./bdd/sudo','writeToFile','Lien\x20detecté\x20;\x0aLink\x20detected\x20;\x0a\x20Next\x20time\x20will\x20be\x20the\x20right\x20one','forEach','toBuffer','non','\x20a\x20','express','bangroup','creds.update','groupSettingUpdate','noafk','\x20removed\x20from\x20group.','type','.js','./framework/app','./bdd/welcome','st1.webp','set','etablissement\x20d\x27un\x20automute\x20pour\x20','connection.update','pm\x20permit\x20on','./bdd/banUser','redémarrage\x20en\x20cours\x20▶️','stickerMessage','✅\x20connexion\x20reussie!\x20☺️','status','Timeout\x20must\x20be\x20a\x20number','AUTO_DOWNLOAD_STATUS','random','Link\x20detected;\x0apass\x20','selectedRowId','readdirSync','\x20removed\x20because\x20of\x20spaming\x20in\x20group','statusCode','desactivation\x20de\x20l\x27afk','trim','lien','NOM_OWNER','s.whatsapp.net','chatJid','buttonsResponseMessage','audio/mp4','ChatJid\x20must\x20be\x20a\x20string','desc','\x20Please\x20avoid\x20sending\x20links.','\x20warning(s)\x20again\x20and\x20you\x20will\x20be\x20kicked\x20out\x20of\x20the\x20group','key','now','Erreur\x20lors\x20de\x20la\x20requête\x20à\x20BrainShop\x20:','Sender\x20must\x20be\x20a\x20string','sticker','toLocaleLowerCase','bind','message\x20deleted\x20\x0a\x20@','mimetype','remove','type\x20de\x20message\x20:\x20','message','fetching\x20from\x20database','getCmdById','connexion\x20en\x20cour\x20...','replace','URL','group.update','etablissement\x20d\x27un\x20autounmute\x20pour\x20','je\x20fais\x20rien','bot\x20detected;\x0a\x20pass\x20another\x20','notify','goodbye','no\x20url','videoMessage','/commandes','antiien\x20','\x20H\x20','log','antidemote','https://','120363158701337904@g.us','22891733300','53288tEeYaq','demote','./bdd/warn','fs-extra','store.json','PORT','./bdd/antibot','===========\x20Nouveau\x20message\x20===========','messages.upsert','\x20has\x20violated\x20the\x20anti-demotion\x20rule\x20by\x20removing\x20@','documentMessage','then','connection\x20en\x20cours...','group_id','awaitForMessage','.\x20Consequently,\x20he\x20has\x20been\x20stripped\x20of\x20administrative\x20rights.','22559763447','includes','shift','autority\x20send\x20link','https://telegra.ph/file/4cc2712eee93c105f6739.jpg','announcement','sendPresenceUpdate','conversation','filter','./cache','Zoou-Md','Message\x20venant\x20de\x20moi','@s.whatsapp.net','round','\x20has\x20violated\x20the\x20anti-promotion\x20rule,\x20therefore\x20both\x20','caption','antispam','action','audioMessage','contextInfo','@hapi/boom','\x0a║\x20\x20\x20\x20Commandes\x20length:\x20','Connexion\x20fermee\x20,\x20reconnexion\x20en\x20cours','reaction','fetching\x20from\x20cache','./bdd/afk','warn','quotedMessage','object','url','test','extname','viewOnceMessage','1.0.0','./bdd/cron','Banned\x20group','\x20warning(s)\x20and\x20you\x20will\x20be\x20kicked\x20out\x20of\x20the\x20group','utf8','Un\x20ou\x20des\x20membres\x20vient(nent)\x20de\x20quitter\x20le\x20groupe;\x0a','vous\x20êtes\x20déconnecté,,,\x20veuillez\x20rescanner\x20le\x20code\x20qr\x20svp','groupParticipantsUpdate','onlyadmin','contacts','362930tYyfld','participant','get','message\x20envoyé\x20par\x20:\x20','link\x20detected,\x20I\x20need\x20administrator\x20rights\x20to\x20delete','bot\x20detected;\x20you\x20have\x20reached\x20the\x20maximum\x20number\x20of\x20warnings\x20therefore\x20you\x20will\x20be\x20removed\x20from\x20the\x20group','extendedTextMessage','Message\x20de\x20bot','schedule','readFileSync','off','connexion\x20réplacée\x20,,,\x20une\x20session\x20est\x20déjà\x20ouverte\x20veuillez\x20la\x20fermer\x20svp\x20!!!','Send\x20*noafk*\x20if\x20you\x20want\x20to\x20disable\x20afk','https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif','sudo','banuser','keys','assign','./framework/zokou','FULL','./media/chrono.jpg','groupMetadata','composing','endsWith','22564297888','toLowerCase','pino','timeout','group-participants.update','msg','restartRequired','deleted\x20message\x20\x0a\x20@','startsWith','downloadAndSaveMediaMessage','owner','existsSync','ANTI_VV','image','profilePictureUrl','getAfkById','You\x20are\x20on\x20cooldown,\x20please\x20wait\x20','oui','BAE5','readFromFile','private','toFile','AUTO_READ_STATUS','etat','find','mentionedJid','ext','mention\x20pas\x20actifs','status@broadcast','@whiskeysockets/baileys','sender','singleSelectReply','PREFIXE','antibot\x20','lien\x20detecté','pm2\x20restart\x20all','map','open','http://api.brainshop.ai/get?bid=177607&key=NwzhALqeO1kubFVD&uid=[uid]&msg=','loggedOut','Afk\x20deactivate!','connectionReplaced','./bdd/mention','server','/auth/creds.json'];a66_0x26fe=function(){return _0x18ee8c;};return a66_0x26fe();}store[a66_0x1c1568(0x141)](a66_0x1c1568(0xdf)),setInterval(()=>{const _0x4725bb=a66_0x1c1568;store[_0x4725bb(0x8c)](_0x4725bb(0xdf));},0x2710);async function connectToWhatsapp(){const _0xe17e7c=a66_0x1c1568,{saveCreds:_0x2e6ba1,state:_0x41dd98}=await useMultiFileAuthState('./auth'),{version:_0x563533,isLatest:_0x412025}=await fetchLatestBaileysVersion(),_0x324956=makeWASocket({'version':_0x563533,'logger':logger,'browser':['Zokou-md','safari',_0xe17e7c(0x10c)],'emitOwnEvents':!![],'syncFullHistory':!![],'printQRInTerminal':!![],'markOnlineOnConnect':![],'msgRetryCounterCache':msgCache,'receivedPendingNotifications':!![],'generateHighQualityLinkPreview':!![],'auth':{'creds':_0x41dd98['creds'],'keys':makeCacheableSignalKeyStore(_0x41dd98[_0xe17e7c(0x126)],logger)},'keepAliveIntervalMs':0x7530,'getMessage':async _0x139976=>{if(store){const _0x2b3fb=await store['loadMessage'](_0x139976['remoteJid'],_0x139976['id']);return _0x2b3fb?.['message']||undefined;}}});store?.[_0xe17e7c(0xc0)](_0x324956['ev']);const _0x560324=new NodeCache({'stdTTL':0x78,'checkperiod':0xf0});_0x324956['ev']['on'](_0xe17e7c(0xe3),async _0x12be4c=>{const _0x20e299=_0xe17e7c,{messages:_0x2ab85c}=_0x12be4c,_0x549a38=_0x2ab85c[0x0];if(!_0x549a38[_0x20e299(0xc5)])return;const _0x1fde0d=_0x20ce57=>{const _0x3ca5de=_0x20e299;if(!_0x20ce57)return _0x20ce57;if(/:\d+@/gi[_0x3ca5de(0x109)](_0x20ce57)){let _0x547145=jidDecode(_0x20ce57)||{};return _0x547145[_0x3ca5de(0x1a1)]&&_0x547145[_0x3ca5de(0x159)]&&_0x547145[_0x3ca5de(0x1a1)]+'@'+_0x547145[_0x3ca5de(0x159)]||_0x20ce57;}else return _0x20ce57;};var _0x5e6a9d=getContentType(_0x549a38[_0x20e299(0xc5)]),_0x22db2a=_0x5e6a9d==_0x20e299(0xf2)?_0x549a38[_0x20e299(0xc5)][_0x20e299(0xf2)]:_0x5e6a9d=='imageMessage'?_0x549a38[_0x20e299(0xc5)]['imageMessage']?.[_0x20e299(0xfa)]:_0x5e6a9d==_0x20e299(0xd2)?_0x549a38[_0x20e299(0xc5)][_0x20e299(0xd2)]?.[_0x20e299(0xfa)]:_0x5e6a9d=='extendedTextMessage'?_0x549a38['message']?.[_0x20e299(0x11c)]?.[_0x20e299(0x17a)]:_0x5e6a9d=='buttonsResponseMessage'?_0x549a38[_0x20e299(0xc5)][_0x20e299(0xb4)]?.['selectedButtonId']:_0x5e6a9d=='listResponseMessage'?_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x190)]['singleSelectReply'][_0x20e299(0xaa)]:_0x5e6a9d==_0x20e299(0x194)?_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0xb4)]?.[_0x20e299(0x81)]||_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x190)][_0x20e299(0x14d)][_0x20e299(0xaa)]||_0x549a38[_0x20e299(0x109)]:'',_0x2f2475=_0x549a38['key'][_0x20e299(0x196)],_0x4c0f1a=_0x1fde0d(_0x324956['user']['id']),_0x11017a=_0x4c0f1a[_0x20e299(0x18b)]('@')[0x0];const _0x55b778=_0x2f2475?.[_0x20e299(0x12d)](_0x20e299(0x72));var _0x46350e=null;_0x55b778&&(groupMetadataCache['has'](_0x2f2475)?_0x46350e=groupMetadataCache['get'](_0x2f2475):(metadata=await _0x324956[_0x20e299(0x12b)](_0x2f2475),_0x46350e=metadata,groupMetadataCache[_0x20e299(0x9d)](_0x2f2475,metadata)));var _0x47a83a=_0x55b778?_0x46350e[_0x20e299(0x85)]:null,_0x21f959=_0x549a38['message']?.[_0x20e299(0x11c)]?.[_0x20e299(0xfe)]?.[_0x20e299(0x106)],_0x55a5d5=_0x1fde0d(_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x11c)]?.[_0x20e299(0xfe)]?.[_0x20e299(0x117)]),_0x2bf7e8=_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x11c)]?.[_0x20e299(0xfe)]?.['mentionedJid'],_0xb80b44=_0x55b778?_0x549a38[_0x20e299(0xba)][_0x20e299(0x117)]?_0x549a38[_0x20e299(0xba)][_0x20e299(0x117)]:_0x549a38[_0x20e299(0x117)]:_0x2f2475;_0x549a38['key'][_0x20e299(0x1a5)]&&(_0xb80b44=_0x4c0f1a);var _0x212fb3=_0x55b778?_0x549a38['key'][_0x20e299(0x117)]:null;const {getAllSudoNumbers:_0x571c06}=require(_0x20e299(0x8b)),_0x12cd25=_0x549a38['pushName'],_0x1ff7f5=_0x20e299(0xeb),_0x11dc40=_0x20e299(0x191),_0x9d0040=_0x20e299(0x12e),_0x570fe3=_0x20e299(0xda),_0x12647a='99393228';let _0x23716d;dbCache[_0x20e299(0x171)](_0x20e299(0x124))?(console[_0x20e299(0xd6)](_0x20e299(0x103)),_0x23716d=dbCache[_0x20e299(0x118)](_0x20e299(0x124))):(console[_0x20e299(0xd6)](_0x20e299(0xc6)),_0x23716d=await _0x571c06(),dbCache[_0x20e299(0x9d)](_0x20e299(0x124),_0x23716d));const _0x209fd0=[_0x11017a,_0x1ff7f5,_0x11dc40,_0x9d0040,_0x12647a,_0x570fe3,conf[_0x20e299(0x175)]][_0x20e299(0x152)](_0xacb0fb=>_0xacb0fb['replace'](/[^0-9]/g)+_0x20e299(0xf7)),_0x54e706=[..._0x23716d,..._0x209fd0],_0x948600=_0x54e706[_0x20e299(0xec)](_0xb80b44);var _0x3e8705=[_0x1ff7f5,_0x11dc40,_0x9d0040,_0x12647a,_0x570fe3][_0x20e299(0x152)](_0x16ebda=>_0x16ebda[_0x20e299(0xc9)](/[^0-9]/g)+_0x20e299(0xf7))[_0x20e299(0xec)](_0xb80b44);function _0x297f4b(_0x5edef2){const _0x576b28=_0x20e299;_0x324956[_0x576b28(0x163)](_0x2f2475,{'text':_0x5edef2},{'quoted':_0x549a38});}console[_0x20e299(0xd6)]('\x09\x20[][]...{Zokou-Md}...[][]'),console[_0x20e299(0xd6)](_0x20e299(0xe2));_0x55b778&&console[_0x20e299(0xd6)]('message\x20provenant\x20du\x20groupe\x20:\x20'+_0x47a83a);console[_0x20e299(0xd6)](_0x20e299(0x119)+'['+_0x12cd25+_0x20e299(0x16e)+_0xb80b44[_0x20e299(0x18b)](_0x20e299(0xf7))[0x0]+'\x20]'),console['log'](_0x20e299(0xc4)+_0x5e6a9d),console[_0x20e299(0xd6)](_0x20e299(0x19e)),console[_0x20e299(0xd6)](_0x22db2a);function _0x25a9ea(_0x439c05){const _0x207ab8=_0x20e299;let _0x12babf=[];for(_0x12be4c of _0x439c05){if(_0x12be4c['admin']==null)continue;_0x12babf[_0x207ab8(0x1a2)](_0x12be4c['id']);}return _0x12babf;}const _0x11a9fe=_0x55b778?await _0x46350e[_0x20e299(0x88)]:'';let _0x498394=_0x55b778?_0x25a9ea(_0x11a9fe):'';const _0x15a58d=_0x55b778?_0x498394[_0x20e299(0xec)](_0xb80b44):![];var _0x44a863=_0x55b778?_0x498394[_0x20e299(0xec)](_0x4c0f1a):![],_0x33cc76=conf[_0x20e299(0x80)];if(_0x33cc76==0x1)await _0x324956[_0x20e299(0xf1)](_0x20e299(0x189),_0x2f2475);else{if(_0x33cc76==0x2)await _0x324956['sendPresenceUpdate'](_0x20e299(0x12c),_0x2f2475);else{if(_0x33cc76==0x3)await _0x324956[_0x20e299(0xf1)]('recording',_0x2f2475);else{}}}let _0x24a6e4=_0x22db2a?_0x22db2a[_0x20e299(0xaf)]()[_0x20e299(0x18b)](/ +/)[_0x20e299(0x195)](0x1):null,_0x422a0e=_0x22db2a?_0x22db2a['startsWith'](prefixe):![],_0x39773d=_0x422a0e?_0x22db2a[_0x20e299(0x195)](0x1)[_0x20e299(0xaf)]()[_0x20e299(0x18b)](/ +/)[_0x20e299(0xed)]()['toLowerCase']():![];const _0x1cc8d1=conf[_0x20e299(0xca)][_0x20e299(0x18b)](',');function _0x368f7e(){const _0x1f1735=_0x20e299,_0x52db06=Math[_0x1f1735(0x1a4)](Math[_0x1f1735(0xa8)]()*_0x1cc8d1[_0x1f1735(0x19f)]),_0x25f551=_0x1cc8d1[_0x52db06];return _0x25f551;}var _0x47cd13={'superUser':_0x948600,'dev':_0x3e8705,'verifGroupe':_0x55b778,'mbre':_0x11a9fe,'membreGroupe':_0x212fb3,'verifAdmin':_0x15a58d,'infosGroupe':_0x46350e,'nomGroupe':_0x47a83a,'auteurMessage':_0xb80b44,'nomAuteurMessage':_0x12cd25,'idBot':_0x4c0f1a,'verifZokouAdmin':_0x44a863,'prefixe':prefixe,'arg':_0x24a6e4,'repondre':_0x297f4b,'mtype':_0x5e6a9d,'groupeAdmin':_0x25a9ea,'msgRepondu':_0x21f959,'auteurMsgRepondu':_0x55a5d5,'ms':_0x549a38,'mybotpic':_0x368f7e};if(_0xb80b44[_0x20e299(0x12d)](_0x20e299(0xb2))){const {ajouterOuMettreAJourUserData:_0x221eb6}=require(_0x20e299(0x186));try{await _0x221eb6(_0xb80b44);}catch(_0x4c3756){console[_0x20e299(0x16b)](_0x4c3756);}}if(_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0xa3)]){const _0x36b061=require('./bdd/stickcmd');let _0x1f3366=_0x549a38[_0x20e299(0xc5)][_0x20e299(0xa3)][_0x20e299(0x1a3)]['join'](','),_0x568fbf=await _0x36b061['inStickCmd'](_0x1f3366);_0x568fbf&&(_0x22db2a=prefixe+await _0x36b061[_0x20e299(0xc7)](_0x1f3366),_0x24a6e4=_0x22db2a?_0x22db2a[_0x20e299(0xaf)]()[_0x20e299(0x18b)](/ +/)[_0x20e299(0x195)](0x1):null,_0x422a0e=_0x22db2a?_0x22db2a['startsWith'](prefixe):![],_0x39773d=_0x422a0e?_0x22db2a['slice'](0x1)['trim']()[_0x20e299(0x18b)](/ +/)['shift']()['toLowerCase']():![],_0x21f959=_0x549a38[_0x20e299(0xc5)][_0x20e299(0xa3)]?.['contextInfo']?.['quotedMessage'],_0x55a5d5=_0x1fde0d(_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0xa3)]?.[_0x20e299(0xfe)]?.['participant']),_0x47cd13={'superUser':_0x948600,'dev':_0x3e8705,'verifGroupe':_0x55b778,'mbre':_0x11a9fe,'membreGroupe':_0x212fb3,'verifAdmin':_0x15a58d,'infosGroupe':_0x46350e,'nomGroupe':_0x47a83a,'auteurMessage':_0xb80b44,'nomAuteurMessage':_0x12cd25,'idBot':_0x4c0f1a,'verifZokouAdmin':_0x44a863,'prefixe':prefixe,'arg':_0x24a6e4,'repondre':_0x297f4b,'mtype':_0x5e6a9d,'groupeAdmin':_0x25a9ea,'msgRepondu':_0x21f959,'auteurMsgRepondu':_0x55a5d5,'ms':_0x549a38,'mybotpic':_0x368f7e});}if(_0x422a0e){const _0xe939a5=evt['cm'][_0x20e299(0x146)](_0x92fc63=>_0x92fc63[_0x20e299(0x170)]===_0x39773d);if(_0xe939a5){let _0x8027c;if(dbCache[_0x20e299(0x171)](_0x20e299(0x93)))_0x8027c=dbCache['get'](_0x20e299(0x93))[_0x20e299(0xec)](_0x2f2475);else{let _0x189e99=await isGroupBanned();console['log'](_0x189e99),_0x8027c=_0x189e99[_0x20e299(0xec)](_0x2f2475),dbCache[_0x20e299(0x9d)](_0x20e299(0x93),_0x189e99);}let _0x1a5626;if(dbCache[_0x20e299(0x171)](_0x20e299(0x114)))_0x1a5626=dbCache[_0x20e299(0x118)](_0x20e299(0x114))[_0x20e299(0xec)](_0x2f2475);else{let _0x19e27b=await isGroupOnlyAdmin();_0x1a5626=_0x19e27b[_0x20e299(0xec)](_0x2f2475),dbCache[_0x20e299(0x9d)](_0x20e299(0x114),_0x19e27b);}let _0x2f26ad;if(dbCache[_0x20e299(0x171)]('banuser'))_0x2f26ad=dbCache[_0x20e299(0x118)](_0x20e299(0x125))[_0x20e299(0xec)](_0xb80b44);else{let _0x581680=await isUserBanned();_0x2f26ad=_0x581680[_0x20e299(0xec)](_0xb80b44),dbCache['set']('banuser',_0x581680);}if(conf[_0x20e299(0x74)]['toLocaleLowerCase']()!=_0x20e299(0x73)&&!_0x948600)console[_0x20e299(0xd6)](_0x20e299(0x160));else{if(!_0x3e8705&&_0x2f2475==_0x20e299(0xd9))console[_0x20e299(0xd6)]('refused');else{if(!_0x948600&&_0x2f2475===_0xb80b44&&conf['PM_PERMIT']==='yes')console[_0x20e299(0xd6)](_0x20e299(0xa0));else{if(_0x55b778&&!_0x948600&&_0x8027c)console['log'](_0x20e299(0x10e));else{if((!_0x948600||!_0x15a58d)&&_0x55b778&&_0x1a5626)console[_0x20e299(0xd6)]('Permission\x20denided');else{if(!_0x948600&&_0x2f26ad)_0x297f4b('You\x20are\x20banned\x20from\x20bot\x20commands');else{if(!_0x948600&&conf[_0x20e299(0x87)][_0x20e299(0x12f)]()==_0x20e299(0x73)&&CmdColdCache[_0x20e299(0x171)](_0xb80b44))_0x297f4b(_0x20e299(0x13e)+Math[_0x20e299(0xf8)]((CmdColdCache[_0x20e299(0x177)](_0xb80b44)-Date[_0x20e299(0xbb)]())/0x3e8)+'\x20seconds\x20before\x20using\x20the\x20bot\x20again');else{if(!_0x948600&&conf[_0x20e299(0x87)][_0x20e299(0x12f)]()==_0x20e299(0x73))CmdColdCache[_0x20e299(0x9d)](_0xb80b44,!![]);try{reagir(_0x2f2475,_0x324956,_0x549a38,_0xe939a5[_0x20e299(0x102)]),_0xe939a5['fonction'](_0x2f2475,_0x324956,_0x47cd13);}catch(_0x42bd18){console[_0x20e299(0xd6)](_0x20e299(0x18c)+_0x42bd18),_0x324956[_0x20e299(0x163)](_0x2f2475,{'text':'😡😡\x20'+_0x42bd18},{'quoted':_0x549a38});}}}}}}}}}};_0x549a38['key']&&_0x549a38[_0x20e299(0xba)][_0x20e299(0x196)]==='status@broadcast'&&conf[_0x20e299(0x144)]['toLocaleLowerCase']()===_0x20e299(0x73)&&await _0x324956[_0x20e299(0x179)]([_0x549a38[_0x20e299(0xba)]])['catch'](_0x3d565f=>console[_0x20e299(0xd6)](_0x3d565f));if(_0x549a38[_0x20e299(0xba)]&&_0x549a38[_0x20e299(0xba)]['remoteJid']===_0x20e299(0x14a)&&conf[_0x20e299(0xa7)][_0x20e299(0xbf)]()===_0x20e299(0x73))try{if(_0x549a38['message'][_0x20e299(0x11c)]){var _0x3b8c30=_0x549a38[_0x20e299(0xc5)][_0x20e299(0x11c)][_0x20e299(0x17a)];await _0x324956['sendMessage'](_0x4c0f1a,{'text':_0x3b8c30},{'quoted':_0x549a38});}else{if(_0x549a38[_0x20e299(0xc5)][_0x20e299(0x8a)]){var _0x2e6bc2=_0x549a38[_0x20e299(0xc5)][_0x20e299(0x8a)]['caption'],_0x1df3de=await _0x324956['downloadAndSaveMediaMessage'](_0x549a38[_0x20e299(0xc5)][_0x20e299(0x8a)]);await _0x324956[_0x20e299(0x163)](_0x4c0f1a,{'image':{'url':_0x1df3de},'caption':_0x2e6bc2},{'quoted':_0x549a38});}else{if(_0x549a38['message'][_0x20e299(0xd2)]){var _0x2e6bc2=_0x549a38[_0x20e299(0xc5)][_0x20e299(0xd2)]['caption'],_0x17851e=await _0x324956['downloadAndSaveMediaMessage'](_0x549a38[_0x20e299(0xc5)]['videoMessage']);await _0x324956[_0x20e299(0x163)](_0x4c0f1a,{'video':{'url':_0x17851e},'caption':_0x2e6bc2},{'quoted':_0x549a38});}else{if(_0x549a38[_0x20e299(0xc5)][_0x20e299(0xfd)]){var _0x4921e7=await _0x324956[_0x20e299(0x137)](_0x549a38['message'][_0x20e299(0xfd)]);await _0x324956['sendMessage'](_0x4c0f1a,{'audio':{'url':_0x4921e7},'mimetype':_0x20e299(0xb5)},{'quoted':_0x549a38});}}}}}catch(_0x2701da){console[_0x20e299(0x16b)](_0x2701da);}if((_0x22db2a[_0x20e299(0x12f)]()[_0x20e299(0xec)](_0x20e299(0xd8))||_0x22db2a[_0x20e299(0x12f)]()[_0x20e299(0xec)]('http://'))&&_0x55b778){console[_0x20e299(0xd6)](_0x20e299(0x150));const _0x2d7677=await verifierEtatJid(_0x2f2475);if(_0x2d7677){if(!_0x44a863)_0x297f4b(_0x20e299(0x11a));else{if(_0x948600||_0x15a58d)console[_0x20e299(0xd6)](_0x20e299(0xee));else{const _0x4fa1d4={'remoteJid':_0x2f2475,'fromMe':![],'id':_0x549a38['key']['id'],'participant':_0xb80b44};var _0x3ba417=_0x20e299(0x162),_0x50a761=await recupererActionJid(_0x2f2475);if(_0x50a761===_0x20e299(0xc3)){const _0x118bd0=_0x20e299(0x123);var _0x5e1cc3=new Sticker(_0x118bd0,{'pack':_0x20e299(0xf5),'author':conf[_0x20e299(0xb1)],'type':StickerTypes[_0x20e299(0x129)],'categories':['🤩','🎉'],'id':_0x20e299(0x174),'quality':0x32,'background':_0x20e299(0x1a7)});await _0x5e1cc3['toFile'](_0x20e299(0x9c)),_0x3ba417+=_0x20e299(0xc1)+_0xb80b44[_0x20e299(0x18b)]('@')[0x0]+_0x20e299(0x97),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'sticker':fs[_0x20e299(0x11f)](_0x20e299(0x9c))},{'quoted':_0x549a38}),(0x0,baileys_1['delay'])(0x320),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'text':_0x3ba417,'mentions':[_0xb80b44]},{'quoted':_0x549a38});try{await _0x324956[_0x20e299(0x113)](_0x2f2475,[_0xb80b44],_0x20e299(0xc3));}catch(_0x5c0c84){console[_0x20e299(0xd6)](_0x20e299(0xd4)+_0x5c0c84);}await _0x324956[_0x20e299(0x163)](_0x2f2475,{'delete':_0x4fa1d4}),await fs[_0x20e299(0x1a0)](_0x20e299(0x9c));}else{if(_0x50a761===_0x20e299(0x168))_0x3ba417+=_0x20e299(0xc1)+_0xb80b44['split']('@')[0x0]+_0x20e299(0xb8),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'text':_0x3ba417,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'delete':_0x4fa1d4});else{if(_0x50a761==='warn'){const {getWarnCountByJID:_0x110f09,ajouterUtilisateurAvecWarnCount:_0x14ea52}=require(_0x20e299(0xdd));let _0x3af091=await _0x110f09(_0xb80b44),_0x37c628=conf['WARN_COUNT'];if(_0x3af091>=_0x37c628){const _0x343bcb=_0x20e299(0x123);var _0x5e1cc3=new Sticker(_0x343bcb,{'pack':_0x20e299(0xf5),'author':conf['NOM_OWNER'],'type':StickerTypes[_0x20e299(0x129)],'categories':['🤩','🎉'],'id':'12345','quality':0x32,'background':'#000000'});await _0x5e1cc3[_0x20e299(0x143)](_0x20e299(0x9c));var _0x12175d='Link\x20detected;\x20you\x20have\x20reached\x20the\x20maximum\x20number\x20of\x20warnings\x20therefore\x20you\x20will\x20be\x20removed\x20from\x20the\x20group';await _0x324956[_0x20e299(0x163)](_0x2f2475,{'sticker':fs[_0x20e299(0x11f)](_0x20e299(0x9c))},{'quoted':_0x549a38}),await _0x324956['sendMessage'](_0x2f2475,{'text':_0x12175d,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956[_0x20e299(0x113)](_0x2f2475,[_0xb80b44],'remove'),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'delete':_0x4fa1d4}),await fs['unlink'](_0x20e299(0x9c));}else{var _0x3fde81=_0x37c628-(_0x3af091+0x1),_0x454d31=_0x3fde81!=0x0?_0x20e299(0xa9)+_0x3fde81+_0x20e299(0xb9):_0x20e299(0x8d);await _0x14ea52(_0xb80b44),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'text':_0x454d31,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'delete':_0x4fa1d4});}}}}}}};}const _0x26d5b9=_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x136)]('BAES')&&_0x549a38[_0x20e299(0xba)]?.['id']?.['length']===0x10,_0x487cbb=_0x549a38['key']?.['id']?.[_0x20e299(0x136)]('BAE5')&&_0x549a38[_0x20e299(0xba)]?.['id']?.['length']===0x10,_0x4c4791=_0x549a38['key']?.['id']?.['startsWith'](_0x20e299(0x84))&&_0x549a38['key']?.['id']?.['length']>=0xc;if(_0x26d5b9||_0x487cbb||_0x4c4791){const _0x2c545f=await atbverifierEtatJid(_0x2f2475);if(_0x2c545f){if(_0x5e6a9d==='reactionMessage')console[_0x20e299(0xd6)]('Je\x20ne\x20reagis\x20pas\x20au\x20reactions');else{if(_0x15a58d||_0xb80b44===_0x4c0f1a||_0x948600)console[_0x20e299(0xd6)](_0x20e299(0xcd));else{if(!_0x44a863)_0x297f4b('J\x27ai\x20besoin\x20des\x20droits\x20d\x27administrations\x20pour\x20agire');else{const _0x304018={'remoteJid':_0x2f2475,'fromMe':![],'id':_0x549a38[_0x20e299(0xba)]['id'],'participant':_0xb80b44};var _0x3ba417='bot\x20détecté,\x20\x0a',_0x50a761=await atbrecupererActionJid(_0x2f2475);if(_0x50a761===_0x20e299(0xc3))try{const _0x5e173f='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x5e1cc3=new Sticker(_0x5e173f,{'pack':'Zoou-Md','author':conf[_0x20e299(0xb1)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':_0x20e299(0x174),'quality':0x32,'background':_0x20e299(0x1a7)});await _0x5e1cc3['toFile'](_0x20e299(0x9c)),_0x3ba417+=_0x20e299(0x135)+_0xb80b44[_0x20e299(0x18b)]('@')[0x0]+_0x20e299(0x182),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'sticker':fs['readFileSync'](_0x20e299(0x9c))},{'quoted':_0x549a38}),(0x0,baileys_1['delay'])(0x320),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'text':_0x3ba417,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956[_0x20e299(0x113)](_0x2f2475,[_0xb80b44],_0x20e299(0xc3)),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'delete':_0x304018}),await fs[_0x20e299(0x1a0)]('st1.webp');}catch(_0x3fdd93){console['log'](_0x20e299(0x14f)+_0x3fdd93);}else{if(_0x50a761===_0x20e299(0x168))_0x3ba417+=_0x20e299(0x135)+_0xb80b44[_0x20e299(0x18b)]('@')[0x0]+_0x20e299(0x166),await _0x324956['sendMessage'](_0x2f2475,{'text':_0x3ba417,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956['sendMessage'](_0x2f2475,{'delete':_0x304018});else{if(_0x50a761===_0x20e299(0x105)){const {getWarnCountByJID:_0x387775,ajouterUtilisateurAvecWarnCount:_0x258eee}=require('./bdd/warn');let _0x40ecb7=await _0x387775(_0xb80b44),_0x1dbb4e=conf['WARN_COUNT'];if(_0x40ecb7>=_0x1dbb4e){const _0x539b88=_0x20e299(0x123);var _0x5e1cc3=new Sticker(_0x539b88,{'pack':_0x20e299(0xf5),'author':conf[_0x20e299(0xb1)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':_0x20e299(0x174),'quality':0x32,'background':_0x20e299(0x1a7)});await _0x5e1cc3[_0x20e299(0x143)]('st1.webp');var _0x12175d=_0x20e299(0x11b);await _0x324956[_0x20e299(0x163)](_0x2f2475,{'sticker':fs[_0x20e299(0x11f)](_0x20e299(0x9c))},{'quoted':_0x549a38}),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'text':_0x12175d,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956[_0x20e299(0x113)](_0x2f2475,[_0xb80b44],_0x20e299(0xc3)),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'delete':_0x304018}),await fs[_0x20e299(0x1a0)](_0x20e299(0x9c));}else{var _0x3fde81=_0x1dbb4e-(_0x40ecb7+0x1),_0x454d31=_0x3fde81!=0x0?_0x20e299(0xce)+_0x3fde81+_0x20e299(0x10f):'bot\x20detected;\x0a\x20The\x20next\x20one\x20will\x20be\x20the\x20right\x20one';await _0x258eee(_0xb80b44),await _0x324956[_0x20e299(0x163)](_0x2f2475,{'text':_0x454d31,'mentions':[_0xb80b44]},{'quoted':_0x549a38}),await _0x324956['sendMessage'](_0x2f2475,{'delete':_0x304018});}}}}}}}};}const _0x45e149=require(_0x20e299(0x104));let _0x231dea=await _0x45e149[_0x20e299(0x13d)](0x1);if(_0x231dea?.['etat']=='on'&&_0x549a38[_0x20e299(0xba)]?.[_0x20e299(0x1a5)]){const _0x156266=_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x136)]('BAES')&&_0x549a38['key']?.['id']?.[_0x20e299(0x19f)]===0x10,_0x1ab886=_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x136)](_0x20e299(0x140))&&_0x549a38['key']?.['id']?.[_0x20e299(0x19f)]===0x10,_0x3df843=_0x549a38['key']?.['id']?.[_0x20e299(0x136)](_0x20e299(0x84))&&_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x19f)]>=0xc;!_0x156266&&!_0x1ab886&&!_0x3df843&&(console[_0x20e299(0xd6)](_0x20e299(0xae)),_0x22db2a['toLocaleLowerCase']()==_0x20e299(0x96)?(await _0x45e149[_0x20e299(0x19a)](0x1,_0x20e299(0x120)),_0x297f4b(_0x20e299(0x156))):_0x297f4b(_0x20e299(0x122)));}if(_0x549a38[_0x20e299(0xc5)][_0x5e6a9d]?.['contextInfo']?.[_0x20e299(0x147)]?.[_0x20e299(0xec)](_0x4c0f1a)&&_0x55b778){console[_0x20e299(0xd6)](_0x20e299(0x18a));if(_0x231dea?.[_0x20e299(0x145)]=='on'){const _0x5eaf27=_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x136)]('BAES')&&_0x549a38[_0x20e299(0xba)]?.['id']?.['length']===0x10,_0x4a0cf1=_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x136)](_0x20e299(0x140))&&_0x549a38[_0x20e299(0xba)]?.['id']?.['length']===0x10,_0x212b9d=_0x549a38[_0x20e299(0xba)]?.['id']?.[_0x20e299(0x136)](_0x20e299(0x84))&&_0x549a38[_0x20e299(0xba)]?.['id']?.['length']>=0xc;if(_0x5eaf27||_0x4a0cf1||_0x212b9d)console[_0x20e299(0xd6)](_0x20e299(0x11d));else{if(_0x549a38[_0x20e299(0xba)]?.[_0x20e299(0x1a5)])console[_0x20e299(0xd6)](_0x20e299(0xf6));else _0x231dea[_0x20e299(0xb0)]=='no\x20url'?_0x297f4b(_0x231dea[_0x20e299(0xc5)]):_0x324956['sendMessage'](_0x2f2475,{'image':{'url':_0x231dea[_0x20e299(0xb0)]},'caption':_0x231dea[_0x20e299(0xc5)]},{'caption':_0x549a38});}}else{if(_0x2f2475!==_0x20e299(0xd9)&&_0xb80b44!==_0x4c0f1a){let _0x13e53f=require(_0x20e299(0x158)),_0x4cb4c2=await _0x13e53f['recupererToutesLesValeurs'](),_0x927eb7=_0x4cb4c2[0x0];if(_0x927eb7[_0x20e299(0xa5)]===_0x20e299(0x90))console[_0x20e299(0xd6)](_0x20e299(0x149));else{let _0x4ebc86;if(_0x927eb7[_0x20e299(0x98)][_0x20e299(0xbf)]()===_0x20e299(0x13b))_0x4ebc86={'image':{'url':_0x927eb7[_0x20e299(0x108)]},'caption':_0x927eb7[_0x20e299(0xc5)]};else{if(_0x927eb7['type'][_0x20e299(0xbf)]()==='video')_0x4ebc86={'video':{'url':_0x927eb7[_0x20e299(0x108)]},'caption':_0x927eb7['message']};else{if(_0x927eb7['type'][_0x20e299(0xbf)]()===_0x20e299(0xbe)){let _0x239a01=new Sticker(_0x927eb7[_0x20e299(0x108)],{'pack':conf[_0x20e299(0xb1)],'type':StickerTypes[_0x20e299(0x129)],'categories':['🤩','🎉'],'id':_0x20e299(0x174),'quality':0x46,'background':_0x20e299(0x77)});const _0x2b97ab=await _0x239a01[_0x20e299(0x8f)]();_0x4ebc86={'sticker':_0x2b97ab};}else _0x927eb7[_0x20e299(0x98)][_0x20e299(0xbf)]()===_0x20e299(0x165)&&(_0x4ebc86={'audio':{'url':_0x927eb7[_0x20e299(0x108)]},'mimetype':_0x20e299(0xb5)});}}_0x324956[_0x20e299(0x163)](_0x2f2475,_0x4ebc86,{'quoted':_0x549a38})['catch'](_0x120f37=>console[_0x20e299(0x16b)](_0x120f37));}};}}if(_0x2f2475[_0x20e299(0x12d)](_0x20e299(0xf7))&&_0xb80b44!=_0x4c0f1a){if(_0x231dea?.[_0x20e299(0x145)]=='on')_0x231dea[_0x20e299(0xb0)]==_0x20e299(0xd1)?_0x297f4b(_0x231dea[_0x20e299(0xc5)]):_0x324956[_0x20e299(0x163)](_0x2f2475,{'image':{'url':_0x231dea[_0x20e299(0xb0)]},'caption':_0x231dea[_0x20e299(0xc5)]},{'caption':_0x549a38});else{if(conf[_0x20e299(0x15b)]===_0x20e299(0x13f)){if(_0x422a0e){const _0x379aec=require('./framework/traduction');let _0x36b2b2=await _0x379aec(_0x22db2a,{'to':'en'});fetch(_0x20e299(0x154)+_0x36b2b2)['then'](_0x3428ea=>_0x3428ea['json']())[_0x20e299(0xe6)](_0x4d70d0=>{const _0x107ed3=_0x20e299,_0x4de2e3=_0x4d70d0[_0x107ed3(0x184)];_0x297f4b(_0x4de2e3);})[_0x20e299(0x7e)](_0x96d4e8=>{const _0x5160af=_0x20e299;console[_0x5160af(0x16b)](_0x5160af(0xbc),_0x96d4e8);});}}}}if(_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x10b)]||_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x16a)]||_0x549a38[_0x20e299(0xc5)]?.['viewOnceMessageV2Extension']){if(conf[_0x20e299(0x13a)][_0x20e299(0x12f)]()==_0x20e299(0x73)&&!_0x549a38[_0x20e299(0xba)]['fromMe']){let _0x4af6d8=_0x549a38[_0x20e299(0xc5)][_0x5e6a9d];if(_0x4af6d8['message'][_0x20e299(0x8a)]){var _0x500746=await _0x324956[_0x20e299(0x137)](_0x4af6d8[_0x20e299(0xc5)][_0x20e299(0x8a)]),_0x22db2a=_0x4af6d8[_0x20e299(0xc5)][_0x20e299(0x8a)][_0x20e299(0xfa)];await _0x324956[_0x20e299(0x163)](_0x4c0f1a,{'image':{'url':_0x500746},'caption':_0x22db2a},{'quoted':_0x549a38});}else{if(_0x4af6d8[_0x20e299(0xc5)][_0x20e299(0xd2)]){var _0xcc260c=await _0x324956[_0x20e299(0x137)](_0x4af6d8[_0x20e299(0xc5)][_0x20e299(0xd2)]),_0x22db2a=_0x4af6d8[_0x20e299(0xc5)][_0x20e299(0xd2)]['caption'];await _0x324956[_0x20e299(0x163)](_0x4c0f1a,{'video':{'url':_0xcc260c},'caption':_0x22db2a},{'quoted':_0x549a38});}else{if(_0x4af6d8[_0x20e299(0xc5)][_0x20e299(0xfd)]){var _0x4921e7=await _0x324956['downloadAndSaveMediaMessage'](_0x4af6d8[_0x20e299(0xc5)]['audioMessage']);await _0x324956[_0x20e299(0x163)](_0x4c0f1a,{'audio':{'url':_0x4921e7},'mymetype':_0x20e299(0xb5)},{'quoted':_0x549a38,'ptt':![]});}}}}};if(_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0x8a)]||_0x549a38['message']?.[_0x20e299(0xfd)]||_0x549a38['message']?.['videoMessage']||_0x549a38[_0x20e299(0xc5)]?.[_0x20e299(0xa3)]||_0x549a38['message']?.[_0x20e299(0xe5)]){let _0x3b5bc5;if(dbCache[_0x20e299(0x171)](_0x20e299(0xfb)))_0x3b5bc5=dbCache[_0x20e299(0x118)](_0x20e299(0xfb))[_0x20e299(0xec)](_0x2f2475);else{let _0x11c52e=await isGroupspam();_0x3b5bc5=_0x11c52e[_0x20e299(0xec)](_0x2f2475),dbCache[_0x20e299(0x9d)](_0x20e299(0xfb),_0x11c52e);}if(_0x55b778&&_0x3b5bc5&&!_0x948600){console[_0x20e299(0x105)](_0x20e299(0x161));let _0x3e3562=_0x560324['get'](_0xb80b44+'_'+_0x2f2475);_0x3e3562?_0x3e3562[_0x20e299(0x19f)]>=0x4?(_0x3e3562[_0x20e299(0x1a2)](_0x549a38['key']),_0x3e3562[_0x20e299(0x8e)](_0x374f47=>{const _0x4917f4=_0x20e299;_0x324956[_0x4917f4(0x163)](_0x2f2475,{'delete':_0x374f47});}),_0x324956[_0x20e299(0x113)](_0x2f2475,[_0xb80b44],_0x20e299(0xc3))[_0x20e299(0xe6)](_0x43c904=>{const _0x3bfa30=_0x20e299;_0x324956[_0x3bfa30(0x163)](_0x2f2475,{'text':'@'+_0xb80b44[_0x3bfa30(0x18b)]('@')[0x0]+_0x3bfa30(0xac),'mentions':[_0xb80b44]});})[_0x20e299(0x7e)](_0x41e52c=>console[_0x20e299(0xd6)](_0x41e52c))):(_0x3e3562[_0x20e299(0x1a2)](_0x549a38[_0x20e299(0xba)]),_0x560324[_0x20e299(0x9d)](_0xb80b44+'_'+_0x2f2475,_0x3e3562,0x78)):_0x560324['set'](_0xb80b44+'_'+_0x2f2475,[_0x549a38[_0x20e299(0xba)]]);}}}),_0x324956['ev']['on'](_0xe17e7c(0x132),async _0xd2674c=>{const _0x3390c4=_0xe17e7c,_0x10057a=_0x5e66fa=>{const _0x1c20c7=a66_0x4306;if(!_0x5e66fa)return _0x5e66fa;if(/:\d+@/gi['test'](_0x5e66fa)){let _0x2aa710=(0x0,baileys_1['jidDecode'])(_0x5e66fa)||{};return _0x2aa710[_0x1c20c7(0x1a1)]&&_0x2aa710[_0x1c20c7(0x159)]&&_0x2aa710[_0x1c20c7(0x1a1)]+'@'+_0x2aa710[_0x1c20c7(0x159)]||_0x5e66fa;}else return _0x5e66fa;};console['log'](_0xd2674c);let _0x38b01d;try{_0x38b01d=await _0x324956[_0x3390c4(0x13c)](_0xd2674c['id'],_0x3390c4(0x13b));}catch{_0x38b01d=_0x3390c4(0xef);}try{const _0x1b9d73=await _0x324956[_0x3390c4(0x12b)](_0xd2674c['id']);groupMetadataCache[_0x3390c4(0x9d)](_0xd2674c['id'],_0x1b9d73);if(_0xd2674c[_0x3390c4(0xfc)]==_0x3390c4(0x6f)&&await recupevents(_0xd2674c['id'],_0x3390c4(0x17f))==_0x3390c4(0x13f)){let _0x1a12e7='╔════◇◇◇═════╗\x0a║\x20Welcome\x20the\x20new\x20member(s)\x0a║\x20*New\x20Member(s):*\x0a',_0x34391e=_0xd2674c['participants'];for(let _0x38e610 of _0x34391e){_0x1a12e7+='║\x20@'+_0x38e610['split']('@')[0x0]+'\x0a';}_0x1a12e7+='║\x0a╚════◇◇◇═════╝\x0a◇\x20*Description*\x20\x20\x20◇\x0a\x0a'+_0x1b9d73[_0x3390c4(0xb7)],_0x324956[_0x3390c4(0x163)](_0xd2674c['id'],{'image':{'url':_0x38b01d},'caption':_0x1a12e7,'mentions':_0x34391e});}else{if(_0xd2674c['action']==_0x3390c4(0xc3)&&await recupevents(_0xd2674c['id'],_0x3390c4(0xd0))=='on'){let _0xa47475=_0x3390c4(0x111),_0x876f8=_0xd2674c[_0x3390c4(0x88)];for(let _0x2a606f of _0x876f8){_0xa47475+='@'+_0x2a606f[_0x3390c4(0x18b)]('@')[0x0]+'\x0a';}_0x324956[_0x3390c4(0x163)](_0xd2674c['id'],{'text':_0xa47475,'mentions':_0x876f8});}else{if(_0xd2674c['action']==_0x3390c4(0x176)&&await recupevents(_0xd2674c['id'],'antipromote')=='on'){if(_0xd2674c['author']==_0x1b9d73['owner']||_0xd2674c[_0x3390c4(0x17e)]==conf[_0x3390c4(0x175)]+'@s.whatsapp.net'||_0xd2674c[_0x3390c4(0x17e)]==_0x10057a(_0x324956[_0x3390c4(0x1a1)]['id'])||_0xd2674c[_0x3390c4(0x17e)]==_0xd2674c[_0x3390c4(0x88)][0x0]){console[_0x3390c4(0xd6)]('Cas\x20de\x20superUser\x20je\x20fais\x20rien');return;};await _0x324956[_0x3390c4(0x113)](_0xd2674c['id'],[_0xd2674c[_0x3390c4(0x17e)],_0xd2674c[_0x3390c4(0x88)][0x0]],_0x3390c4(0xdc)),_0x324956[_0x3390c4(0x163)](_0xd2674c['id'],{'text':'@'+_0xd2674c[_0x3390c4(0x17e)]['split']('@')[0x0]+_0x3390c4(0xf9)+_0xd2674c[_0x3390c4(0x17e)][_0x3390c4(0x18b)]('@')[0x0]+'\x20and\x20@'+_0xd2674c[_0x3390c4(0x88)][0x0][_0x3390c4(0x18b)]('@')[0x0]+'\x20have\x20been\x20removed\x20from\x20administrative\x20rights.','mentions':[_0xd2674c['author'],_0xd2674c[_0x3390c4(0x88)][0x0]]});}else{if(_0xd2674c['action']=='demote'&&await recupevents(_0xd2674c['id'],_0x3390c4(0xd7))=='on'){if(_0xd2674c['author']==_0x1b9d73[_0x3390c4(0x138)]||_0xd2674c[_0x3390c4(0x17e)]==conf['NUMERO_OWNER']+_0x3390c4(0xf7)||_0xd2674c['author']==_0x10057a(_0x324956[_0x3390c4(0x1a1)]['id'])||_0xd2674c[_0x3390c4(0x17e)]==_0xd2674c[_0x3390c4(0x88)][0x0]){console[_0x3390c4(0xd6)](_0x3390c4(0x16d));return;};await _0x324956[_0x3390c4(0x113)](_0xd2674c['id'],[_0xd2674c[_0x3390c4(0x17e)]],_0x3390c4(0xdc)),await _0x324956[_0x3390c4(0x113)](_0xd2674c['id'],[_0xd2674c[_0x3390c4(0x88)][0x0]],_0x3390c4(0x176)),_0x324956[_0x3390c4(0x163)](_0xd2674c['id'],{'text':'@'+_0xd2674c[_0x3390c4(0x17e)]['split']('@')[0x0]+_0x3390c4(0xe4)+_0xd2674c[_0x3390c4(0x88)][0x0][_0x3390c4(0x18b)]('@')[0x0]+_0x3390c4(0xea),'mentions':[_0xd2674c['author'],_0xd2674c[_0x3390c4(0x88)][0x0]]});}}}}}catch(_0x24079b){console['error'](_0x24079b);}}),_0x324956['ev']['on'](_0xe17e7c(0xcb),async _0x5da762=>{const _0x20511c=_0xe17e7c;groupMetadataCache[_0x20511c(0x9d)](_0x5da762['id'],_0x5da762);}),_0x324956['ev']['on'](_0xe17e7c(0x188),async _0x2c77df=>{const _0x51e39f=_0x46b0cc=>{const _0x52bc3b=a66_0x4306;for(const _0x2684c6 of _0x46b0cc){store[_0x52bc3b(0x115)][_0x2684c6['id']]?Object[_0x52bc3b(0x127)](store[_0x52bc3b(0x115)][_0x2684c6['id']],_0x2684c6):store['contacts'][_0x2684c6['id']]=_0x2684c6;}return;};_0x51e39f(_0x2c77df);}),_0x324956['ev']['on'](_0xe17e7c(0x9f),async _0x449e12=>{const _0x2eab1e=_0xe17e7c,{connection:_0x12b642,lastDisconnect:_0x3ae21a}=_0x449e12;if(_0x12b642==_0x2eab1e(0x15e))console[_0x2eab1e(0xd6)](_0x2eab1e(0xe7));else{if(_0x12b642=='close'){let _0x5e8f3b=new Boom(_0x3ae21a?.[_0x2eab1e(0x16b)])?.[_0x2eab1e(0x75)][_0x2eab1e(0xad)];if(_0x5e8f3b==DisconnectReason['connectionClosed'])console['log'](_0x2eab1e(0x101)),connectToWhatsapp();else{if(_0x5e8f3b==DisconnectReason[_0x2eab1e(0x15c)])console[_0x2eab1e(0xd6)](_0x2eab1e(0x7a));else{if(_0x5e8f3b===DisconnectReason[_0x2eab1e(0x157)])console[_0x2eab1e(0xd6)](_0x2eab1e(0x121));else{if(_0x5e8f3b===DisconnectReason[_0x2eab1e(0x155)])console[_0x2eab1e(0xd6)](_0x2eab1e(0x112));else{if(_0x5e8f3b===DisconnectReason[_0x2eab1e(0x134)])console[_0x2eab1e(0xd6)](_0x2eab1e(0xa2)),connectToWhatsapp();else{if(_0x5e8f3b===DisconnectReason[_0x2eab1e(0x197)])console[_0x2eab1e(0xd6)](_0x2eab1e(0x181)),connectToWhatsapp();else{console['log'](_0x2eab1e(0x183));const {exec:_0x2e9962}=require('child_process');_0x2e9962(_0x2eab1e(0x151));}}}}}}}else{if(_0x12b642==_0x2eab1e(0x153)){console['log'](_0x2eab1e(0xa4)),await delay(0x1f4),fs[_0x2eab1e(0xab)](__dirname+_0x2eab1e(0xd3))[_0x2eab1e(0x8e)](_0x28ff58=>{const _0x19c728=_0x2eab1e;if(path[_0x19c728(0x10a)](_0x28ff58)[_0x19c728(0x12f)]()==_0x19c728(0x99)){try{require(__dirname+_0x19c728(0x82)+_0x28ff58),console[_0x19c728(0xd6)](_0x28ff58+_0x19c728(0x173));}catch(_0x3ae370){console[_0x19c728(0xd6)](_0x28ff58+_0x19c728(0x187)+_0x3ae370),console[_0x19c728(0x16b)](_0x3ae370);}delay(0x12c);}}),await delay(0x2bc);var _0x2bed9c;if(conf[_0x2eab1e(0x74)][_0x2eab1e(0x12f)]()==='yes')_0x2bed9c='public';else conf['MODE'][_0x2eab1e(0x12f)]()==='no'?_0x2bed9c=_0x2eab1e(0x142):_0x2bed9c='undefined';console[_0x2eab1e(0xd6)]('chargement\x20des\x20commandes\x20terminé\x20✅'),await _0x4ea30d();if(conf['DP'][_0x2eab1e(0x12f)]()===_0x2eab1e(0x73)){let _0x44d225=_0x2eab1e(0x192)+prefixe+_0x2eab1e(0x164)+_0x2bed9c+_0x2eab1e(0x100)+evt['cm'][_0x2eab1e(0x19f)]+'︎\x0a╚══════════════════╝\x0a\x20\x20\x0a╔═════◇\x0a║『𝗯𝘆\x20Djalega++』\x0a║\x20\x0a╚══════════════════╝';await _0x324956[_0x2eab1e(0x163)](_0x324956[_0x2eab1e(0x1a1)]['id'],{'text':_0x44d225});}}}}}),_0x324956['ev']['on'](_0xe17e7c(0x94),_0x2e6ba1),_0x324956[_0xe17e7c(0x137)]=async(_0x23af03,_0x1c51b5='',_0x2431c9=!![])=>{const _0x1f0523=_0xe17e7c;let _0x2562ac=_0x23af03['msg']?_0x23af03[_0x1f0523(0x133)]:_0x23af03,_0x7f32e=(_0x23af03[_0x1f0523(0x133)]||_0x23af03)[_0x1f0523(0xc2)]||'',_0x30fbf8=_0x23af03[_0x1f0523(0x19c)]?_0x23af03['mtype']['replace'](/Message/gi,''):_0x7f32e['split']('/')[0x0];const _0x495b31=await downloadContentFromMessage(_0x2562ac,_0x30fbf8);let _0x40c8f3=Buffer[_0x1f0523(0x89)]([]);for await(const _0x36f950 of _0x495b31){_0x40c8f3=Buffer['concat']([_0x40c8f3,_0x36f950]);}let _0x1b6452=await FileType[_0x1f0523(0x18f)](_0x40c8f3),_0x23d776='./'+_0x1c51b5+'.'+_0x1b6452[_0x1f0523(0x148)];return await fs[_0x1f0523(0x83)](_0x23d776,_0x40c8f3),_0x23d776;},_0x324956[_0xe17e7c(0xe9)]=async(_0x1f0e9c={})=>{return new Promise((_0x50501a,_0x2274b6)=>{const _0x5845fb=a66_0x4306;if(typeof _0x1f0e9c!==_0x5845fb(0x107))_0x2274b6(new Error(_0x5845fb(0x16f)));if(typeof _0x1f0e9c[_0x5845fb(0x14c)]!==_0x5845fb(0x178))_0x2274b6(new Error(_0x5845fb(0xbd)));if(typeof _0x1f0e9c[_0x5845fb(0xb3)]!==_0x5845fb(0x178))_0x2274b6(new Error(_0x5845fb(0xb6)));if(_0x1f0e9c[_0x5845fb(0x131)]&&typeof _0x1f0e9c[_0x5845fb(0x131)]!==_0x5845fb(0x7f))_0x2274b6(new Error(_0x5845fb(0xa6)));if(_0x1f0e9c[_0x5845fb(0xf3)]&&typeof _0x1f0e9c[_0x5845fb(0xf3)]!==_0x5845fb(0x185))_0x2274b6(new Error('Filter\x20must\x20be\x20a\x20function'));const _0x417704=_0x1f0e9c?.[_0x5845fb(0x131)]||undefined,_0x127a84=_0x1f0e9c?.[_0x5845fb(0xf3)]||(()=>!![]);let _0x12fcb5=undefined,_0x432ffa=_0x3a36c6=>{const _0x4957b5=_0x5845fb;let {type:_0x398ec2,messages:_0x1e8bcc}=_0x3a36c6;if(_0x398ec2==_0x4957b5(0xcf))for(let _0x54da55 of _0x1e8bcc){const _0x24482c=_0x54da55[_0x4957b5(0xba)][_0x4957b5(0x1a5)],_0x1d9524=_0x54da55['key']['remoteJid'],_0x30f887=_0x1d9524[_0x4957b5(0x12d)](_0x4957b5(0x72)),_0x427a71=_0x1d9524==_0x4957b5(0x14a),_0x1483f2=_0x24482c?_0x324956[_0x4957b5(0x1a1)]['id'][_0x4957b5(0xc9)](/:.*@/g,'@'):_0x30f887||_0x427a71?_0x54da55[_0x4957b5(0xba)][_0x4957b5(0x117)][_0x4957b5(0xc9)](/:.*@/g,'@'):_0x1d9524;_0x1483f2==_0x1f0e9c[_0x4957b5(0x14c)]&&_0x1d9524==_0x1f0e9c[_0x4957b5(0xb3)]&&_0x127a84(_0x54da55)&&(_0x324956['ev']['off'](_0x4957b5(0xe3),_0x432ffa),clearTimeout(_0x12fcb5),_0x50501a(_0x54da55));}};_0x324956['ev']['on'](_0x5845fb(0xe3),_0x432ffa),_0x417704&&(_0x12fcb5=setTimeout(()=>{const _0x4f6778=_0x5845fb;_0x324956['ev']['off'](_0x4f6778(0xe3),_0x432ffa),_0x2274b6(new Error(_0x4f6778(0x7d)));},_0x417704));});};async function _0x4ea30d(){const _0x561716=_0xe17e7c,_0x31aaaa=require(_0x561716(0x198)),{getCron:_0x1deb22}=require(_0x561716(0x10d));let _0x4c3232=await _0x1deb22();console['log'](_0x4c3232);if(_0x4c3232[_0x561716(0x19f)]>0x0)for(let _0xf0f78c=0x0;_0xf0f78c<_0x4c3232[_0x561716(0x19f)];_0xf0f78c++){if(_0x4c3232[_0xf0f78c][_0x561716(0x167)]!=null){let _0x4e075c=_0x4c3232[_0xf0f78c][_0x561716(0x167)]['split'](':');console[_0x561716(0xd6)](_0x561716(0x9e)+_0x4c3232[_0xf0f78c][_0x561716(0xe8)]+_0x561716(0x91)+_0x4e075c[0x0]+_0x561716(0xd5)+_0x4e075c[0x1]),_0x31aaaa[_0x561716(0x11e)](_0x4e075c[0x1]+'\x20'+_0x4e075c[0x0]+_0x561716(0x86),async()=>{const _0x463234=_0x561716;try{await _0x324956[_0x463234(0x95)](_0x4c3232[_0xf0f78c]['group_id'],_0x463234(0xf0)),_0x324956['sendMessage'](_0x4c3232[_0xf0f78c][_0x463234(0xe8)],{'image':{'url':_0x463234(0x12a)},'caption':_0x463234(0x79)});}catch(_0x40cddb){console[_0x463234(0xd6)](_0x40cddb);}},{'timezone':_0x561716(0x172)});}if(_0x4c3232[_0xf0f78c][_0x561716(0x193)]!=null){let _0x32b179=_0x4c3232[_0xf0f78c][_0x561716(0x193)]['split'](':');console[_0x561716(0xd6)](_0x561716(0xcc)+_0x32b179[0x0]+'\x20H\x20'+_0x32b179[0x1]+'\x20'),_0x31aaaa['schedule'](_0x32b179[0x1]+'\x20'+_0x32b179[0x0]+_0x561716(0x86),async()=>{const _0x5f3c4e=_0x561716;try{await _0x324956[_0x5f3c4e(0x95)](_0x4c3232[_0xf0f78c][_0x5f3c4e(0xe8)],_0x5f3c4e(0x17d)),_0x324956[_0x5f3c4e(0x163)](_0x4c3232[_0xf0f78c][_0x5f3c4e(0xe8)],{'image':{'url':'./media/chrono.jpg'},'caption':_0x5f3c4e(0x180)});}catch(_0x31b297){console[_0x5f3c4e(0xd6)](_0x31b297);}},{'timezone':_0x561716(0x172)});}}else console[_0x561716(0xd6)]('Les\x20crons\x20n\x27ont\x20pas\x20été\x20activés');return;}}connectToWhatsapp();function a66_0x4306(_0x2a2791,_0x263c74){const _0x26fe59=a66_0x26fe();return a66_0x4306=function(_0x430644,_0x473f5b){_0x430644=_0x430644-0x6f;let _0x209f92=_0x26fe59[_0x430644];return _0x209f92;},a66_0x4306(_0x2a2791,_0x263c74);}const express=require(a66_0x1c1568(0x92)),port=process['env'][a66_0x1c1568(0xe0)]||0xbb8,app=express();app[a66_0x1c1568(0x118)]('/',(_0x497380,_0x561a6e)=>{_0x561a6e['send']('<!DOCTYPE\x20html>\x0a<html\x20lang=\x22en\x22>\x0a<head>\x0a\x20\x20\x20\x20<meta\x20charset=\x22UTF-8\x22>\x0a\x20\x20\x20\x20<meta\x20name=\x22viewport\x22\x20content=\x22width=device-width,\x20initial-scale=1.0\x22>\x0a\x20\x20\x20\x20<title>Thanks\x20for\x20using\x20Zokou</title>\x0a\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20/*\x20Styles\x20pour\x20centrer\x20le\x20texte\x20*/\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100vh;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20margin:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-family:\x20Arial,\x20sans-serif;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#f0f0f0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20.content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2020px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background-color:\x20#fff;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x208px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x200\x200\x2010px\x20rgba(0,0,0,0.1);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20</style>\x0a</head>\x0a<body>\x0a\x20\x20\x20\x20<div\x20class=\x22content\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<h1>Thanks\x20for\x20using\x20Zokou</h1>\x0a\x20\x20\x20\x20</div>\x0a</body>\x0a</html>\x0a');}),app[a66_0x1c1568(0x1a6)](port,()=>{const _0x3679cc=a66_0x1c1568;console[_0x3679cc(0xd6)](_0x3679cc(0x15f)+port);});