-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.js
1 lines (1 loc) · 39.9 KB
/
index.js
1
'use strict';const _0x5eea43=_0x39eb;(function(_0x48f739,_0x529a0d){const _0x499883=_0x39eb,_0x5ae757=_0x48f739();while(!![]){try{const _0x2bfb1f=parseInt(_0x499883(0x13c))/0x1+-parseInt(_0x499883(0x134))/0x2*(-parseInt(_0x499883(0x1bc))/0x3)+-parseInt(_0x499883(0x1bf))/0x4+parseInt(_0x499883(0x161))/0x5*(-parseInt(_0x499883(0x1b9))/0x6)+parseInt(_0x499883(0x188))/0x7*(parseInt(_0x499883(0x12e))/0x8)+parseInt(_0x499883(0x205))/0x9+-parseInt(_0x499883(0x20f))/0xa*(-parseInt(_0x499883(0x1bd))/0xb);if(_0x2bfb1f===_0x529a0d)break;else _0x5ae757['push'](_0x5ae757['shift']());}catch(_0x95b035){_0x5ae757['push'](_0x5ae757['shift']());}}}(_0x1000,0xec050));function _0x1000(){const _0x2abb15=['/framework/app','getOwnPropertyDescriptor','concat','wa-sticker-formatter','FULL','DisconnectReason','pino','/commandes/','bot\x20detected,\x20\x0a','call','./bdd/warn','*YESSER\x20WELCOME\x20MESSAGE*','awaitForMessage','138aCRccq','lien\x20detected,\x20\x0a','vous\x20êtes\x20déconnecté,,,\x20veuillez\x20rescanner\x20le\x20code\x20qr\x20svp','20961HsQdTt','2761xcgqTV','audio/mp4','5953600LsQCAQ','participant','mtype','filter','------','lien\x20detecté','\x20could\x20not\x20be\x20installed\x20due\x20to\x20:\x20','message\x20delete\x20\x0a\x20@','groupMetadata','loggedOut','forEach','downloadAndSaveMediaMessage','```⚠️\x20Am\x20yesser,\x20My\x20owner\x20is\x20an\x20available\x20try\x20again\x20later```\x20.','pushName','writable','\x20:\x20','listResponseMessage','mention\x20pas\x20actifs','nomCom','message\x20provenant\x20du\x20groupe\x20:\x20','@whiskeysockets/baileys','makeInMemoryStore','Message\x20non\x20trouver','safari','message','cache','https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif','assign','Commands\x20Installation\x20Completed\x20✅','number','get','status','sendPresenceUpdate','fromBuffer','child_process','groupSettingUpdate','254710772666','hasOwnProperty','remove','video','MODE','st1.webp','Good\x20morning;\x20It\x27s\x20time\x20to\x20open\x20the\x20group.','An\x20Error\x20Occurred,\x20Repeat\x20Command!','messageContextInfo','imageMessage','key','statusCode','group-participants.update','connectionReplaced','mimetype','makeCacheableSignalKeyStore','Throttling\x20reactions\x20to\x20prevent\x20overflow.','groupParticipantsUpdate','AUTO_DOWNLOAD_STATUS','Session\x20Invalid\x20','./media/chrono.webp','Zoou-Md','antidemote','extendedTextMessage','/scan','Hello,\x20it\x27s\x20time\x20to\x20close\x20the\x20group;\x20sayonara.','type\x20de\x20message\x20:\x20','trim','close','ADM','You\x20don\x27t\x20have\x20acces\x20to\x20commands\x20here','shift','add','participants','9529650fGWgtL','random','string','creds.update','buttonsResponseMessage','defineProperty','------------------/-----','group_id','goodbye','./bdd/mention','4520JvGJOI','configurable','.\x20Consequently,\x20he\x20has\x20been\x20stripped\x20of\x20administrative\x20rights.','Bot\x27s\x20user\x20ID\x20not\x20available.\x20Skipping\x20reaction.','bdd\x20err\x20','fonction','admin','fetchLatestBaileysVersion','\x20\x20\x20\x20\x20\x20\x20\x20*Deleted\x20message\x20detected*\x0a\x0a\x20🚮\x20Deleted\x20by\x20@','contacts','__importDefault','create','yes','Successfully\x20reacted\x20to\x20status\x20update\x20by\x20','getContentType','type','public','owner','/scan/creds.json','@whiskeysockets/baileys/lib/Utils/logger','[email protected]','/commandes','demote','promote','map','\x20*\x20*\x20*','endsWith','off','user','Bmw-Md','server','quotedMessage','bot\x20detected\x20;you\x20will\x20be\x20remove\x20because\x20of\x20reaching\x20warn-limit','from','😡😡\x20','....\x20','replace','status@broadcast','BAE5','subject','caption','zokk','\x20have\x20been\x20removed\x20from\x20administrative\x20rights.','hum\x20','fromCharCode','notify','Sender\x20must\x20be\x20a\x20string','downloadContentFromMessage','@s.whatsapp.net','URL','protocolMessage','unlink','✅\x20Yesser\x20Connected\x20to\x20WhatsApp!\x20☺️','s.whatsapp.net','sender','__setModuleDefault','delay','rejectCall','selectedRowId','private','env','readMessages','videoMessage','node-cron','watchFile','antipromote','message\x20envoyé\x20par\x20:\x20','AUTO_REACT_STATUS','sendMessage','timeout','level','announcement','OWNER_NAME','Session\x20id\x20error,\x20rescan\x20again...','includes','warn','slice','object','reaction','ANTICALL','redemarrage\x20sur\x20le\x20coup\x20de\x20l\x27erreur\x20\x20','selectedButtonId','__esModule','1992664jYNfhR','writeFileSync','12345','WARN_COUNT','connection\x20error\x20😞\x20,,,\x20trying\x20to\x20reconnect...\x20','text','446EMolnS','!!!\x20connexion\x20fermée,\x20reconnexion\x20en\x20cours\x20...','startsWith','output','repeat','Yesser\x20Md\x20is\x20Online\x20🕸\x0a\x0a','link\x20detected\x20,\x20you\x20will\x20be\x20remove\x20because\x20of\x20reaching\x20warn-limit','child','1139362GDAfAN','profilePictureUrl','default','loadMessage','fs-extra','readFileSync','./store.json','Africa/Nairobi','error','./bdd/banGroup','unavailable','badSession','unmute_at','❒\x20*READ\x20THE\x20GROUP\x20DESCRIPTION\x20TO\x20AVOID\x20GETTING\x20REMOVED*\x20','toLowerCase','function','\x20H\x20','#000000','find','jidDecode','schedule','\x20has\x20violated\x20the\x20anti-demotion\x20rule\x20by\x20removing\x20@','Message\x20supprimer\x20me\x20concernant','author','\x20]*\x0a│⭕\x20ᴍᴏᴅᴇ:\x20*','silent','Cas\x20de\x20superUser\x20je\x20fais\x20rien','Loading\x20Bmw\x20Commands\x20...\x0a','------\x20contenu\x20du\x20message\x20------','./bdd/level','open','test','mise\x20à\x20jour\x20','transparent','mentionedJid','@g.us','NOM_OWNER','415825oqYUhT','NUMERO_OWNER','connexion\x20en\x20cour\x20...','useMultiFileAuthState','https://','./bdd/onlyAdmin','msg','remoteJid','antiien\x20','session','conversation','\x20a\x20','unwatchFile','./set','keys','fromMe','connecting','chatJid','utf8','./media/deleted-message.jpg','url','singleSelectReply','Message','delete','\x20avoid\x20sending\x20link.','path','./bdd/antilien','./bdd/banUser','image','etablissement\x20d\x27un\x20automute\x20pour\x20','bot\x20detected\x20,\x20your\x20warn_count\x20was\x20upgrade\x20;\x0a\x20rest\x20:\x20','non','\x20Installed\x20Successfully✔️','undefined','===========\x20written\x20message===========','\x20WELCOME\x20TO\x20OUR\x20GROUP.\x20\x0a\x0a','creds','\x20and\x20@','store','14IiCdSV','messages.upsert','/framework/zokou','ETAT','ChatJid\x20must\x20be\x20a\x20string','connectionLost','je\x20fais\x20rien','composing','AUTO_REACT_STATUS\x20is\x20enabled.\x20Listening\x20for\x20status\x20updates...','resolve','Filter\x20must\x20be\x20a\x20function','redémarrage\x20en\x20cours\x20▶️','./bdd/antibot','existsSync','mute_at','log','__createBinding','action','Timeout','./bdd/welcome','Options\x20must\x20be\x20an\x20object','contextInfo','Je\x20ne\x20reagis\x20pas\x20au\x20reactions','PM_PERMIT','BOT_OWNER','connexion\x20réplacée\x20,,,\x20une\x20sesssion\x20est\x20déjà\x20ouverte\x20veuillez\x20la\x20fermer\x20svp\x20!!!','toLocaleLowerCase','push','toFile','message\x20deleted\x20\x0a\x20@','./bdd/cron','one\x20or\x20somes\x20member(s)\x20left\x20group;\x0a','split','length','restartRequired','./bdd/sudo'];_0x1000=function(){return _0x2abb15;};return _0x1000();}var __createBinding=this&&this[_0x5eea43(0x198)]||(Object[_0x5eea43(0x21a)]?function(_0x2ec542,_0x343352,_0x509ecb,_0x3fbc7a){const _0x147200=_0x5eea43;if(_0x3fbc7a===undefined)_0x3fbc7a=_0x509ecb;var _0x10699e=Object[_0x147200(0x1ad)](_0x343352,_0x509ecb);(!_0x10699e||(_0x147200(0x1dd)in _0x10699e?!_0x343352[_0x147200(0x12d)]:_0x10699e[_0x147200(0x1cd)]||_0x10699e[_0x147200(0x210)]))&&(_0x10699e={'enumerable':!![],'get':function(){return _0x343352[_0x509ecb];}}),Object[_0x147200(0x20a)](_0x2ec542,_0x3fbc7a,_0x10699e);}:function(_0x5ab263,_0x22ff5c,_0x357afc,_0x53931b){if(_0x53931b===undefined)_0x53931b=_0x357afc;_0x5ab263[_0x53931b]=_0x22ff5c[_0x357afc];}),__setModuleDefault=this&&this[_0x5eea43(0x246)]||(Object[_0x5eea43(0x21a)]?function(_0x3e8010,_0x206e93){const _0xf1cbec=_0x5eea43;Object[_0xf1cbec(0x20a)](_0x3e8010,_0xf1cbec(0x13e),{'enumerable':!![],'value':_0x206e93});}:function(_0x45b5e0,_0x39e8b4){_0x45b5e0['default']=_0x39e8b4;}),__importStar=this&&this['__importStar']||function(_0x109aba){const _0x24dd06=_0x5eea43;if(_0x109aba&&_0x109aba[_0x24dd06(0x12d)])return _0x109aba;var _0x2de687={};if(_0x109aba!=null){for(var _0x2c671e in _0x109aba)if(_0x2c671e!==_0x24dd06(0x13e)&&Object['prototype'][_0x24dd06(0x1e4)][_0x24dd06(0x1b5)](_0x109aba,_0x2c671e))__createBinding(_0x2de687,_0x109aba,_0x2c671e);}return __setModuleDefault(_0x2de687,_0x109aba),_0x2de687;},__importDefault=this&&this[_0x5eea43(0x219)]||function(_0x1edd0a){const _0x3dbcf7=_0x5eea43;return _0x1edd0a&&_0x1edd0a[_0x3dbcf7(0x12d)]?_0x1edd0a:{'default':_0x1edd0a};};function _0x39eb(_0x49f149,_0x7ff2df){const _0x100054=_0x1000();return _0x39eb=function(_0x39eb27,_0x5adc89){_0x39eb27=_0x39eb27-0x12b;let _0xb8a87b=_0x100054[_0x39eb27];return _0xb8a87b;},_0x39eb(_0x49f149,_0x7ff2df);}Object['defineProperty'](exports,_0x5eea43(0x12d),{'value':!![]});const baileys_1=__importStar(require(_0x5eea43(0x1d3))),logger_1=__importDefault(require(_0x5eea43(0x222))),logger=logger_1['default'][_0x5eea43(0x13b)]({});logger[_0x5eea43(0x255)]=_0x5eea43(0x155);const pino=require(_0x5eea43(0x1b2)),boom_1=require('@hapi/boom'),conf=require(_0x5eea43(0x16e)),axios=require('axios');let fs=require(_0x5eea43(0x140)),path=require(_0x5eea43(0x17a));const FileType=require('file-type'),{Sticker,createSticker,StickerTypes}=require(_0x5eea43(0x1af)),{verifierEtatJid,recupererActionJid}=require(_0x5eea43(0x17b)),{atbverifierEtatJid,atbrecupererActionJid}=require(_0x5eea43(0x194));let evt=require(__dirname+_0x5eea43(0x18a));const {isUserBanned,addUserToBanList,removeUserFromBanList}=require(_0x5eea43(0x17c)),{addGroupToBanList,isGroupBanned,removeGroupFromBanList}=require(_0x5eea43(0x145)),{isGroupOnlyAdmin,addGroupToOnlyAdminList,removeGroupFromOnlyAdminList}=require(_0x5eea43(0x166));let {reagir}=require(__dirname+_0x5eea43(0x1ac));var session=conf[_0x5eea43(0x16a)][_0x5eea43(0x233)](/Zokou-MD-WHATSAPP-BOT;;;=>/g,'');const prefixe=conf['PREFIXE'],more=String[_0x5eea43(0x23b)](0x200e),readmore=more[_0x5eea43(0x138)](0xfa1),BaseUrl=process[_0x5eea43(0x24b)]['GITHUB_GIT'],adamsapikey=process['env'][_0x5eea43(0x1a0)];async function authentification(){const _0x5dd98f=_0x5eea43;try{if(!fs['existsSync'](__dirname+_0x5dd98f(0x221)))console[_0x5dd98f(0x197)](_0x5dd98f(0x163)),await fs[_0x5dd98f(0x12f)](__dirname+_0x5dd98f(0x221),atob(session),_0x5dd98f(0x173));else fs[_0x5dd98f(0x195)](__dirname+_0x5dd98f(0x221))&&session!=_0x5dd98f(0x238)&&await fs[_0x5dd98f(0x12f)](__dirname+_0x5dd98f(0x221),atob(session),_0x5dd98f(0x173));}catch(_0x18ab95){console[_0x5dd98f(0x197)](_0x5dd98f(0x1f6)+_0x18ab95);return;}}authentification();const store=(0x0,baileys_1[_0x5eea43(0x1d4)])({'logger':pino()[_0x5eea43(0x13b)]({'level':_0x5eea43(0x155),'stream':_0x5eea43(0x187)})});setTimeout(()=>{const _0x458339=_0x5eea43;async function _0x4b6795(){const _0x4d2b88=_0x39eb,{version:_0x34ccc2,isLatest:_0x1cf390}=await(0x0,baileys_1[_0x4d2b88(0x216)])(),{state:_0x32f9a7,saveCreds:_0x5171fb}=await(0x0,baileys_1[_0x4d2b88(0x164)])(__dirname+_0x4d2b88(0x1fb)),_0x13bf45={'version':_0x34ccc2,'logger':pino({'level':_0x4d2b88(0x155)}),'browser':[_0x4d2b88(0x22c),_0x4d2b88(0x1d6),'1.0.0'],'printQRInTerminal':!![],'fireInitQueries':![],'shouldSyncHistoryMessage':!![],'downloadHistory':!![],'syncFullHistory':!![],'generateHighQualityLinkPreview':!![],'markOnlineOnConnect':![],'keepAliveIntervalMs':0x7530,'auth':{'creds':_0x32f9a7[_0x4d2b88(0x185)],'keys':(0x0,baileys_1[_0x4d2b88(0x1f2)])(_0x32f9a7[_0x4d2b88(0x16f)],logger)},'getMessage':async _0x167ce3=>{const _0x5ca6f2=_0x4d2b88;if(store){const _0x5cee3a=await store[_0x5ca6f2(0x13f)](_0x167ce3[_0x5ca6f2(0x168)],_0x167ce3['id'],undefined);return _0x5cee3a[_0x5ca6f2(0x1d7)]||undefined;}return{'conversation':_0x5ca6f2(0x1ea)};}},_0xf78a87=(0x0,baileys_1[_0x4d2b88(0x13e)])(_0x13bf45);store['bind'](_0xf78a87['ev']),_0xf78a87['ev']['on'](_0x4d2b88(0x1b5),async _0x5c5612=>{const _0x4829e2=_0x4d2b88;if(conf[_0x4829e2(0x25e)]===_0x4829e2(0x21b)){const _0x9c9367=_0x5c5612[0x0]['id'],_0x5999a8=_0x5c5612[0x0][_0x4829e2(0x230)];await _0xf78a87[_0x4829e2(0x248)](_0x9c9367,_0x5999a8),await _0xf78a87[_0x4829e2(0x253)](_0x5999a8,{'text':_0x4829e2(0x1cb)});}});const _0x3b0c51=_0x3cee04=>new Promise(_0x326269=>setTimeout(_0x326269,_0x3cee04));let _0x55baa2=0x0;conf[_0x4d2b88(0x252)]===_0x4d2b88(0x21b)&&(console['log'](_0x4d2b88(0x190)),_0xf78a87['ev']['on'](_0x4d2b88(0x189),async _0x44a0f9=>{const _0x500183=_0x4d2b88,{messages:_0x1481eb}=_0x44a0f9;for(const _0x373afc of _0x1481eb){if(_0x373afc[_0x500183(0x1ed)]&&_0x373afc[_0x500183(0x1ed)]['remoteJid']==='status@broadcast'){console[_0x500183(0x197)]('Detected\x20status\x20update\x20from:',_0x373afc[_0x500183(0x1ed)][_0x500183(0x168)]);const _0x2bbe1a=Date['now']();if(_0x2bbe1a-_0x55baa2<0x1388){console[_0x500183(0x197)](_0x500183(0x1f3));continue;}const _0x4251ce=_0xf78a87['user']&&_0xf78a87[_0x500183(0x22b)]['id']?_0xf78a87[_0x500183(0x22b)]['id'][_0x500183(0x1a8)](':')[0x0]+_0x500183(0x23f):null;if(!_0x4251ce){console[_0x500183(0x197)](_0x500183(0x212));continue;}await _0xf78a87[_0x500183(0x253)](_0x373afc[_0x500183(0x1ed)][_0x500183(0x168)],{'react':{'key':_0x373afc[_0x500183(0x1ed)],'text':'💙'}},{'statusJidList':[_0x373afc[_0x500183(0x1ed)][_0x500183(0x1c0)],_0x4251ce]}),_0x55baa2=Date['now'](),console[_0x500183(0x197)](_0x500183(0x21c)+_0x373afc[_0x500183(0x1ed)][_0x500183(0x168)]),await _0x3b0c51(0x7d0);}}}));_0xf78a87['ev']['on']('messages.upsert',async _0x1a40f6=>{const _0x1a3f42=_0x4d2b88,{messages:_0x845c93}=_0x1a40f6,_0x4c77a4=_0x845c93[0x0];if(!_0x4c77a4['message'])return;const _0x2cd9f2=_0x38cce1=>{const _0x36435c=_0x39eb;if(!_0x38cce1)return _0x38cce1;if(/:\d+@/gi[_0x36435c(0x15b)](_0x38cce1)){let _0xd4f5af=(0x0,baileys_1[_0x36435c(0x14f)])(_0x38cce1)||{};return _0xd4f5af[_0x36435c(0x22b)]&&_0xd4f5af['server']&&_0xd4f5af[_0x36435c(0x22b)]+'@'+_0xd4f5af[_0x36435c(0x22d)]||_0x38cce1;}else return _0x38cce1;};var _0x38342d=(0x0,baileys_1[_0x1a3f42(0x21d)])(_0x4c77a4[_0x1a3f42(0x1d7)]),_0x1eacba=_0x38342d==_0x1a3f42(0x16b)?_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x16b)]:_0x38342d==_0x1a3f42(0x1ec)?_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x1ec)]?.[_0x1a3f42(0x237)]:_0x38342d==_0x1a3f42(0x24d)?_0x4c77a4[_0x1a3f42(0x1d7)]['videoMessage']?.[_0x1a3f42(0x237)]:_0x38342d==_0x1a3f42(0x1fa)?_0x4c77a4[_0x1a3f42(0x1d7)]?.['extendedTextMessage']?.[_0x1a3f42(0x133)]:_0x38342d==_0x1a3f42(0x209)?_0x4c77a4?.[_0x1a3f42(0x1d7)]?.['buttonsResponseMessage']?.[_0x1a3f42(0x12c)]:_0x38342d==_0x1a3f42(0x1cf)?_0x4c77a4[_0x1a3f42(0x1d7)]?.['listResponseMessage']?.[_0x1a3f42(0x176)]?.[_0x1a3f42(0x249)]:_0x38342d==_0x1a3f42(0x1eb)?_0x4c77a4?.[_0x1a3f42(0x1d7)]?.[_0x1a3f42(0x209)]?.[_0x1a3f42(0x12c)]||_0x4c77a4[_0x1a3f42(0x1d7)]?.[_0x1a3f42(0x1cf)]?.[_0x1a3f42(0x176)]?.[_0x1a3f42(0x249)]||_0x4c77a4[_0x1a3f42(0x133)]:'',_0x56ba16=_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x168)],_0x4f6687=_0x2cd9f2(_0xf78a87[_0x1a3f42(0x22b)]['id']),_0x2a538e=_0x4f6687['split']('@')[0x0];const _0x3c4e15=_0x56ba16?.[_0x1a3f42(0x229)](_0x1a3f42(0x15f));var _0x69d221=_0x3c4e15?await _0xf78a87[_0x1a3f42(0x1c7)](_0x56ba16):'',_0x3c3b49=_0x3c4e15?_0x69d221[_0x1a3f42(0x236)]:'',_0x1c3443=_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x1fa)]?.['contextInfo']?.[_0x1a3f42(0x22e)],_0x5873c2=_0x2cd9f2(_0x4c77a4[_0x1a3f42(0x1d7)]?.['extendedTextMessage']?.[_0x1a3f42(0x19d)]?.[_0x1a3f42(0x1c0)]),_0x202073=_0x4c77a4[_0x1a3f42(0x177)]?.['extendedTextMessage']?.['contextInfo']?.[_0x1a3f42(0x15e)],_0xdc4160=_0x202073?_0x202073:_0x1c3443?_0x5873c2:'',_0x19b3a0=_0x3c4e15?_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x1c0)]?_0x4c77a4['key']['participant']:_0x4c77a4[_0x1a3f42(0x1c0)]:_0x56ba16;_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x170)]&&(_0x19b3a0=_0x4f6687);var _0x14b190=_0x3c4e15?_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x1c0)]:'';const {getAllSudoNumbers:_0x1ca1a4}=require(_0x1a3f42(0x1ab)),_0x5ee29f=_0x4c77a4[_0x1a3f42(0x1cc)],_0x580cc7=_0x1a3f42(0x1e3),_0xf8aed5='254710772666',_0x3ac252=_0x1a3f42(0x1e3),_0x14ef32='254710772666',_0x35aea0=await _0x1ca1a4(),_0x4bd789=[_0x2a538e,_0x580cc7,_0xf8aed5,_0x3ac252,_0x14ef32,conf[_0x1a3f42(0x162)]]['map'](_0x174895=>_0x174895[_0x1a3f42(0x233)](/[^0-9]/g)+_0x1a3f42(0x23f)),_0x10d0ac=_0x4bd789[_0x1a3f42(0x1ae)](_0x35aea0),_0x5a78ec=_0x10d0ac[_0x1a3f42(0x259)](_0x19b3a0);var _0x28f623=[_0x580cc7,_0xf8aed5,_0x3ac252,_0x14ef32][_0x1a3f42(0x227)](_0x2d41e2=>_0x2d41e2[_0x1a3f42(0x233)](/[^0-9]/g)+_0x1a3f42(0x23f))[_0x1a3f42(0x259)](_0x19b3a0);function _0x5c197a(_0x1fe138){const _0x17dcb4=_0x1a3f42;_0xf78a87[_0x17dcb4(0x253)](_0x56ba16,{'text':_0x1fe138},{'quoted':_0x4c77a4});}console[_0x1a3f42(0x197)]('\x09YESSER\x20MD'),console[_0x1a3f42(0x197)](_0x1a3f42(0x183));_0x3c4e15&&console[_0x1a3f42(0x197)](_0x1a3f42(0x1d2)+_0x3c3b49);console[_0x1a3f42(0x197)](_0x1a3f42(0x251)+'['+_0x5ee29f+_0x1a3f42(0x1ce)+_0x19b3a0[_0x1a3f42(0x1a8)](_0x1a3f42(0x23f))[0x0]+'\x20]'),console['log'](_0x1a3f42(0x1fd)+_0x38342d),console[_0x1a3f42(0x197)](_0x1a3f42(0x158)),console[_0x1a3f42(0x197)](_0x1eacba);function _0x20cfa6(_0x5c77ff){const _0xd2efce=_0x1a3f42;let _0x29ebda=[];for(_0x1a40f6 of _0x5c77ff){if(_0x1a40f6[_0xd2efce(0x215)]==null)continue;_0x29ebda[_0xd2efce(0x1a3)](_0x1a40f6['id']);}return _0x29ebda;}var _0x4963fd=conf[_0x1a3f42(0x18b)];if(_0x4963fd==0x1)await _0xf78a87[_0x1a3f42(0x1df)]('available',_0x56ba16);else{if(_0x4963fd==0x2)await _0xf78a87[_0x1a3f42(0x1df)](_0x1a3f42(0x18f),_0x56ba16);else _0x4963fd==0x3?await _0xf78a87[_0x1a3f42(0x1df)]('recording',_0x56ba16):await _0xf78a87[_0x1a3f42(0x1df)](_0x1a3f42(0x146),_0x56ba16);}const _0x514529=_0x3c4e15?await _0x69d221[_0x1a3f42(0x204)]:'';let _0x228f82=_0x3c4e15?_0x20cfa6(_0x514529):'';const _0x4f0765=_0x3c4e15?_0x228f82[_0x1a3f42(0x259)](_0x19b3a0):![];var _0x4575b7=_0x3c4e15?_0x228f82[_0x1a3f42(0x259)](_0x4f6687):![];const _0x4503ad=_0x1eacba?_0x1eacba['trim']()[_0x1a3f42(0x1a8)](/ +/)[_0x1a3f42(0x25b)](0x1):null,_0x362812=_0x1eacba?_0x1eacba['startsWith'](prefixe):![],_0x2c0823=_0x362812?_0x1eacba[_0x1a3f42(0x25b)](0x1)[_0x1a3f42(0x1fe)]()[_0x1a3f42(0x1a8)](/ +/)[_0x1a3f42(0x202)]()['toLowerCase']():![],_0x45b7c9=conf[_0x1a3f42(0x240)][_0x1a3f42(0x1a8)](',');function _0x45f23f(){const _0x265d63=_0x1a3f42,_0x94fd28=Math['floor'](Math[_0x265d63(0x206)]()*_0x45b7c9[_0x265d63(0x1a9)]),_0x4de2cd=_0x45b7c9[_0x94fd28];return _0x4de2cd;}var _0x4aaf08={'superUser':_0x5a78ec,'dev':_0x28f623,'verifGroupe':_0x3c4e15,'mbre':_0x514529,'membreGroupe':_0x14b190,'verifAdmin':_0x4f0765,'infosGroupe':_0x69d221,'nomGroupe':_0x3c3b49,'auteurMessage':_0x19b3a0,'nomAuteurMessage':_0x5ee29f,'idBot':_0x4f6687,'verifZokouAdmin':_0x4575b7,'prefixe':prefixe,'arg':_0x4503ad,'repondre':_0x5c197a,'mtype':_0x38342d,'groupeAdmin':_0x20cfa6,'msgRepondu':_0x1c3443,'auteurMsgRepondu':_0x5873c2,'ms':_0x4c77a4,'mybotpic':_0x45f23f};if(_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x241)]&&_0x4c77a4['message']['protocolMessage'][_0x1a3f42(0x21e)]===0x0&&conf[_0x1a3f42(0x200)][_0x1a3f42(0x1a2)]()===_0x1a3f42(0x21b)){if(_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x170)]||_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x241)][_0x1a3f42(0x1ed)][_0x1a3f42(0x170)]){console[_0x1a3f42(0x197)](_0x1a3f42(0x152));return;}console[_0x1a3f42(0x197)]('Message\x20supprimer');let _0x333ff2=_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x241)][_0x1a3f42(0x1ed)];try{let _0x5e0eb5=_0x1a3f42(0x142);const _0x4e7c03=fs['readFileSync'](_0x5e0eb5,'utf8'),_0x498f6c=JSON['parse'](_0x4e7c03);let _0x56f259=_0x498f6c['messages'][_0x333ff2[_0x1a3f42(0x168)]],_0x4c2542;for(let _0x5a20fe=0x0;_0x5a20fe<_0x56f259['length'];_0x5a20fe++){if(_0x56f259[_0x5a20fe][_0x1a3f42(0x1ed)]['id']===_0x333ff2['id']){_0x4c2542=_0x56f259[_0x5a20fe];break;}}if(_0x4c2542===null||!_0x4c2542||_0x4c2542===_0x1a3f42(0x182)){console['log'](_0x1a3f42(0x1d5));return;}await _0xf78a87[_0x1a3f42(0x253)](_0x4f6687,{'image':{'url':_0x1a3f42(0x174)},'caption':_0x1a3f42(0x217)+_0x4c2542[_0x1a3f42(0x1ed)]['participant']['split']('@')[0x0]+'','mentions':[_0x4c2542['key'][_0x1a3f42(0x1c0)]]})['then'](()=>{_0xf78a87['sendMessage'](_0x4f6687,{'forward':_0x4c2542},{'quoted':_0x4c2542});});}catch(_0x150864){console[_0x1a3f42(0x197)](_0x150864);}}_0x4c77a4[_0x1a3f42(0x1ed)]&&_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x168)]===_0x1a3f42(0x234)&&conf['AUTO_READ_STATUS']===_0x1a3f42(0x21b)&&await _0xf78a87[_0x1a3f42(0x24c)]([_0x4c77a4['key']]);if(_0x4c77a4[_0x1a3f42(0x1ed)]&&_0x4c77a4[_0x1a3f42(0x1ed)][_0x1a3f42(0x168)]==='status@broadcast'&&conf[_0x1a3f42(0x1f5)]===_0x1a3f42(0x21b)){if(_0x4c77a4[_0x1a3f42(0x1d7)]['extendedTextMessage']){var _0x36c5f4=_0x4c77a4['message'][_0x1a3f42(0x1fa)][_0x1a3f42(0x133)];await _0xf78a87[_0x1a3f42(0x253)](_0x4f6687,{'text':_0x36c5f4},{'quoted':_0x4c77a4});}else{if(_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x1ec)]){var _0x2b36fa=_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x1ec)][_0x1a3f42(0x237)],_0x4fc842=await _0xf78a87[_0x1a3f42(0x1ca)](_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x1ec)]);await _0xf78a87['sendMessage'](_0x4f6687,{'image':{'url':_0x4fc842},'caption':_0x2b36fa},{'quoted':_0x4c77a4});}else{if(_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x24d)]){var _0x2b36fa=_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x24d)][_0x1a3f42(0x237)],_0x3e4f07=await _0xf78a87[_0x1a3f42(0x1ca)](_0x4c77a4[_0x1a3f42(0x1d7)][_0x1a3f42(0x24d)]);await _0xf78a87[_0x1a3f42(0x253)](_0x4f6687,{'video':{'url':_0x3e4f07},'caption':_0x2b36fa},{'quoted':_0x4c77a4});}}}}if(!_0x28f623&&_0x56ba16==_0x1a3f42(0x223))return;if(_0x1eacba&&_0x19b3a0[_0x1a3f42(0x229)](_0x1a3f42(0x244))){const {ajouterOuMettreAJourUserData:_0x139c64}=require(_0x1a3f42(0x159));try{await _0x139c64(_0x19b3a0);}catch(_0x4fef17){console[_0x1a3f42(0x144)](_0x4fef17);}}try{if(_0x4c77a4[_0x1a3f42(0x1d7)][_0x38342d][_0x1a3f42(0x19d)][_0x1a3f42(0x15e)]&&(_0x4c77a4[_0x1a3f42(0x1d7)][_0x38342d]['contextInfo'][_0x1a3f42(0x15e)][_0x1a3f42(0x259)](_0x4f6687)||_0x4c77a4[_0x1a3f42(0x1d7)][_0x38342d][_0x1a3f42(0x19d)][_0x1a3f42(0x15e)][_0x1a3f42(0x259)](conf[_0x1a3f42(0x162)]+'@s.whatsapp.net'))){if(_0x56ba16==_0x1a3f42(0x223))return;;if(_0x5a78ec){console[_0x1a3f42(0x197)]('hummm');return;}let _0x16fd3c=require(_0x1a3f42(0x20e)),_0x2684f2=await _0x16fd3c['recupererToutesLesValeurs'](),_0x55c188=_0x2684f2[0x0];if(_0x55c188[_0x1a3f42(0x1de)]===_0x1a3f42(0x180)){console[_0x1a3f42(0x197)](_0x1a3f42(0x1d0));return;}let _0x4ff8a1;if(_0x55c188[_0x1a3f42(0x21e)][_0x1a3f42(0x1a2)]()==='image')_0x4ff8a1={'image':{'url':_0x55c188[_0x1a3f42(0x175)]},'caption':_0x55c188[_0x1a3f42(0x1d7)]};else{if(_0x55c188['type'][_0x1a3f42(0x1a2)]()===_0x1a3f42(0x1e6))_0x4ff8a1={'video':{'url':_0x55c188[_0x1a3f42(0x175)]},'caption':_0x55c188[_0x1a3f42(0x1d7)]};else{if(_0x55c188[_0x1a3f42(0x21e)]['toLocaleLowerCase']()==='sticker'){let _0x211a47=new Sticker(_0x55c188['url'],{'pack':conf[_0x1a3f42(0x160)],'type':StickerTypes[_0x1a3f42(0x1b0)],'categories':['🤩','🎉'],'id':_0x1a3f42(0x130),'quality':0x46,'background':_0x1a3f42(0x15d)});const _0x15ae5e=await _0x211a47['toBuffer']();_0x4ff8a1={'sticker':_0x15ae5e};}else _0x55c188[_0x1a3f42(0x21e)][_0x1a3f42(0x1a2)]()==='audio'&&(_0x4ff8a1={'audio':{'url':_0x55c188[_0x1a3f42(0x175)]},'mimetype':_0x1a3f42(0x1be)});}}_0xf78a87[_0x1a3f42(0x253)](_0x56ba16,_0x4ff8a1,{'quoted':_0x4c77a4});}}catch(_0x41a38a){}try{const _0x77b943=await verifierEtatJid(_0x56ba16);if(_0x1eacba[_0x1a3f42(0x259)](_0x1a3f42(0x165))&&_0x3c4e15&&_0x77b943){console[_0x1a3f42(0x197)](_0x1a3f42(0x1c4));var _0x23b27c=_0x3c4e15?_0x228f82[_0x1a3f42(0x259)](_0x4f6687):![];if(_0x5a78ec||_0x4f0765||!_0x23b27c){console[_0x1a3f42(0x197)]('je\x20fais\x20rien');return;};const _0x57d055={'remoteJid':_0x56ba16,'fromMe':![],'id':_0x4c77a4['key']['id'],'participant':_0x19b3a0};var _0x4e639a=_0x1a3f42(0x1ba);const _0x35c70c=_0x1a3f42(0x1d9);var _0x59ee8f=new Sticker(_0x35c70c,{'pack':'Zoou-Md','author':conf[_0x1a3f42(0x257)],'type':StickerTypes['FULL'],'categories':['🤩','🎉'],'id':'12345','quality':0x32,'background':_0x1a3f42(0x14d)});await _0x59ee8f[_0x1a3f42(0x1a4)](_0x1a3f42(0x1e8));var _0x360ce2=await recupererActionJid(_0x56ba16);if(_0x360ce2==='remove'){_0x4e639a+='message\x20deleted\x20\x0a\x20@'+_0x19b3a0[_0x1a3f42(0x1a8)]('@')[0x0]+'\x20removed\x20from\x20group.',await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'sticker':fs[_0x1a3f42(0x141)](_0x1a3f42(0x1e8))}),(0x0,baileys_1['delay'])(0x320),await _0xf78a87['sendMessage'](_0x56ba16,{'text':_0x4e639a,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4});try{await _0xf78a87[_0x1a3f42(0x1f4)](_0x56ba16,[_0x19b3a0],'remove');}catch(_0x1f8622){console['log'](_0x1a3f42(0x169))+_0x1f8622;}await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'delete':_0x57d055}),await fs['unlink'](_0x1a3f42(0x1e8));}else{if(_0x360ce2===_0x1a3f42(0x178))_0x4e639a+=_0x1a3f42(0x1a5)+_0x19b3a0[_0x1a3f42(0x1a8)]('@')[0x0]+_0x1a3f42(0x179),await _0xf78a87['sendMessage'](_0x56ba16,{'text':_0x4e639a,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4}),await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'delete':_0x57d055}),await fs[_0x1a3f42(0x242)](_0x1a3f42(0x1e8));else{if(_0x360ce2===_0x1a3f42(0x25a)){const {getWarnCountByJID:_0x929622,ajouterUtilisateurAvecWarnCount:_0x10aad9}=require('./bdd/warn');let _0x3c1839=await _0x929622(_0x19b3a0),_0x4ee8dc=conf[_0x1a3f42(0x131)];if(_0x3c1839>=_0x4ee8dc){var _0x3dce1e=_0x1a3f42(0x13a);await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'text':_0x3dce1e,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4}),await _0xf78a87[_0x1a3f42(0x1f4)](_0x56ba16,[_0x19b3a0],_0x1a3f42(0x1e5)),await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'delete':_0x57d055});}else{var _0x5dfdea=_0x4ee8dc-_0x3c1839,_0x28f434='Link\x20detected\x20,\x20your\x20warn_count\x20was\x20upgrade\x20;\x0a\x20rest\x20:\x20'+_0x5dfdea+'\x20';await _0x10aad9(_0x19b3a0),await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'text':_0x28f434,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4}),await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'delete':_0x57d055});}}}}}}catch(_0x250d7f){console['log'](_0x1a3f42(0x213)+_0x250d7f);}try{const _0x2b5683=_0x4c77a4[_0x1a3f42(0x1ed)]?.['id']?.[_0x1a3f42(0x136)]('BAES')&&_0x4c77a4[_0x1a3f42(0x1ed)]?.['id']?.[_0x1a3f42(0x1a9)]===0x10,_0x301449=_0x4c77a4[_0x1a3f42(0x1ed)]?.['id']?.[_0x1a3f42(0x136)](_0x1a3f42(0x235))&&_0x4c77a4[_0x1a3f42(0x1ed)]?.['id']?.['length']===0x10;if(_0x2b5683||_0x301449){if(_0x38342d==='reactionMessage'){console[_0x1a3f42(0x197)](_0x1a3f42(0x19e));return;};const _0x3dc4cd=await atbverifierEtatJid(_0x56ba16);if(!_0x3dc4cd)return;;if(_0x4f0765||_0x19b3a0===_0x4f6687){console[_0x1a3f42(0x197)](_0x1a3f42(0x18e));return;};const _0x263ebd={'remoteJid':_0x56ba16,'fromMe':![],'id':_0x4c77a4[_0x1a3f42(0x1ed)]['id'],'participant':_0x19b3a0};var _0x4e639a=_0x1a3f42(0x1b4);const _0x6d7395=_0x1a3f42(0x1d9);var _0x59ee8f=new Sticker(_0x6d7395,{'pack':_0x1a3f42(0x1f8),'author':conf[_0x1a3f42(0x257)],'type':StickerTypes[_0x1a3f42(0x1b0)],'categories':['🤩','🎉'],'id':'12345','quality':0x32,'background':_0x1a3f42(0x14d)});await _0x59ee8f['toFile'](_0x1a3f42(0x1e8));var _0x360ce2=await atbrecupererActionJid(_0x56ba16);if(_0x360ce2===_0x1a3f42(0x1e5)){_0x4e639a+=_0x1a3f42(0x1a5)+_0x19b3a0[_0x1a3f42(0x1a8)]('@')[0x0]+'\x20removed\x20from\x20group.',await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'sticker':fs[_0x1a3f42(0x141)](_0x1a3f42(0x1e8))}),(0x0,baileys_1[_0x1a3f42(0x247)])(0x320),await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'text':_0x4e639a,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4});try{await _0xf78a87[_0x1a3f42(0x1f4)](_0x56ba16,[_0x19b3a0],'remove');}catch(_0x3acf25){console[_0x1a3f42(0x197)]('antibot\x20')+_0x3acf25;}await _0xf78a87['sendMessage'](_0x56ba16,{'delete':_0x263ebd}),await fs[_0x1a3f42(0x242)]('st1.webp');}else{if(_0x360ce2===_0x1a3f42(0x178))_0x4e639a+=_0x1a3f42(0x1c6)+_0x19b3a0[_0x1a3f42(0x1a8)]('@')[0x0]+'\x20Avoid\x20sending\x20link.',await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'text':_0x4e639a,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4}),await _0xf78a87['sendMessage'](_0x56ba16,{'delete':_0x263ebd}),await fs[_0x1a3f42(0x242)](_0x1a3f42(0x1e8));else{if(_0x360ce2===_0x1a3f42(0x25a)){const {getWarnCountByJID:_0x5ae1fd,ajouterUtilisateurAvecWarnCount:_0x3a3227}=require(_0x1a3f42(0x1b6));let _0x19cb19=await _0x5ae1fd(_0x19b3a0),_0x347a13=conf[_0x1a3f42(0x131)];if(_0x19cb19>=_0x347a13){var _0x3dce1e=_0x1a3f42(0x22f);await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'text':_0x3dce1e,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4}),await _0xf78a87[_0x1a3f42(0x1f4)](_0x56ba16,[_0x19b3a0],_0x1a3f42(0x1e5)),await _0xf78a87[_0x1a3f42(0x253)](_0x56ba16,{'delete':_0x263ebd});}else{var _0x5dfdea=_0x347a13-_0x19cb19,_0x28f434=_0x1a3f42(0x17f)+_0x5dfdea+'\x20';await _0x3a3227(_0x19b3a0),await _0xf78a87['sendMessage'](_0x56ba16,{'text':_0x28f434,'mentions':[_0x19b3a0]},{'quoted':_0x4c77a4}),await _0xf78a87['sendMessage'](_0x56ba16,{'delete':_0x263ebd});}}}}}}catch(_0x4e1246){console[_0x1a3f42(0x197)](_0x1a3f42(0x232)+_0x4e1246);}if(_0x362812){const _0x51c016=evt['cm'][_0x1a3f42(0x14e)](_0x5dce6c=>_0x5dce6c[_0x1a3f42(0x1d1)]===_0x2c0823);if(_0x51c016)try{if(conf[_0x1a3f42(0x1e7)]['toLocaleLowerCase']()!='yes'&&!_0x5a78ec)return;if(!_0x5a78ec&&_0x56ba16===_0x19b3a0&&conf[_0x1a3f42(0x19f)]==='yes'){_0x5c197a(_0x1a3f42(0x201));return;}if(!_0x5a78ec&&_0x3c4e15){let _0x513f7a=await isGroupBanned(_0x56ba16);if(_0x513f7a)return;}if(!_0x4f0765&&_0x3c4e15){let _0x8faddc=await isGroupOnlyAdmin(_0x56ba16);if(_0x8faddc)return;}if(!_0x5a78ec){let _0x415719=await isUserBanned(_0x19b3a0);if(_0x415719){_0x5c197a('You\x20are\x20banned\x20from\x20bot\x20commands');return;}}reagir(_0x56ba16,_0xf78a87,_0x4c77a4,_0x51c016[_0x1a3f42(0x25d)]),_0x51c016[_0x1a3f42(0x214)](_0x56ba16,_0xf78a87,_0x4aaf08);}catch(_0x4da9ad){console[_0x1a3f42(0x197)](_0x1a3f42(0x231)+_0x4da9ad),_0xf78a87['sendMessage'](_0x56ba16,{'text':_0x1a3f42(0x231)+_0x4da9ad},{'quoted':_0x4c77a4});}}});const {recupevents:_0x3917c8}=require(_0x4d2b88(0x19b));_0xf78a87['ev']['on'](_0x4d2b88(0x1ef),async _0x2d4ff0=>{const _0x599023=_0x4d2b88;console['log'](_0x2d4ff0);let _0x1f7dd8;try{_0x1f7dd8=await _0xf78a87[_0x599023(0x13d)](_0x2d4ff0['id'],_0x599023(0x17d));}catch{_0x1f7dd8='';}try{const _0x442c6f=await _0xf78a87[_0x599023(0x1c7)](_0x2d4ff0['id']);if(_0x2d4ff0[_0x599023(0x199)]==_0x599023(0x203)&&await _0x3917c8(_0x2d4ff0['id'],'welcome')=='on'){let _0x4cf3d4=_0x599023(0x1b7),_0x80123d=_0x2d4ff0[_0x599023(0x204)];for(let _0x466772 of _0x80123d){_0x4cf3d4+='\x20\x0a❒\x20*Hey*\x20🖐️\x20@'+_0x466772[_0x599023(0x1a8)]('@')[0x0]+_0x599023(0x184);}_0x4cf3d4+=_0x599023(0x149),_0xf78a87['sendMessage'](_0x2d4ff0['id'],{'image':{'url':_0x1f7dd8},'caption':_0x4cf3d4,'mentions':_0x80123d});}else{if(_0x2d4ff0[_0x599023(0x199)]==_0x599023(0x1e5)&&await _0x3917c8(_0x2d4ff0['id'],_0x599023(0x20d))=='on'){let _0x450444=_0x599023(0x1a7),_0x1a2615=_0x2d4ff0[_0x599023(0x204)];for(let _0x18ab7f of _0x1a2615){_0x450444+='@'+_0x18ab7f[_0x599023(0x1a8)]('@')[0x0]+'\x0a';}_0xf78a87[_0x599023(0x253)](_0x2d4ff0['id'],{'text':_0x450444,'mentions':_0x1a2615});}else{if(_0x2d4ff0[_0x599023(0x199)]==_0x599023(0x226)&&await _0x3917c8(_0x2d4ff0['id'],_0x599023(0x250))=='on'){if(_0x2d4ff0[_0x599023(0x153)]==_0x442c6f[_0x599023(0x220)]||_0x2d4ff0['author']==conf['NUMERO_OWNER']+_0x599023(0x23f)||_0x2d4ff0['author']==decodeJid(_0xf78a87[_0x599023(0x22b)]['id'])||_0x2d4ff0['author']==_0x2d4ff0['participants'][0x0]){console['log']('Cas\x20de\x20superUser\x20je\x20fais\x20rien');return;};await _0xf78a87[_0x599023(0x1f4)](_0x2d4ff0['id'],[_0x2d4ff0[_0x599023(0x153)],_0x2d4ff0['participants'][0x0]],_0x599023(0x225)),_0xf78a87[_0x599023(0x253)](_0x2d4ff0['id'],{'text':'@'+_0x2d4ff0[_0x599023(0x153)][_0x599023(0x1a8)]('@')[0x0]+'\x20has\x20violated\x20the\x20anti-promotion\x20rule,\x20therefore\x20both\x20'+_0x2d4ff0[_0x599023(0x153)][_0x599023(0x1a8)]('@')[0x0]+_0x599023(0x186)+_0x2d4ff0[_0x599023(0x204)][0x0][_0x599023(0x1a8)]('@')[0x0]+_0x599023(0x239),'mentions':[_0x2d4ff0[_0x599023(0x153)],_0x2d4ff0['participants'][0x0]]});}else{if(_0x2d4ff0['action']==_0x599023(0x225)&&await _0x3917c8(_0x2d4ff0['id'],_0x599023(0x1f9))=='on'){if(_0x2d4ff0[_0x599023(0x153)]==_0x442c6f[_0x599023(0x220)]||_0x2d4ff0[_0x599023(0x153)]==conf[_0x599023(0x162)]+'@s.whatsapp.net'||_0x2d4ff0[_0x599023(0x153)]==decodeJid(_0xf78a87[_0x599023(0x22b)]['id'])||_0x2d4ff0['author']==_0x2d4ff0[_0x599023(0x204)][0x0]){console['log'](_0x599023(0x156));return;};await _0xf78a87['groupParticipantsUpdate'](_0x2d4ff0['id'],[_0x2d4ff0[_0x599023(0x153)]],_0x599023(0x225)),await _0xf78a87[_0x599023(0x1f4)](_0x2d4ff0['id'],[_0x2d4ff0['participants'][0x0]],'promote'),_0xf78a87[_0x599023(0x253)](_0x2d4ff0['id'],{'text':'@'+_0x2d4ff0[_0x599023(0x153)][_0x599023(0x1a8)]('@')[0x0]+_0x599023(0x151)+_0x2d4ff0[_0x599023(0x204)][0x0][_0x599023(0x1a8)]('@')[0x0]+_0x599023(0x211),'mentions':[_0x2d4ff0['author'],_0x2d4ff0[_0x599023(0x204)][0x0]]});}}}}}catch(_0x47770e){console[_0x599023(0x144)](_0x47770e);}});async function _0x4eb9f4(){const _0x10a89a=_0x4d2b88,_0x3457b1=require(_0x10a89a(0x24e)),{getCron:_0x54a16a}=require(_0x10a89a(0x1a6));let _0x561332=await _0x54a16a();console[_0x10a89a(0x197)](_0x561332);if(_0x561332[_0x10a89a(0x1a9)]>0x0)for(let _0x3c4a60=0x0;_0x3c4a60<_0x561332[_0x10a89a(0x1a9)];_0x3c4a60++){if(_0x561332[_0x3c4a60][_0x10a89a(0x196)]!=null){let _0x244c17=_0x561332[_0x3c4a60]['mute_at']['split'](':');console[_0x10a89a(0x197)](_0x10a89a(0x17e)+_0x561332[_0x3c4a60]['group_id']+_0x10a89a(0x16c)+_0x244c17[0x0]+_0x10a89a(0x14c)+_0x244c17[0x1]),_0x3457b1['schedule'](_0x244c17[0x1]+'\x20'+_0x244c17[0x0]+'\x20*\x20*\x20*',async()=>{const _0x8fb12e=_0x10a89a;await _0xf78a87[_0x8fb12e(0x1e2)](_0x561332[_0x3c4a60][_0x8fb12e(0x20c)],_0x8fb12e(0x256)),_0xf78a87['sendMessage'](_0x561332[_0x3c4a60][_0x8fb12e(0x20c)],{'image':{'url':_0x8fb12e(0x1f7)},'caption':_0x8fb12e(0x1fc)});},{'timezone':'Africa/Nairobi'});}if(_0x561332[_0x3c4a60][_0x10a89a(0x148)]!=null){let _0x1eb276=_0x561332[_0x3c4a60][_0x10a89a(0x148)][_0x10a89a(0x1a8)](':');console[_0x10a89a(0x197)]('etablissement\x20d\x27un\x20autounmute\x20pour\x20'+_0x1eb276[0x0]+'\x20H\x20'+_0x1eb276[0x1]+'\x20'),_0x3457b1[_0x10a89a(0x150)](_0x1eb276[0x1]+'\x20'+_0x1eb276[0x0]+_0x10a89a(0x228),async()=>{const _0x42bfd8=_0x10a89a;await _0xf78a87['groupSettingUpdate'](_0x561332[_0x3c4a60][_0x42bfd8(0x20c)],'not_announcement'),_0xf78a87['sendMessage'](_0x561332[_0x3c4a60][_0x42bfd8(0x20c)],{'image':{'url':_0x42bfd8(0x1f7)},'caption':_0x42bfd8(0x1e9)});},{'timezone':_0x10a89a(0x143)});}}else console[_0x10a89a(0x197)]('Les\x20crons\x20n\x27ont\x20pas\x20été\x20activés');return;}return _0xf78a87['ev']['on']('contacts.upsert',async _0x4da5ba=>{const _0x56ea0e=_0x4ecac0=>{const _0x10722f=_0x39eb;for(const _0x96d882 of _0x4ecac0){store[_0x10722f(0x218)][_0x96d882['id']]?Object[_0x10722f(0x1da)](store[_0x10722f(0x218)][_0x96d882['id']],_0x96d882):store[_0x10722f(0x218)][_0x96d882['id']]=_0x96d882;}return;};_0x56ea0e(_0x4da5ba);}),_0xf78a87['ev']['on']('connection.update',async _0x27d47d=>{const _0x269cd1=_0x4d2b88,{lastDisconnect:_0x13d461,connection:_0x34734f}=_0x27d47d;if(_0x34734f===_0x269cd1(0x171))console[_0x269cd1(0x197)]('ℹ️\x20Yesser\x20is\x20connecting...');else{if(_0x34734f===_0x269cd1(0x15a)){console['log'](_0x269cd1(0x243)),console['log']('--'),await(0x0,baileys_1[_0x269cd1(0x247)])(0xc8),console[_0x269cd1(0x197)](_0x269cd1(0x1c3)),await(0x0,baileys_1['delay'])(0x12c),console[_0x269cd1(0x197)](_0x269cd1(0x20b)),console[_0x269cd1(0x197)](_0x269cd1(0x139)),console['log'](_0x269cd1(0x157)),fs['readdirSync'](__dirname+_0x269cd1(0x224))[_0x269cd1(0x1c9)](_0x38cb02=>{const _0x42b28f=_0x269cd1;if(path['extname'](_0x38cb02)[_0x42b28f(0x14a)]()=='.js'){try{require(__dirname+_0x42b28f(0x1b3)+_0x38cb02),console['log'](_0x38cb02+_0x42b28f(0x181));}catch(_0x44f1d2){console[_0x42b28f(0x197)](_0x38cb02+_0x42b28f(0x1c5)+_0x44f1d2);}(0x0,baileys_1[_0x42b28f(0x247)])(0x12c);}}),(0x0,baileys_1['delay'])(0x2bc);var _0x1793b6;if(conf[_0x269cd1(0x1e7)][_0x269cd1(0x1a2)]()===_0x269cd1(0x21b))_0x1793b6=_0x269cd1(0x21f);else conf[_0x269cd1(0x1e7)][_0x269cd1(0x1a2)]()==='no'?_0x1793b6=_0x269cd1(0x24a):_0x1793b6=_0x269cd1(0x182);console[_0x269cd1(0x197)](_0x269cd1(0x1db)),await _0x4eb9f4();if(conf['DP']['toLowerCase']()==='yes'){let _0xac2a75='\x20\x0a╭─────────────━┈⊷\x20\x0a│🌏\x20*ᴀɪ\x20ɪs\x20ᴄᴏɴɴᴇᴄᴛᴇᴅ*\x0a╰─────────────━┈⊷\x0a│💫\x20ᴘʀᴇғɪx:\x20*[\x20'+prefixe+_0x269cd1(0x154)+_0x1793b6+'*\x0a╰─────────────━┈⊷\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20';await _0xf78a87['sendMessage'](_0xf78a87['user']['id'],{'text':_0xac2a75});}}else{if(_0x34734f==_0x269cd1(0x1ff)){let _0x5377aa=new boom_1['Boom'](_0x13d461?.[_0x269cd1(0x144)])?.[_0x269cd1(0x137)][_0x269cd1(0x1ee)];if(_0x5377aa===baileys_1[_0x269cd1(0x1b1)][_0x269cd1(0x147)])console['log'](_0x269cd1(0x258));else{if(_0x5377aa===baileys_1[_0x269cd1(0x1b1)]['connectionClosed'])console[_0x269cd1(0x197)](_0x269cd1(0x135)),_0x4b6795();else{if(_0x5377aa===baileys_1[_0x269cd1(0x1b1)][_0x269cd1(0x18d)])console[_0x269cd1(0x197)](_0x269cd1(0x132)),_0x4b6795();else{if(_0x5377aa===baileys_1[_0x269cd1(0x1b1)]?.[_0x269cd1(0x1f0)])console[_0x269cd1(0x197)](_0x269cd1(0x1a1));else{if(_0x5377aa===baileys_1[_0x269cd1(0x1b1)][_0x269cd1(0x1c8)])console[_0x269cd1(0x197)](_0x269cd1(0x1bb));else{if(_0x5377aa===baileys_1['DisconnectReason'][_0x269cd1(0x1aa)])console[_0x269cd1(0x197)](_0x269cd1(0x193)),_0x4b6795();else{console[_0x269cd1(0x197)](_0x269cd1(0x12b),_0x5377aa);const {exec:_0x188683}=require(_0x269cd1(0x1e1));_0x188683('pm2\x20restart\x20all');}}}}}}console[_0x269cd1(0x197)](_0x269cd1(0x23a)+_0x34734f),_0x4b6795();}}}}),_0xf78a87['ev']['on'](_0x4d2b88(0x208),_0x5171fb),_0xf78a87[_0x4d2b88(0x1ca)]=async(_0x306150,_0x98a048='',_0x4765b9=!![])=>{const _0x15a6a3=_0x4d2b88;let _0xad6cf=_0x306150[_0x15a6a3(0x167)]?_0x306150['msg']:_0x306150,_0xcde04d=(_0x306150['msg']||_0x306150)[_0x15a6a3(0x1f1)]||'',_0x4e1b46=_0x306150[_0x15a6a3(0x1c1)]?_0x306150[_0x15a6a3(0x1c1)]['replace'](/Message/gi,''):_0xcde04d[_0x15a6a3(0x1a8)]('/')[0x0];const _0x513757=await(0x0,baileys_1[_0x15a6a3(0x23e)])(_0xad6cf,_0x4e1b46);let _0x5af7e5=Buffer['from']([]);for await(const _0x2851db of _0x513757){_0x5af7e5=Buffer['concat']([_0x5af7e5,_0x2851db]);}let _0x36e709=await FileType[_0x15a6a3(0x1e0)](_0x5af7e5),_0x557b00='./'+_0x98a048+'.'+_0x36e709['ext'];return await fs[_0x15a6a3(0x12f)](_0x557b00,_0x5af7e5),_0x557b00;},_0xf78a87[_0x4d2b88(0x1b8)]=async(_0x3e7712={})=>{return new Promise((_0x3c8632,_0x549ecd)=>{const _0x13bb42=_0x39eb;if(typeof _0x3e7712!==_0x13bb42(0x25c))_0x549ecd(new Error(_0x13bb42(0x19c)));if(typeof _0x3e7712['sender']!==_0x13bb42(0x207))_0x549ecd(new Error(_0x13bb42(0x23d)));if(typeof _0x3e7712[_0x13bb42(0x172)]!=='string')_0x549ecd(new Error(_0x13bb42(0x18c)));if(_0x3e7712[_0x13bb42(0x254)]&&typeof _0x3e7712['timeout']!==_0x13bb42(0x1dc))_0x549ecd(new Error('Timeout\x20must\x20be\x20a\x20number'));if(_0x3e7712['filter']&&typeof _0x3e7712['filter']!==_0x13bb42(0x14b))_0x549ecd(new Error(_0x13bb42(0x192)));const _0x39bb52=_0x3e7712?.['timeout']||undefined,_0x1bd0f3=_0x3e7712?.[_0x13bb42(0x1c2)]||(()=>!![]);let _0x3f7ab5=undefined,_0x245871=_0xa71890=>{const _0x182438=_0x13bb42;let {type:_0x55f553,messages:_0x2ddd1d}=_0xa71890;if(_0x55f553==_0x182438(0x23c))for(let _0x4e8040 of _0x2ddd1d){const _0x5568a9=_0x4e8040['key'][_0x182438(0x170)],_0x170153=_0x4e8040[_0x182438(0x1ed)][_0x182438(0x168)],_0x51296e=_0x170153['endsWith'](_0x182438(0x15f)),_0x27e770=_0x170153==_0x182438(0x234),_0x4ba8a1=_0x5568a9?_0xf78a87[_0x182438(0x22b)]['id']['replace'](/:.*@/g,'@'):_0x51296e||_0x27e770?_0x4e8040[_0x182438(0x1ed)][_0x182438(0x1c0)][_0x182438(0x233)](/:.*@/g,'@'):_0x170153;_0x4ba8a1==_0x3e7712[_0x182438(0x245)]&&_0x170153==_0x3e7712[_0x182438(0x172)]&&_0x1bd0f3(_0x4e8040)&&(_0xf78a87['ev'][_0x182438(0x22a)](_0x182438(0x189),_0x245871),clearTimeout(_0x3f7ab5),_0x3c8632(_0x4e8040));}};_0xf78a87['ev']['on']('messages.upsert',_0x245871),_0x39bb52&&(_0x3f7ab5=setTimeout(()=>{const _0x42d21c=_0x13bb42;_0xf78a87['ev'][_0x42d21c(0x22a)]('messages.upsert',_0x245871),_0x549ecd(new Error(_0x42d21c(0x19a)));},_0x39bb52));});},_0xf78a87;}let _0x5ead48=require[_0x458339(0x191)](__filename);fs[_0x458339(0x24f)](_0x5ead48,()=>{const _0x6794e3=_0x458339;fs[_0x6794e3(0x16d)](_0x5ead48),console[_0x6794e3(0x197)](_0x6794e3(0x15c)+__filename),delete require[_0x6794e3(0x1d8)][_0x5ead48],require(_0x5ead48);}),_0x4b6795();},0x1388);