forked from ibrahimaitech/BMW-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ibrahim.js
337 lines (11 loc) · 39 KB
/
ibrahim.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
/**
___ __ __ __ __ __ __ ___
| _ )| \/ |\ \ / / | \/ || \
| _ \| |\/| | \ \/\/ / | |\/| || |) |
|___/|_| |_| \_/\_/ |_| |_||___/
Made by Ibrahim Adams
Nothing here
Blank space
**/
'use strict';
const _0x59cf3e=_0x36c1;(function(_0x5df20b,_0x7fcbba){const _0x1c5ee2=_0x36c1,_0x51cefe=_0x5df20b();while(!![]){try{const _0x3c74d3=-parseInt(_0x1c5ee2(0x2a1))/0x1*(parseInt(_0x1c5ee2(0x1ab))/0x2)+parseInt(_0x1c5ee2(0x1a8))/0x3*(-parseInt(_0x1c5ee2(0x1e4))/0x4)+-parseInt(_0x1c5ee2(0x27a))/0x5+-parseInt(_0x1c5ee2(0x29e))/0x6+-parseInt(_0x1c5ee2(0x2b5))/0x7*(parseInt(_0x1c5ee2(0x2b9))/0x8)+-parseInt(_0x1c5ee2(0x1ad))/0x9+-parseInt(_0x1c5ee2(0x24e))/0xa*(-parseInt(_0x1c5ee2(0x1c5))/0xb);if(_0x3c74d3===_0x7fcbba)break;else _0x51cefe['push'](_0x51cefe['shift']());}catch(_0x54d392){_0x51cefe['push'](_0x51cefe['shift']());}}}(_0x93b7,0x5a6bc));function _0x93b7(){const _0x286dd2=['\x20has\x20violated\x20the\x20anti-promotion\x20rule,\x20therefore\x20both\x20','Les\x20crons\x20n\x27ont\x20pas\x20été\x20activés','public','.\x20Consequently,\x20he\x20has\x20been\x20stripped\x20of\x20administrative\x20rights.','./media/deleted-message.jpg','bdd\x20err\x20','connectionLost','connexion\x20en\x20cour\x20...','923184474176','You\x20are\x20banned\x20from\x20bot\x20commands','lien\x20detecté','announcement','getOwnPropertyDescriptor','schedule','server','chatJid','child','WARN_COUNT','string','sendPresenceUpdate','bot\x20detected\x20,\x20your\x20warn_count\x20was\x20upgrade\x20;\x0a\x20rest\x20:\x20','awaitForMessage','mtype','antiien\x20','@whiskeysockets/baileys/lib/Utils/logger','10MrDhqc','file-type','zokk','message\x20type\x20:\x20','axios','useMultiFileAuthState','child_process','\x0a*『𝗕𝗠𝗪-𝗫𝗠𝗗\x20𝗜𝗦\x20𝗢𝗡𝗟𝗜𝗡𝗘』*\x0a\x0a\x20\x20\x20\x20\x20\x0a║❒Creator:\x20*Ibrahim\x20Adams*\x0a║❒Prefix\x20:\x20[\x20','\x0a║❒Created\x20on\x20:\x20*22.2.2024*\x0a║❒Total\x20Commands\x20:\x20','split','Bmw-Md','sendMessage','sender','parse','downloadContentFromMessage','message\x20sent\x20By\x20:\x20','toLocaleLowerCase','URL','pm2\x20restart\x20all','__esModule','Goodbye\x20to\x20that\x20Fallen\x20soldier,\x20Powered\x20by\x20*BMW-MD*;\x0a','startsWith','downloadAndSaveMediaMessage','./bdd/antibot','groupParticipantsUpdate','le\x20bot\x20est\x20en\x20ligne\x20🕸\x0a\x0a','#000000','contextInfo','participant','12345','timeout','loadMessage','random','undefined','./bdd/banGroup','safari','welcome','creds','BAES','fetchLatestBaileysVersion','promote','key','OWNER_NAME','imageMessage','3086350BtDAgh','participants','assign','!!!\x20connexion\x20fermée,\x20reconnexion\x20en\x20cours\x20...','image','https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif','object','writable','selectedButtonId','/framework/france','\x20Avoid\x20sending\x20link.','unwatchFile','redémarrage\x20en\x20cours\x20▶️','Africa/Nairobi','videoMessage','messages','unavailable','groupSettingUpdate','recording','ETAT','./bdd/warn','\x20n\x27a\x20pas\x20pu\x20être\x20chargé\x20pour\x20les\x20raisons\x20suivantes\x20:\x20','./bdd/cron','redemarrage\x20sur\x20le\x20coup\x20de\x20l\x27erreur\x20\x20','connectionClosed','endsWith','/framework/app','@hapi/boom','push','yes','....\x20','keys','level','owner','\x20removed\x20from\x20group.','forEach','779814XndRBr','__setModuleDefault','utf8','7YnYvto','je\x20fais\x20rien','ext','\x20:\x20','✅\x20connexion\x20reussie!\x20☺️','An\x20Error\x20Occurred,\x20Repeat\x20Command!','delete','type','function','Session\x20id\x20érronée\x20veuillez\x20rescanner\x20le\x20qr\x20svp\x20...','error','connecting','fonction','floor','creds.update','------------------/-----','mimetype','resolve','fs-extra','/commandes','53683scBZQK','mute_at','connexion\x20au\x20serveur\x20perdue\x20😞\x20,,,\x20reconnexion\x20en\x20cours\x20...\x20','vous\x20êtes\x20déconnecté,,,\x20veuillez\x20rescanner\x20le\x20code\x20qr\x20svp','88cJFrUT','sticker','message\x20delete\x20\x0a\x20@','makeInMemoryStore','author','unlink','DisconnectReason','toFile','configurable','add','filter','groupMetadata','hum\x20','./bdd/welcome','length','cache','1069671kFBfWJ','unmute_at','link\x20detected,\x20\x0a','161866WdHfwL','Boom','4645431FmKWqM','admin','FULL','action','@g.us','\x20*\x20*\x20*','\x20\x20\x20\x20\x20\x20\x20\x20😈Anti-delete-message😈\x0a\x20Message\x20from\x20@','demote','slice','Cas\x20de\x20superUser\x20je\x20fais\x20rien','shift','reactionMessage','replace','◇BMW-MD◇\x0a','/commandes/','number','audio/mp4','mention\x20pas\x20actifs','mentionedJid','group_id','contacts.upsert','map','fromBuffer','mise\x20à\x20jour\x20','32975426GbReih','@s.whatsapp.net','get','😡😡\x20','messages.upsert','1.0.0','connection.update','protocolMessage','remoteJid','message\x20deleted\x20\x0a\x20@','find','BAE5','quotedMessage','nomCom','/auth','extendedTextMessage','\x20has\x20violated\x20the\x20anti-demotion\x20rule\x20by\x20removing\x20@','./bdd/level','prototype','status@broadcast','254742063632','user','url','\x20]\x0a║❒Mode\x20:','AUTO_READ_STATUS','close','Message\x20supprimer\x20me\x20concernant','254750948696','st1.webp','etablissement\x20d\x27un\x20autounmute\x20pour\x20','badSession','8adsmhM','watchFile','./media/chrono.webp','delay','wa-sticker-formatter','concat','fromMe','store','status','Filter\x20must\x20be\x20a\x20function','includes','conversation','makeCacheableSignalKeyStore','PM_PERMIT','./bdd/banUser','bind','MODE','./bdd/sudo','s.whatsapp.net','remove','off','default','readFileSync','/auth/creds.json','video','extname','node-cron','NOM_OWNER','statusCode','msg','selectedRowId','caption','log','chargement\x20des\x20commandes\x20terminé\x20✅','bot\x20detected\x20;you\x20will\x20be\x20remove\x20because\x20of\x20reaching\x20warn-limit','.js','./bdd/onlyAdmin','You\x20don\x27t\x20have\x20acces\x20to\x20commands\x20here','link\x20detected\x20,\x20you\x20will\x20be\x20remove\x20because\x20of\x20reaching\x20warn-limit','[email protected]','test','__importDefault','@whiskeysockets/baileys','getContentType','Link\x20detected\x20,\x20your\x20warn_count\x20was\x20upgrade\x20;\x0a\x20rest\x20:\x20','antidemote','messageContextInfo','call','\x20installé\x20✔️','trim','toLowerCase','ADM','listResponseMessage','text','\x20H\x20','output','AUTO_DOWNLOAD_STATUS','︎\x0a\x0a\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x0a\x20\x0a║❒\x20_*Go\x20To\x20\Youtube\x20For\x20Tutorials*_\x0ahttps://www.youtube.com/@ibrahimaitech\x0a\x0a║❒\x20*Join\x20Our\x20WhatsApp\x20Channel*\x0ahttps://whatsapp.com/channel/0029VaZuGSxEawdxZK9CzM0Y\x0a\x0a║❒\x20*Follow\x20The\x20Developer*\x20🧒\x20\x0ahttps://www.instagram.com/ibrahim_tech_official\x20\x0a\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20*𝗕𝗠𝗪-𝐗𝐌𝐃*','existsSync','Message\x20non\x20trouver','Je\x20ne\x20reagis\x20pas\x20au\x20reactions','message','singleSelectReply','notify','Hello\x20@','connexion\x20réplacée\x20,,,\x20une\x20sesssion\x20est\x20déjà\x20ouverte\x20veuillez\x20la\x20fermer\x20svp\x20!!!','Options\x20must\x20be\x20an\x20object','\x20have\x20been\x20removed\x20from\x20administrative\x20rights.','buttonsResponseMessage','\x09\x20[][]...{BMW-MD}...[][]','PREFIXE','\x20a\x20','writeFileSync','hummm','contacts','recupererToutesLesValeurs','defineProperty','\x20and\x20@','hasOwnProperty','254710772666','NUMERO_OWNER'];_0x93b7=function(){return _0x286dd2;};return _0x93b7();}var __createBinding=this&&this['__createBinding']||(Object['create']?function(_0xd2f61d,_0x180870,_0xd93999,_0x226274){const _0x440784=_0x36c1;if(_0x226274===undefined)_0x226274=_0xd93999;var _0x33ba2f=Object[_0x440784(0x241)](_0x180870,_0xd93999);(!_0x33ba2f||(_0x440784(0x1c7)in _0x33ba2f?!_0x180870[_0x440784(0x261)]:_0x33ba2f[_0x440784(0x281)]||_0x33ba2f[_0x440784(0x1a0)]))&&(_0x33ba2f={'enumerable':!![],'get':function(){return _0x180870[_0xd93999];}}),Object[_0x440784(0x230)](_0xd2f61d,_0x226274,_0x33ba2f);}:function(_0x45df29,_0x285394,_0x26599a,_0x5c16b0){if(_0x5c16b0===undefined)_0x5c16b0=_0x26599a;_0x45df29[_0x5c16b0]=_0x285394[_0x26599a];}),__setModuleDefault=this&&this[_0x59cf3e(0x29f)]||(Object['create']?function(_0x1f1102,_0x53353e){const _0x2bd52f=_0x59cf3e;Object[_0x2bd52f(0x230)](_0x1f1102,_0x2bd52f(0x1f9),{'enumerable':!![],'value':_0x53353e});}:function(_0x687d7e,_0x52b5fa){const _0x578a19=_0x59cf3e;_0x687d7e[_0x578a19(0x1f9)]=_0x52b5fa;}),__importStar=this&&this['__importStar']||function(_0xe51ef7){const _0x4e199c=_0x59cf3e;if(_0xe51ef7&&_0xe51ef7['__esModule'])return _0xe51ef7;var _0x24a829={};if(_0xe51ef7!=null){for(var _0x486d8a in _0xe51ef7)if(_0x486d8a!==_0x4e199c(0x1f9)&&Object[_0x4e199c(0x1d7)][_0x4e199c(0x232)][_0x4e199c(0x213)](_0xe51ef7,_0x486d8a))__createBinding(_0x24a829,_0xe51ef7,_0x486d8a);}return __setModuleDefault(_0x24a829,_0xe51ef7),_0x24a829;},__importDefault=this&&this[_0x59cf3e(0x20d)]||function(_0x3454ed){const _0x2c4e31=_0x59cf3e;return _0x3454ed&&_0x3454ed[_0x2c4e31(0x261)]?_0x3454ed:{'default':_0x3454ed};};Object['defineProperty'](exports,_0x59cf3e(0x261),{'value':!![]});const baileys_1=__importStar(require(_0x59cf3e(0x20e))),logger_1=__importDefault(require(_0x59cf3e(0x24d))),logger=logger_1['default'][_0x59cf3e(0x245)]({});logger[_0x59cf3e(0x29a)]='silent';const pino=require('pino'),boom_1=require(_0x59cf3e(0x295)),conf=require('./set'),axios=require(_0x59cf3e(0x252));let fs=require(_0x59cf3e(0x2b3)),path=require('path');const FileType=require(_0x59cf3e(0x24f)),{Sticker,createSticker,StickerTypes}=require(_0x59cf3e(0x1e8)),{verifierEtatJid,recupererActionJid}=require('./bdd/antilien'),{atbverifierEtatJid,atbrecupererActionJid}=require(_0x59cf3e(0x265));let evt=require(__dirname+_0x59cf3e(0x283));const {isUserBanned,addUserToBanList,removeUserFromBanList}=require(_0x59cf3e(0x1f2)),{addGroupToBanList,isGroupBanned,removeGroupFromBanList}=require(_0x59cf3e(0x270)),{isGroupOnlyAdmin,addGroupToOnlyAdminList,removeGroupFromOnlyAdminList}=require(_0x59cf3e(0x208));let {reagir}=require(__dirname+_0x59cf3e(0x294));function _0x36c1(_0x85e286,_0x5a71f5){const _0x93b717=_0x93b7();return _0x36c1=function(_0x36c1fd,_0x2a46b7){_0x36c1fd=_0x36c1fd-0x19f;let _0x1bb479=_0x93b717[_0x36c1fd];return _0x1bb479;},_0x36c1(_0x85e286,_0x5a71f5);}var session=conf['session'][_0x59cf3e(0x1b9)](/Bmw-MD-WHATSAPP-BOT;;;=>/g,'');const prefixe=conf[_0x59cf3e(0x22a)];async function authentification(){const _0x23759c=_0x59cf3e;try{if(!fs[_0x23759c(0x21e)](__dirname+_0x23759c(0x1fb)))console['log'](_0x23759c(0x23c)),await fs[_0x23759c(0x22c)](__dirname+'/auth/creds.json',atob(session),_0x23759c(0x2a0));else fs[_0x23759c(0x21e)](__dirname+_0x23759c(0x1fb))&&session!=_0x23759c(0x250)&&await fs[_0x23759c(0x22c)](__dirname+_0x23759c(0x1fb),atob(session),'utf8');}catch(_0x15a64f){console[_0x23759c(0x204)]('Session\x20Invalide\x20'+_0x15a64f);return;}}authentification();const store=(0x0,baileys_1[_0x59cf3e(0x2bc)])({'logger':pino()['child']({'level':'silent','stream':_0x59cf3e(0x1eb)})});setTimeout(()=>{const _0x21cd54=_0x59cf3e;async function _0x3a3346(){const _0x16d249=_0x36c1,{version:_0x1f8739,isLatest:_0x21b33d}=await(0x0,baileys_1[_0x16d249(0x275)])(),{state:_0x3bfa2e,saveCreds:_0x570865}=await(0x0,baileys_1[_0x16d249(0x253)])(__dirname+_0x16d249(0x1d3)),_0x3b72cc={'version':_0x1f8739,'logger':pino({'level':'silent'}),'browser':[_0x16d249(0x258),_0x16d249(0x271),_0x16d249(0x1ca)],'printQRInTerminal':!![],'fireInitQueries':![],'shouldSyncHistoryMessage':!![],'downloadHistory':!![],'syncFullHistory':!![],'generateHighQualityLinkPreview':!![],'markOnlineOnConnect':![],'keepAliveIntervalMs':0x7530,'auth':{'creds':_0x3bfa2e[_0x16d249(0x273)],'keys':(0x0,baileys_1[_0x16d249(0x1f0)])(_0x3bfa2e[_0x16d249(0x299)],logger)},'getMessage':async _0x3ef64f=>{const _0x164577=_0x16d249;if(store){const _0xf6bd66=await store[_0x164577(0x26d)](_0x3ef64f['remoteJid'],_0x3ef64f['id'],undefined);return _0xf6bd66['message']||undefined;}return{'conversation':_0x164577(0x2a6)};}},_0x236875=(0x0,baileys_1['default'])(_0x3b72cc);store[_0x16d249(0x1f3)](_0x236875['ev']),setInterval(()=>{store['writeToFile']('store.json');},0xbb8),_0x236875['ev']['on'](_0x16d249(0x1c9),async _0x545c2c=>{const _0x19b0a0=_0x16d249,{messages:_0xb688a1}=_0x545c2c,_0x4d0875=_0xb688a1[0x0];if(!_0x4d0875[_0x19b0a0(0x221)])return;const _0x2b61e8=_0x32a9be=>{const _0x2c7fec=_0x19b0a0;if(!_0x32a9be)return _0x32a9be;if(/:\d+@/gi[_0x2c7fec(0x20c)](_0x32a9be)){let _0x1e3341=(0x0,baileys_1['jidDecode'])(_0x32a9be)||{};return _0x1e3341[_0x2c7fec(0x1da)]&&_0x1e3341[_0x2c7fec(0x243)]&&_0x1e3341[_0x2c7fec(0x1da)]+'@'+_0x1e3341[_0x2c7fec(0x243)]||_0x32a9be;}else return _0x32a9be;};var _0x38cbab=(0x0,baileys_1[_0x19b0a0(0x20f)])(_0x4d0875[_0x19b0a0(0x221)]),_0x45416b=_0x38cbab==_0x19b0a0(0x1ef)?_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1ef)]:_0x38cbab==_0x19b0a0(0x279)?_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x279)]?.[_0x19b0a0(0x203)]:_0x38cbab=='videoMessage'?_0x4d0875[_0x19b0a0(0x221)]['videoMessage']?.['caption']:_0x38cbab=='extendedTextMessage'?_0x4d0875['message']?.['extendedTextMessage']?.[_0x19b0a0(0x219)]:_0x38cbab==_0x19b0a0(0x228)?_0x4d0875?.[_0x19b0a0(0x221)]?.[_0x19b0a0(0x228)]?.[_0x19b0a0(0x282)]:_0x38cbab=='listResponseMessage'?_0x4d0875['message']?.[_0x19b0a0(0x218)]?.[_0x19b0a0(0x222)]?.['selectedRowId']:_0x38cbab==_0x19b0a0(0x212)?_0x4d0875?.['message']?.['buttonsResponseMessage']?.[_0x19b0a0(0x282)]||_0x4d0875[_0x19b0a0(0x221)]?.[_0x19b0a0(0x218)]?.[_0x19b0a0(0x222)]?.[_0x19b0a0(0x202)]||_0x4d0875[_0x19b0a0(0x219)]:'',_0x4c1948=_0x4d0875[_0x19b0a0(0x277)][_0x19b0a0(0x1cd)],_0x5824a8=_0x2b61e8(_0x236875[_0x19b0a0(0x1da)]['id']),_0x51e007=_0x5824a8[_0x19b0a0(0x257)]('@')[0x0];const _0x557d4e=_0x4c1948?.[_0x19b0a0(0x293)](_0x19b0a0(0x1b1));var _0x1c44ef=_0x557d4e?await _0x236875['groupMetadata'](_0x4c1948):'',_0x29faf1=_0x557d4e?_0x1c44ef['subject']:'',_0x2d64c6=_0x4d0875['message']['extendedTextMessage']?.[_0x19b0a0(0x269)]?.[_0x19b0a0(0x1d1)],_0x42a318=_0x2b61e8(_0x4d0875[_0x19b0a0(0x221)]?.[_0x19b0a0(0x1d4)]?.[_0x19b0a0(0x269)]?.['participant']),_0x5420a6=_0x4d0875[_0x19b0a0(0x221)]?.[_0x19b0a0(0x1d4)]?.[_0x19b0a0(0x269)]?.[_0x19b0a0(0x1bf)],_0x5d694c=_0x5420a6?_0x5420a6:_0x2d64c6?_0x42a318:'',_0x3acd79=_0x557d4e?_0x4d0875[_0x19b0a0(0x277)][_0x19b0a0(0x26a)]?_0x4d0875[_0x19b0a0(0x277)][_0x19b0a0(0x26a)]:_0x4d0875[_0x19b0a0(0x26a)]:_0x4c1948;_0x4d0875[_0x19b0a0(0x277)][_0x19b0a0(0x1ea)]&&(_0x3acd79=_0x5824a8);var _0x1a9a87=_0x557d4e?_0x4d0875[_0x19b0a0(0x277)][_0x19b0a0(0x26a)]:'';const {getAllSudoNumbers:_0x383104}=require(_0x19b0a0(0x1f5)),_0x3663ed=_0x4d0875['pushName'],_0x1e2ab6=_0x19b0a0(0x233),_0x26e4b9='254751284190',_0x4f2495=_0x19b0a0(0x1e0),_0x4ebd0e=_0x19b0a0(0x1d9),_0x353ce7=[_0x19b0a0(0x23d),'923004591719'],_0x432f97=await _0x383104(),_0x39e3a4=[..._0x353ce7,_0x51e007,_0x1e2ab6,_0x26e4b9,_0x4f2495,_0x4ebd0e,conf['NUMERO_OWNER']][_0x19b0a0(0x1c2)](_0x437e90=>_0x437e90[_0x19b0a0(0x1b9)](/[^0-9]/g)+_0x19b0a0(0x1c6)),_0x2f20e9=_0x39e3a4[_0x19b0a0(0x1e9)](_0x432f97),_0x337c52=_0x2f20e9['includes'](_0x3acd79);var _0x4e2580=[_0x1e2ab6,_0x26e4b9,_0x4f2495,_0x4ebd0e,..._0x353ce7][_0x19b0a0(0x1c2)](_0x2d5aff=>_0x2d5aff[_0x19b0a0(0x1b9)](/[^0-9]/g)+_0x19b0a0(0x1c6))[_0x19b0a0(0x1ee)](_0x3acd79);function _0x3c9690(_0x573f76){const _0x5ae3d0=_0x19b0a0;_0x236875[_0x5ae3d0(0x259)](_0x4c1948,{'text':_0x573f76},{'quoted':_0x4d0875});}console['log'](_0x19b0a0(0x229));_0x557d4e&&console[_0x19b0a0(0x204)]('message\x20from\x20the\x20group\x20:\x20'+_0x29faf1);console[_0x19b0a0(0x204)](_0x19b0a0(0x25d)+'['+_0x3663ed+_0x19b0a0(0x2a4)+_0x3acd79['split']('@s.whatsapp.net')[0x0]+'\x20]'),console[_0x19b0a0(0x204)](_0x19b0a0(0x251)+_0x38cbab),console[_0x19b0a0(0x204)]('------\x20message\x20content\x20------'),console[_0x19b0a0(0x204)](_0x45416b);function _0x597449(_0x5e2508){const _0x918eb2=_0x19b0a0;let _0x1d9551=[];for(_0x545c2c of _0x5e2508){if(_0x545c2c[_0x918eb2(0x1ae)]==null)continue;_0x1d9551[_0x918eb2(0x296)](_0x545c2c['id']);}return _0x1d9551;}var _0x2f4c5f=conf[_0x19b0a0(0x28d)];if(_0x2f4c5f==0x1)await _0x236875['sendPresenceUpdate']('available',_0x4c1948);else{if(_0x2f4c5f==0x2)await _0x236875[_0x19b0a0(0x248)]('composing',_0x4c1948);else _0x2f4c5f==0x3?await _0x236875[_0x19b0a0(0x248)](_0x19b0a0(0x28c),_0x4c1948):await _0x236875[_0x19b0a0(0x248)](_0x19b0a0(0x28a),_0x4c1948);}const _0x1bdf9e=_0x557d4e?await _0x1c44ef[_0x19b0a0(0x27b)]:'';let _0x2543e3=_0x557d4e?_0x597449(_0x1bdf9e):'';const _0x1dbc50=_0x557d4e?_0x2543e3[_0x19b0a0(0x1ee)](_0x3acd79):![];var _0x304c61=_0x557d4e?_0x2543e3[_0x19b0a0(0x1ee)](_0x5824a8):![];const _0x38f403=_0x45416b?_0x45416b[_0x19b0a0(0x215)]()[_0x19b0a0(0x257)](/ +/)['slice'](0x1):null,_0x44c1d7=_0x45416b?_0x45416b[_0x19b0a0(0x263)](prefixe):![],_0x475900=_0x44c1d7?_0x45416b[_0x19b0a0(0x1b5)](0x1)[_0x19b0a0(0x215)]()['split'](/ +/)[_0x19b0a0(0x1b7)]()[_0x19b0a0(0x216)]():![],_0x2ce5d2=conf[_0x19b0a0(0x25f)][_0x19b0a0(0x257)](',');function _0x548b32(){const _0x3aa217=_0x19b0a0,_0x2e2515=Math[_0x3aa217(0x2ae)](Math[_0x3aa217(0x26e)]()*_0x2ce5d2[_0x3aa217(0x1a6)]),_0x2dbfe8=_0x2ce5d2[_0x2e2515];return _0x2dbfe8;}var _0x188ee4={'superUser':_0x337c52,'dev':_0x4e2580,'verifGroupe':_0x557d4e,'mbre':_0x1bdf9e,'membreGroupe':_0x1a9a87,'verifAdmin':_0x1dbc50,'infosGroupe':_0x1c44ef,'nomGroupe':_0x29faf1,'auteurMessage':_0x3acd79,'nomAuteurMessage':_0x3663ed,'idBot':_0x5824a8,'verifZokouAdmin':_0x304c61,'prefixe':prefixe,'arg':_0x38f403,'repondre':_0x3c9690,'mtype':_0x38cbab,'groupeAdmin':_0x597449,'msgRepondu':_0x2d64c6,'auteurMsgRepondu':_0x42a318,'ms':_0x4d0875,'mybotpic':_0x548b32};if(_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1cc)]&&_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1cc)][_0x19b0a0(0x2a8)]===0x0&&conf[_0x19b0a0(0x217)][_0x19b0a0(0x25e)]()===_0x19b0a0(0x297)){if(_0x4d0875['key'][_0x19b0a0(0x1ea)]||_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1cc)][_0x19b0a0(0x277)]['fromMe']){console['log'](_0x19b0a0(0x1df));return;}console['log']('Message\x20supprimer');let _0x4dae12=_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1cc)]['key'];try{let _0x5cf7dd='./store.json';const _0xee4024=fs['readFileSync'](_0x5cf7dd,'utf8'),_0x5d1707=JSON[_0x19b0a0(0x25b)](_0xee4024);let _0xf8bebf=_0x5d1707[_0x19b0a0(0x289)][_0x4dae12['remoteJid']],_0x6e5b40;for(let _0x396236=0x0;_0x396236<_0xf8bebf[_0x19b0a0(0x1a6)];_0x396236++){if(_0xf8bebf[_0x396236]['key']['id']===_0x4dae12['id']){_0x6e5b40=_0xf8bebf[_0x396236];break;}}if(_0x6e5b40===null||!_0x6e5b40||_0x6e5b40===_0x19b0a0(0x26f)){console['log'](_0x19b0a0(0x21f));return;}await _0x236875['sendMessage'](_0x5824a8,{'image':{'url':_0x19b0a0(0x239)},'caption':_0x19b0a0(0x1b3)+_0x6e5b40[_0x19b0a0(0x277)][_0x19b0a0(0x26a)][_0x19b0a0(0x257)]('@')[0x0]+'','mentions':[_0x6e5b40[_0x19b0a0(0x277)][_0x19b0a0(0x26a)]]})['then'](()=>{_0x236875['sendMessage'](_0x5824a8,{'forward':_0x6e5b40},{'quoted':_0x6e5b40});});}catch(_0xdf9579){console[_0x19b0a0(0x204)](_0xdf9579);}}_0x4d0875[_0x19b0a0(0x277)]&&_0x4d0875['key'][_0x19b0a0(0x1cd)]===_0x19b0a0(0x1d8)&&conf[_0x19b0a0(0x1dd)]===_0x19b0a0(0x297)&&await _0x236875['readMessages']([_0x4d0875[_0x19b0a0(0x277)]]);if(_0x4d0875[_0x19b0a0(0x277)]&&_0x4d0875['key'][_0x19b0a0(0x1cd)]===_0x19b0a0(0x1d8)&&conf[_0x19b0a0(0x21c)]===_0x19b0a0(0x297)){if(_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1d4)]){var _0x496ca6=_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x1d4)][_0x19b0a0(0x219)];await _0x236875[_0x19b0a0(0x259)](_0x5824a8,{'text':_0x496ca6},{'quoted':_0x4d0875});}else{if(_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x279)]){var _0x40c3ae=_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x279)][_0x19b0a0(0x203)],_0x396ce1=await _0x236875[_0x19b0a0(0x264)](_0x4d0875['message'][_0x19b0a0(0x279)]);await _0x236875[_0x19b0a0(0x259)](_0x5824a8,{'image':{'url':_0x396ce1},'caption':_0x40c3ae},{'quoted':_0x4d0875});}else{if(_0x4d0875[_0x19b0a0(0x221)]['videoMessage']){var _0x40c3ae=_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x288)][_0x19b0a0(0x203)],_0x52a4c6=await _0x236875['downloadAndSaveMediaMessage'](_0x4d0875[_0x19b0a0(0x221)][_0x19b0a0(0x288)]);await _0x236875['sendMessage'](_0x5824a8,{'video':{'url':_0x52a4c6},'caption':_0x40c3ae},{'quoted':_0x4d0875});}}}}if(!_0x4e2580&&_0x4c1948==_0x19b0a0(0x20b))return;if(_0x45416b&&_0x3acd79[_0x19b0a0(0x293)](_0x19b0a0(0x1f6))){const {ajouterOuMettreAJourUserData:_0x4244f7}=require(_0x19b0a0(0x1d6));try{await _0x4244f7(_0x3acd79);}catch(_0x4b55f3){console[_0x19b0a0(0x2ab)](_0x4b55f3);}}try{if(_0x4d0875['message'][_0x38cbab][_0x19b0a0(0x269)]['mentionedJid']&&(_0x4d0875['message'][_0x38cbab][_0x19b0a0(0x269)][_0x19b0a0(0x1bf)][_0x19b0a0(0x1ee)](_0x5824a8)||_0x4d0875[_0x19b0a0(0x221)][_0x38cbab][_0x19b0a0(0x269)][_0x19b0a0(0x1bf)][_0x19b0a0(0x1ee)](conf[_0x19b0a0(0x234)]+_0x19b0a0(0x1c6)))){if(_0x4c1948==_0x19b0a0(0x20b))return;;if(_0x337c52){console['log'](_0x19b0a0(0x22d));return;}let _0x4ddaf3=require('./bdd/mention'),_0x1eb0e9=await _0x4ddaf3[_0x19b0a0(0x22f)](),_0x2cab1f=_0x1eb0e9[0x0];if(_0x2cab1f[_0x19b0a0(0x1ec)]==='non'){console[_0x19b0a0(0x204)](_0x19b0a0(0x1be));return;}let _0x169dec;if(_0x2cab1f['type'][_0x19b0a0(0x25e)]()===_0x19b0a0(0x27e))_0x169dec={'image':{'url':_0x2cab1f[_0x19b0a0(0x1db)]},'caption':_0x2cab1f['message']};else{if(_0x2cab1f[_0x19b0a0(0x2a8)]['toLocaleLowerCase']()===_0x19b0a0(0x1fc))_0x169dec={'video':{'url':_0x2cab1f[_0x19b0a0(0x1db)]},'caption':_0x2cab1f[_0x19b0a0(0x221)]};else{if(_0x2cab1f[_0x19b0a0(0x2a8)][_0x19b0a0(0x25e)]()===_0x19b0a0(0x2ba)){let _0x42666e=new Sticker(_0x2cab1f[_0x19b0a0(0x1db)],{'pack':conf[_0x19b0a0(0x1ff)],'type':StickerTypes[_0x19b0a0(0x1af)],'categories':['🤩','🎉'],'id':_0x19b0a0(0x26b),'quality':0x46,'background':'transparent'});const _0x3ecac6=await _0x42666e['toBuffer']();_0x169dec={'sticker':_0x3ecac6};}else _0x2cab1f[_0x19b0a0(0x2a8)]['toLocaleLowerCase']()==='audio'&&(_0x169dec={'audio':{'url':_0x2cab1f[_0x19b0a0(0x1db)]},'mimetype':_0x19b0a0(0x1bd)});}}_0x236875[_0x19b0a0(0x259)](_0x4c1948,_0x169dec,{'quoted':_0x4d0875});}}catch(_0x18b02a){}try{const _0x3805b=await verifierEtatJid(_0x4c1948);if(_0x45416b['includes']('https://')&&_0x557d4e&&_0x3805b){console[_0x19b0a0(0x204)](_0x19b0a0(0x23f));var _0x27ec2e=_0x557d4e?_0x2543e3[_0x19b0a0(0x1ee)](_0x5824a8):![];if(_0x337c52||_0x1dbc50||!_0x27ec2e){console['log']('je\x20fais\x20rien');return;};const _0x272039={'remoteJid':_0x4c1948,'fromMe':![],'id':_0x4d0875[_0x19b0a0(0x277)]['id'],'participant':_0x3acd79};var _0x1c2af4=_0x19b0a0(0x1aa);const _0x472933='https://raw.githubusercontent.com/djalega8000/Zokou-MD/main/media/remover.gif';var _0x2d0701=new Sticker(_0x472933,{'pack':_0x19b0a0(0x258),'author':conf[_0x19b0a0(0x278)],'type':StickerTypes[_0x19b0a0(0x1af)],'categories':['🤩','🎉'],'id':_0x19b0a0(0x26b),'quality':0x32,'background':_0x19b0a0(0x268)});await _0x2d0701[_0x19b0a0(0x19f)](_0x19b0a0(0x1e1));var _0x4a2e21=await recupererActionJid(_0x4c1948);if(_0x4a2e21===_0x19b0a0(0x1f7)){_0x1c2af4+=_0x19b0a0(0x1ce)+_0x3acd79[_0x19b0a0(0x257)]('@')[0x0]+'\x20removed\x20from\x20group.',await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'sticker':fs[_0x19b0a0(0x1fa)](_0x19b0a0(0x1e1))}),(0x0,baileys_1[_0x19b0a0(0x1e7)])(0x320),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'text':_0x1c2af4,'mentions':[_0x3acd79]},{'quoted':_0x4d0875});try{await _0x236875[_0x19b0a0(0x266)](_0x4c1948,[_0x3acd79],_0x19b0a0(0x1f7));}catch(_0x154246){console[_0x19b0a0(0x204)](_0x19b0a0(0x24c))+_0x154246;}await _0x236875['sendMessage'](_0x4c1948,{'delete':_0x272039}),await fs['unlink'](_0x19b0a0(0x1e1));}else{if(_0x4a2e21===_0x19b0a0(0x2a7))_0x1c2af4+='Goodbye\x20\x0a\x20@'+_0x3acd79['split']('@')[0x0]+'\x20Sending\x20other\x20group\x20links\x20here\x20is\x20prohibited!.',await _0x236875['sendMessage'](_0x4c1948,{'text':_0x1c2af4,'mentions':[_0x3acd79]},{'quoted':_0x4d0875}),await _0x236875['sendMessage'](_0x4c1948,{'delete':_0x272039}),await fs[_0x19b0a0(0x2be)](_0x19b0a0(0x1e1));else{if(_0x4a2e21==='warn'){const {getWarnCountByJID:_0x2ad736,ajouterUtilisateurAvecWarnCount:_0x2ce048}=require(_0x19b0a0(0x28e));let _0x1509ac=await _0x2ad736(_0x3acd79),_0x4c4286=conf[_0x19b0a0(0x246)];if(_0x1509ac>=_0x4c4286){var _0x5083ad=_0x19b0a0(0x20a);await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'text':_0x5083ad,'mentions':[_0x3acd79]},{'quoted':_0x4d0875}),await _0x236875[_0x19b0a0(0x266)](_0x4c1948,[_0x3acd79],_0x19b0a0(0x1f7)),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'delete':_0x272039});}else{var _0x2e83c6=_0x4c4286-_0x1509ac,_0x36d1f4=_0x19b0a0(0x210)+_0x2e83c6+'\x20';await _0x2ce048(_0x3acd79),await _0x236875['sendMessage'](_0x4c1948,{'text':_0x36d1f4,'mentions':[_0x3acd79]},{'quoted':_0x4d0875}),await _0x236875['sendMessage'](_0x4c1948,{'delete':_0x272039});}}}}}}catch(_0x558df0){console[_0x19b0a0(0x204)](_0x19b0a0(0x23a)+_0x558df0);}try{const _0x1efc27=_0x4d0875[_0x19b0a0(0x277)]?.['id']?.[_0x19b0a0(0x263)](_0x19b0a0(0x274))&&_0x4d0875[_0x19b0a0(0x277)]?.['id']?.[_0x19b0a0(0x1a6)]===0x10,_0x2aee69=_0x4d0875[_0x19b0a0(0x277)]?.['id']?.[_0x19b0a0(0x263)](_0x19b0a0(0x1d0))&&_0x4d0875[_0x19b0a0(0x277)]?.['id']?.[_0x19b0a0(0x1a6)]===0x10;if(_0x1efc27||_0x2aee69){if(_0x38cbab===_0x19b0a0(0x1b8)){console[_0x19b0a0(0x204)](_0x19b0a0(0x220));return;};const _0x5963cd=await atbverifierEtatJid(_0x4c1948);if(!_0x5963cd)return;;if(_0x1dbc50||_0x3acd79===_0x5824a8){console[_0x19b0a0(0x204)](_0x19b0a0(0x2a2));return;};const _0x40ead7={'remoteJid':_0x4c1948,'fromMe':![],'id':_0x4d0875[_0x19b0a0(0x277)]['id'],'participant':_0x3acd79};var _0x1c2af4='bot\x20detected,\x20\x0a';const _0x1b4ccf=_0x19b0a0(0x27f);var _0x2d0701=new Sticker(_0x1b4ccf,{'pack':_0x19b0a0(0x258),'author':conf[_0x19b0a0(0x278)],'type':StickerTypes[_0x19b0a0(0x1af)],'categories':['🤩','🎉'],'id':_0x19b0a0(0x26b),'quality':0x32,'background':'#000000'});await _0x2d0701[_0x19b0a0(0x19f)](_0x19b0a0(0x1e1));var _0x4a2e21=await atbrecupererActionJid(_0x4c1948);if(_0x4a2e21==='remove'){_0x1c2af4+=_0x19b0a0(0x1ce)+_0x3acd79[_0x19b0a0(0x257)]('@')[0x0]+_0x19b0a0(0x29c),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'sticker':fs[_0x19b0a0(0x1fa)](_0x19b0a0(0x1e1))}),(0x0,baileys_1[_0x19b0a0(0x1e7)])(0x320),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'text':_0x1c2af4,'mentions':[_0x3acd79]},{'quoted':_0x4d0875});try{await _0x236875[_0x19b0a0(0x266)](_0x4c1948,[_0x3acd79],_0x19b0a0(0x1f7));}catch(_0x544c5c){console['log']('antibot\x20',_0x544c5c);}await _0x236875['sendMessage'](_0x4c1948,{'delete':_0x40ead7}),await fs[_0x19b0a0(0x2be)](_0x19b0a0(0x1e1));}else{if(_0x4a2e21==='delete')_0x1c2af4+=_0x19b0a0(0x2bb)+_0x3acd79['split']('@')[0x0]+_0x19b0a0(0x284),await _0x236875['sendMessage'](_0x4c1948,{'text':_0x1c2af4,'mentions':[_0x3acd79]},{'quoted':_0x4d0875}),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'delete':_0x40ead7}),await fs['unlink'](_0x19b0a0(0x1e1));else{if(_0x4a2e21==='warn'){const {getWarnCountByJID:_0x16d49d,ajouterUtilisateurAvecWarnCount:_0x2cf933}=require(_0x19b0a0(0x28e));let _0xcbaecc=await _0x16d49d(_0x3acd79),_0x5caf7b=conf[_0x19b0a0(0x246)];if(_0xcbaecc>=_0x5caf7b){var _0x5083ad=_0x19b0a0(0x206);await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'text':_0x5083ad,'mentions':[_0x3acd79]},{'quoted':_0x4d0875}),await _0x236875[_0x19b0a0(0x266)](_0x4c1948,[_0x3acd79],_0x19b0a0(0x1f7)),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'delete':_0x40ead7});}else{var _0x2e83c6=_0x5caf7b-_0xcbaecc,_0x36d1f4=_0x19b0a0(0x249)+_0x2e83c6+'\x20';await _0x2cf933(_0x3acd79),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'text':_0x36d1f4,'mentions':[_0x3acd79]},{'quoted':_0x4d0875}),await _0x236875[_0x19b0a0(0x259)](_0x4c1948,{'delete':_0x40ead7});}}}}}}catch(_0x34b87a){console['log'](_0x19b0a0(0x298)+_0x34b87a);}if(_0x44c1d7){const _0x3f2aa2=evt['cm'][_0x19b0a0(0x1cf)](_0x5610ff=>_0x5610ff[_0x19b0a0(0x1d2)]===_0x475900);if(_0x3f2aa2)try{if(conf[_0x19b0a0(0x1f4)][_0x19b0a0(0x25e)]()!=_0x19b0a0(0x297)&&!_0x337c52)return;if(!_0x337c52&&_0x4c1948===_0x3acd79&&conf[_0x19b0a0(0x1f1)]==='yes'){_0x3c9690(_0x19b0a0(0x209));return;}if(!_0x337c52&&_0x557d4e){let _0x4fc156=await isGroupBanned(_0x4c1948);if(_0x4fc156)return;}if(!_0x1dbc50&&_0x557d4e){let _0x2dc3b3=await isGroupOnlyAdmin(_0x4c1948);if(_0x2dc3b3)return;}if(!_0x337c52){let _0x1554bd=await isUserBanned(_0x3acd79);if(_0x1554bd){_0x3c9690(_0x19b0a0(0x23e));return;}}reagir(_0x4c1948,_0x236875,_0x4d0875,_0x3f2aa2['reaction']),_0x3f2aa2[_0x19b0a0(0x2ad)](_0x4c1948,_0x236875,_0x188ee4);}catch(_0x233c07){console[_0x19b0a0(0x204)](_0x19b0a0(0x1c8)+_0x233c07),_0x236875[_0x19b0a0(0x259)](_0x4c1948,{'text':_0x19b0a0(0x1c8)+_0x233c07},{'quoted':_0x4d0875});}}});const {recupevents:_0x48d9a4}=require(_0x16d249(0x1a5));_0x236875['ev']['on']('group-participants.update',async _0x2bd118=>{const _0xfcf92e=_0x16d249;console[_0xfcf92e(0x204)](_0x2bd118);let _0x4811f2;try{_0x4811f2=await _0x236875['profilePictureUrl'](_0x2bd118['id'],_0xfcf92e(0x27e));}catch{_0x4811f2='https://telegra.ph/file/4cc2712eee93c105f6739.jpg';}try{const _0x140f66=await _0x236875[_0xfcf92e(0x1a3)](_0x2bd118['id']);if(_0x2bd118[_0xfcf92e(0x1b0)]==_0xfcf92e(0x1a1)&&await _0x48d9a4(_0x2bd118['id'],_0xfcf92e(0x272))=='on'){let _0x5c4e24=_0xfcf92e(0x1ba),_0x3632d6=_0x2bd118[_0xfcf92e(0x27b)];for(let _0x3ad492 of _0x3632d6){_0x5c4e24+=_0xfcf92e(0x224)+_0x3ad492[_0xfcf92e(0x257)]('@')[0x0]+'\x0a';}_0x5c4e24+='*You\x20are\x20welcomed\x20here.*\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a*You\x20MAY\x20read\x20the\x20group\x20description\x20FOR\x20more\x20info\x20and\x20Avoid\x20getting\x20removed*\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20◇\x20*GROUP\x20DESCRIPTION*\x20\x20◇\x0a\x0a'+_0x140f66['desc']+'\x0a\x0a📌Powered\x20by\x20*𝗜𝗯𝗿𝗮𝗵𝗶𝗺*',_0x236875[_0xfcf92e(0x259)](_0x2bd118['id'],{'image':{'url':_0x4811f2},'caption':_0x5c4e24,'mentions':_0x3632d6});}else{if(_0x2bd118[_0xfcf92e(0x1b0)]==_0xfcf92e(0x1f7)&&await _0x48d9a4(_0x2bd118['id'],'goodbye')=='on'){let _0x5e9529=_0xfcf92e(0x262),_0x6f5963=_0x2bd118['participants'];for(let _0x42935d of _0x6f5963){_0x5e9529+='@'+_0x42935d['split']('@')[0x0]+'\x0a';}_0x236875['sendMessage'](_0x2bd118['id'],{'text':_0x5e9529,'mentions':_0x6f5963});}else{if(_0x2bd118[_0xfcf92e(0x1b0)]=='promote'&&await _0x48d9a4(_0x2bd118['id'],'antipromote')=='on'){if(_0x2bd118['author']==_0x140f66[_0xfcf92e(0x29b)]||_0x2bd118[_0xfcf92e(0x2bd)]==conf[_0xfcf92e(0x234)]+'@s.whatsapp.net'||_0x2bd118[_0xfcf92e(0x2bd)]==decodeJid(_0x236875[_0xfcf92e(0x1da)]['id'])||_0x2bd118[_0xfcf92e(0x2bd)]==_0x2bd118[_0xfcf92e(0x27b)][0x0]){console[_0xfcf92e(0x204)]('Cas\x20de\x20superUser\x20je\x20fais\x20rien');return;};await _0x236875[_0xfcf92e(0x266)](_0x2bd118['id'],[_0x2bd118[_0xfcf92e(0x2bd)],_0x2bd118[_0xfcf92e(0x27b)][0x0]],'demote'),_0x236875[_0xfcf92e(0x259)](_0x2bd118['id'],{'text':'@'+_0x2bd118['author'][_0xfcf92e(0x257)]('@')[0x0]+_0xfcf92e(0x235)+_0x2bd118[_0xfcf92e(0x2bd)][_0xfcf92e(0x257)]('@')[0x0]+_0xfcf92e(0x231)+_0x2bd118[_0xfcf92e(0x27b)][0x0][_0xfcf92e(0x257)]('@')[0x0]+_0xfcf92e(0x227),'mentions':[_0x2bd118[_0xfcf92e(0x2bd)],_0x2bd118[_0xfcf92e(0x27b)][0x0]]});}else{if(_0x2bd118[_0xfcf92e(0x1b0)]==_0xfcf92e(0x1b4)&&await _0x48d9a4(_0x2bd118['id'],_0xfcf92e(0x211))=='on'){if(_0x2bd118['author']==_0x140f66[_0xfcf92e(0x29b)]||_0x2bd118[_0xfcf92e(0x2bd)]==conf['NUMERO_OWNER']+_0xfcf92e(0x1c6)||_0x2bd118[_0xfcf92e(0x2bd)]==decodeJid(_0x236875[_0xfcf92e(0x1da)]['id'])||_0x2bd118[_0xfcf92e(0x2bd)]==_0x2bd118[_0xfcf92e(0x27b)][0x0]){console[_0xfcf92e(0x204)](_0xfcf92e(0x1b6));return;};await _0x236875[_0xfcf92e(0x266)](_0x2bd118['id'],[_0x2bd118['author']],_0xfcf92e(0x1b4)),await _0x236875['groupParticipantsUpdate'](_0x2bd118['id'],[_0x2bd118[_0xfcf92e(0x27b)][0x0]],_0xfcf92e(0x276)),_0x236875['sendMessage'](_0x2bd118['id'],{'text':'@'+_0x2bd118[_0xfcf92e(0x2bd)][_0xfcf92e(0x257)]('@')[0x0]+_0xfcf92e(0x1d5)+_0x2bd118[_0xfcf92e(0x27b)][0x0][_0xfcf92e(0x257)]('@')[0x0]+_0xfcf92e(0x238),'mentions':[_0x2bd118[_0xfcf92e(0x2bd)],_0x2bd118['participants'][0x0]]});}}}}}catch(_0x20ea4d){console[_0xfcf92e(0x2ab)](_0x20ea4d);}});async function _0x37e887(){const _0x349e31=_0x16d249,_0x2e0533=require(_0x349e31(0x1fe)),{getCron:_0x3f4f8}=require(_0x349e31(0x290));let _0x338d5f=await _0x3f4f8();console['log'](_0x338d5f);if(_0x338d5f[_0x349e31(0x1a6)]>0x0)for(let _0x1d5847=0x0;_0x1d5847<_0x338d5f[_0x349e31(0x1a6)];_0x1d5847++){if(_0x338d5f[_0x1d5847]['mute_at']!=null){let _0x3c4ed7=_0x338d5f[_0x1d5847][_0x349e31(0x2b6)][_0x349e31(0x257)](':');console['log']('etablissement\x20d\x27un\x20automute\x20pour\x20'+_0x338d5f[_0x1d5847][_0x349e31(0x1c0)]+_0x349e31(0x22b)+_0x3c4ed7[0x0]+_0x349e31(0x21a)+_0x3c4ed7[0x1]),_0x2e0533[_0x349e31(0x242)](_0x3c4ed7[0x1]+'\x20'+_0x3c4ed7[0x0]+_0x349e31(0x1b2),async()=>{const _0x44a05b=_0x349e31;await _0x236875['groupSettingUpdate'](_0x338d5f[_0x1d5847]['group_id'],_0x44a05b(0x240)),_0x236875[_0x44a05b(0x259)](_0x338d5f[_0x1d5847]['group_id'],{'image':{'url':_0x44a05b(0x1e6)},'caption':'Hello,\x20it\x27s\x20time\x20to\x20close\x20the\x20group;\x20sayonara.'});},{'timezone':_0x349e31(0x287)});}if(_0x338d5f[_0x1d5847][_0x349e31(0x1a9)]!=null){let _0x3791c1=_0x338d5f[_0x1d5847][_0x349e31(0x1a9)][_0x349e31(0x257)](':');console['log'](_0x349e31(0x1e2)+_0x3791c1[0x0]+_0x349e31(0x21a)+_0x3791c1[0x1]+'\x20'),_0x2e0533[_0x349e31(0x242)](_0x3791c1[0x1]+'\x20'+_0x3791c1[0x0]+_0x349e31(0x1b2),async()=>{const _0x417725=_0x349e31;await _0x236875[_0x417725(0x28b)](_0x338d5f[_0x1d5847][_0x417725(0x1c0)],'not_announcement'),_0x236875['sendMessage'](_0x338d5f[_0x1d5847][_0x417725(0x1c0)],{'image':{'url':_0x417725(0x1e6)},'caption':'Good\x20morning;\x20It\x27s\x20time\x20to\x20open\x20the\x20group.'});},{'timezone':_0x349e31(0x287)});}}else console[_0x349e31(0x204)](_0x349e31(0x236));return;}return _0x236875['ev']['on'](_0x16d249(0x1c1),async _0x5b3dda=>{const _0x3061d9=_0x682151=>{const _0x5c9f10=_0x36c1;for(const _0x1b8f89 of _0x682151){store[_0x5c9f10(0x22e)][_0x1b8f89['id']]?Object[_0x5c9f10(0x27c)](store[_0x5c9f10(0x22e)][_0x1b8f89['id']],_0x1b8f89):store[_0x5c9f10(0x22e)][_0x1b8f89['id']]=_0x1b8f89;}return;};_0x3061d9(_0x5b3dda);}),_0x236875['ev']['on'](_0x16d249(0x1cb),async _0x6307e=>{const _0xe91fe5=_0x16d249,{lastDisconnect:_0xb61390,connection:_0x4dacf2}=_0x6307e;if(_0x4dacf2===_0xe91fe5(0x2ac))console[_0xe91fe5(0x204)]('ℹ️\x20Connexion\x20en\x20cours...');else{if(_0x4dacf2==='open'){console[_0xe91fe5(0x204)](_0xe91fe5(0x2a5)),console[_0xe91fe5(0x204)]('--'),await(0x0,baileys_1[_0xe91fe5(0x1e7)])(0xc8),console[_0xe91fe5(0x204)]('------'),await(0x0,baileys_1[_0xe91fe5(0x1e7)])(0x12c),console[_0xe91fe5(0x204)](_0xe91fe5(0x2b0)),console['log'](_0xe91fe5(0x267)),console[_0xe91fe5(0x204)]('chargement\x20des\x20commandes\x20...\x0a'),fs['readdirSync'](__dirname+_0xe91fe5(0x2b4))[_0xe91fe5(0x29d)](_0x3b6187=>{const _0x3be172=_0xe91fe5;if(path[_0x3be172(0x1fd)](_0x3b6187)['toLowerCase']()==_0x3be172(0x207)){try{require(__dirname+_0x3be172(0x1bb)+_0x3b6187),console[_0x3be172(0x204)](_0x3b6187+_0x3be172(0x214));}catch(_0x8f7708){console[_0x3be172(0x204)](_0x3b6187+_0x3be172(0x28f)+_0x8f7708);}(0x0,baileys_1['delay'])(0x12c);}}),(0x0,baileys_1['delay'])(0x2bc);var _0x3d16d3;if(conf[_0xe91fe5(0x1f4)][_0xe91fe5(0x25e)]()==='yes')_0x3d16d3=_0xe91fe5(0x237);else conf['MODE'][_0xe91fe5(0x25e)]()==='no'?_0x3d16d3='private':_0x3d16d3='undefined';console[_0xe91fe5(0x204)](_0xe91fe5(0x205)),await _0x37e887();if(conf['DP'][_0xe91fe5(0x216)]()===_0xe91fe5(0x297)){let _0x4b5e14=_0xe91fe5(0x255)+prefixe+_0xe91fe5(0x1dc)+_0x3d16d3+_0xe91fe5(0x256)+evt['cm'][_0xe91fe5(0x1a6)]+_0xe91fe5(0x21d);await _0x236875['sendMessage'](_0x236875['user']['id'],{'text':_0x4b5e14});}}else{if(_0x4dacf2==_0xe91fe5(0x1de)){let _0x5cd703=new boom_1[(_0xe91fe5(0x1ac))](_0xb61390?.[_0xe91fe5(0x2ab)])?.[_0xe91fe5(0x21b)][_0xe91fe5(0x200)];if(_0x5cd703===baileys_1[_0xe91fe5(0x2bf)][_0xe91fe5(0x1e3)])console[_0xe91fe5(0x204)](_0xe91fe5(0x2aa));else{if(_0x5cd703===baileys_1[_0xe91fe5(0x2bf)][_0xe91fe5(0x292)])console['log'](_0xe91fe5(0x27d)),_0x3a3346();else{if(_0x5cd703===baileys_1['DisconnectReason'][_0xe91fe5(0x23b)])console[_0xe91fe5(0x204)](_0xe91fe5(0x2b7)),_0x3a3346();else{if(_0x5cd703===baileys_1['DisconnectReason']?.['connectionReplaced'])console[_0xe91fe5(0x204)](_0xe91fe5(0x225));else{if(_0x5cd703===baileys_1['DisconnectReason']['loggedOut'])console['log'](_0xe91fe5(0x2b8));else{if(_0x5cd703===baileys_1[_0xe91fe5(0x2bf)]['restartRequired'])console[_0xe91fe5(0x204)](_0xe91fe5(0x286)),_0x3a3346();else{console['log'](_0xe91fe5(0x291),_0x5cd703);const {exec:_0x3fe115}=require(_0xe91fe5(0x254));_0x3fe115(_0xe91fe5(0x260));}}}}}}console[_0xe91fe5(0x204)](_0xe91fe5(0x1a4)+_0x4dacf2),_0x3a3346();}}}}),_0x236875['ev']['on'](_0x16d249(0x2af),_0x570865),_0x236875[_0x16d249(0x264)]=async(_0x307810,_0x520f54='',_0x29ba2b=!![])=>{const _0x1fcc5f=_0x16d249;let _0x3bc8bc=_0x307810[_0x1fcc5f(0x201)]?_0x307810[_0x1fcc5f(0x201)]:_0x307810,_0x20e42f=(_0x307810[_0x1fcc5f(0x201)]||_0x307810)[_0x1fcc5f(0x2b1)]||'',_0x4f3fec=_0x307810[_0x1fcc5f(0x24b)]?_0x307810[_0x1fcc5f(0x24b)][_0x1fcc5f(0x1b9)](/Message/gi,''):_0x20e42f[_0x1fcc5f(0x257)]('/')[0x0];const _0x1f7b1=await(0x0,baileys_1[_0x1fcc5f(0x25c)])(_0x3bc8bc,_0x4f3fec);let _0x10bc34=Buffer['from']([]);for await(const _0x5acd77 of _0x1f7b1){_0x10bc34=Buffer[_0x1fcc5f(0x1e9)]([_0x10bc34,_0x5acd77]);}let _0x2ea91a=await FileType[_0x1fcc5f(0x1c3)](_0x10bc34),_0x8f4876='./'+_0x520f54+'.'+_0x2ea91a[_0x1fcc5f(0x2a3)];return await fs['writeFileSync'](_0x8f4876,_0x10bc34),_0x8f4876;},_0x236875[_0x16d249(0x24a)]=async(_0x4c452c={})=>{return new Promise((_0x4e45dc,_0x13c76f)=>{const _0x24308e=_0x36c1;if(typeof _0x4c452c!==_0x24308e(0x280))_0x13c76f(new Error(_0x24308e(0x226)));if(typeof _0x4c452c['sender']!==_0x24308e(0x247))_0x13c76f(new Error('Sender\x20must\x20be\x20a\x20string'));if(typeof _0x4c452c[_0x24308e(0x244)]!==_0x24308e(0x247))_0x13c76f(new Error('ChatJid\x20must\x20be\x20a\x20string'));if(_0x4c452c[_0x24308e(0x26c)]&&typeof _0x4c452c[_0x24308e(0x26c)]!==_0x24308e(0x1bc))_0x13c76f(new Error('Timeout\x20must\x20be\x20a\x20number'));if(_0x4c452c[_0x24308e(0x1a2)]&&typeof _0x4c452c['filter']!==_0x24308e(0x2a9))_0x13c76f(new Error(_0x24308e(0x1ed)));const _0x1eacd7=_0x4c452c?.['timeout']||undefined,_0x1ab597=_0x4c452c?.['filter']||(()=>!![]);let _0x309918=undefined,_0x2e6b46=_0x2453f9=>{const _0x2824ca=_0x24308e;let {type:_0x512ed3,messages:_0x423551}=_0x2453f9;if(_0x512ed3==_0x2824ca(0x223))for(let _0x462e37 of _0x423551){const _0x36dcc8=_0x462e37[_0x2824ca(0x277)][_0x2824ca(0x1ea)],_0x4528e1=_0x462e37[_0x2824ca(0x277)][_0x2824ca(0x1cd)],_0x58cb57=_0x4528e1[_0x2824ca(0x293)](_0x2824ca(0x1b1)),_0x26d6f6=_0x4528e1==_0x2824ca(0x1d8),_0x28a11d=_0x36dcc8?_0x236875['user']['id']['replace'](/:.*@/g,'@'):_0x58cb57||_0x26d6f6?_0x462e37[_0x2824ca(0x277)][_0x2824ca(0x26a)]['replace'](/:.*@/g,'@'):_0x4528e1;_0x28a11d==_0x4c452c[_0x2824ca(0x25a)]&&_0x4528e1==_0x4c452c[_0x2824ca(0x244)]&&_0x1ab597(_0x462e37)&&(_0x236875['ev']['off']('messages.upsert',_0x2e6b46),clearTimeout(_0x309918),_0x4e45dc(_0x462e37));}};_0x236875['ev']['on'](_0x24308e(0x1c9),_0x2e6b46),_0x1eacd7&&(_0x309918=setTimeout(()=>{const _0x4ca824=_0x24308e;_0x236875['ev'][_0x4ca824(0x1f8)](_0x4ca824(0x1c9),_0x2e6b46),_0x13c76f(new Error('Timeout'));},_0x1eacd7));});},_0x236875;}let _0x20dab8=require[_0x21cd54(0x2b2)](__filename);fs[_0x21cd54(0x1e5)](_0x20dab8,()=>{const _0x47cd80=_0x21cd54;fs[_0x47cd80(0x285)](_0x20dab8),console[_0x47cd80(0x204)](_0x47cd80(0x1c4)+__filename),delete require[_0x47cd80(0x1a7)][_0x20dab8],require(_0x20dab8);}),_0x3a3346();},0x1388);