forked from Cytrak/ABHISHEK-SER-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
handler.js
1 lines (1 loc) · 32.5 KB
/
handler.js
1
function _0x2be8(_0x114880,_0x564fca){const _0x199975=_0x1999();return _0x2be8=function(_0x2be834,_0x5c9dc3){_0x2be834=_0x2be834-0xc4;let _0x2ccb2a=_0x199975[_0x2be834];return _0x2ccb2a;},_0x2be8(_0x114880,_0x564fca);}const _0x1ee31e=_0x2be8;(function(_0x400e71,_0x524be2){const _0x4a413a=_0x2be8,_0x34179c=_0x400e71();while(!![]){try{const _0x1a675a=-parseInt(_0x4a413a(0x196))/0x1+-parseInt(_0x4a413a(0x1b8))/0x2*(-parseInt(_0x4a413a(0x151))/0x3)+parseInt(_0x4a413a(0x126))/0x4*(-parseInt(_0x4a413a(0x146))/0x5)+-parseInt(_0x4a413a(0x19c))/0x6+-parseInt(_0x4a413a(0x16e))/0x7*(-parseInt(_0x4a413a(0x153))/0x8)+parseInt(_0x4a413a(0x10c))/0x9+-parseInt(_0x4a413a(0x18a))/0xa*(parseInt(_0x4a413a(0xe4))/0xb);if(_0x1a675a===_0x524be2)break;else _0x34179c['push'](_0x34179c['shift']());}catch(_0x5c8514){_0x34179c['push'](_0x34179c['shift']());}}}(_0x1999,0xc07e3));import{smsg}from'./lib/simple.js';import{format}from'util';import{fileURLToPath}from'url';import _0xc0c16c,{join}from'path';import{unwatchFile,watchFile}from'fs';import _0xc11f01 from'chalk';import _0x34a473 from'fs';function _0x1999(){const _0x4fc7a7=['sRestrictOff','banned','metadata','lastweekly','HELLO,\x20@user','all','legendary','7nkgIXm','upgrader','plugin','fullatm','rowner','atm','botAdmin','default','limit','detect','*Plugin:*\x20','Beginner','premnsfw','premiumTime','owner-unbanchat.js','number','@revoke','viewonce','fromMe','sRevoke','onlyLatinos','Update\x20\x27handler.js\x27','```Group\x20link\x20has\x20been\x20changed\x20to```\x0a@revoke','exec','promover','length','warn','customPrefix','6270360weycBY','groupMetadata','@user','expired','toLowerCase','data','petFood','rock','values','pconly','exists','redBright','118407dMPOnr','sender','afk','split','msgqueque','This\x20Command\x20Is\x20Only\x20For\x20*Group\x20Admins*','3844890ZXxCDL','slice','health','success','*Group\x20has\x20been\x20closed!*','command','pickaxe','pickaxedurability','trim','This\x20Command\x20Is\x20Only\x20For\x20*Premium\x20Members*','roboxp','sAnnounceOn','ToDiamond*\x20<amount','./lib/print.js','random','foxlastfeed','afkReason','g.us','push','demote','splice','disabled','robo','toString','isArray','regTime','pasangan','spromote','8568ylHwGD','ceil','conn','mythic','group','This\x20Command\x20Can\x20Only\x20Be\x20Used\x20By\x20The\x20*Creator\x20Of\x20The\x20Bot*','replace','announce','autoread','lasthunt','```','log','self','isBanned','bank','revoke','owner','image','copyNForward','loadDatabase','reply','chat','iron','level','lastclaim','admin','trash','chatRead','degradar','call','\x0a*Sender:*\x20','emerald','sendMessage','fox','antiLink','test','nyimak','/api/goodbye','```Subject\x20has\x20been\x20changed\x20to```\x0a@subject','sworddurability','endsWith','armordurability','catch','text','prefix','sBye','\x20\x0a╰────────────⦁\x0aTO\x20DEACTIVE\x20,\x20PRESS\x20\x0a*/off\x20antidelete*\x0a*.enable\x20delete*\x0a','horse','includes','sPromote','autolevelup','map','lastduel','Desconocido','quoted','loadMessage','./plugins','object','sSubject','anticall','isGroup','fail','sendFile','33KyHCto','fishingrod','@s.whatsapp.net','*🗂️\x20Plugin:*\x20','key','superior','total','\x0a*👤\x20Sender:*\x20','This\x20Command\x20Can\x20Only\x20Be\x20Used\x20In\x20*Groups*','#HIDDEN#','lastfishing','APIKeys','chats','wood','participants','onlyenglish','swonly','exp','queque','https://replicate.delivery/pbxt/QbP6Fh3ZXwKON9SCB70ERGwwgeeSbztwKIOIzhUeXFkwnFHiA/out.png','function','__filename','sDemote','foxexp','promote','limitjoin','stats','plugins','```Icon\x20has\x20been\x20changed\x20to```','add','icon','private','restartDB','lastmonthly','@desc','users','profilePictureUrl','@group','jid','restrict','10855710jJKpIn','onWhatsApp','subject','*Group\x20has\x20been\x20only\x20admin!*','after','dfail','armor','\x0a*Command:*\x20','gconly','premium','parseMention','\x0a╭────────────❮\x09\x20\x20\x20\x20\x0a│\x20Deleted\x20A\x20Message\x20\x0a│\x20*ANTI\x20DELETE*\x0a│\x20*Number\x20:*\x20@','@user\x20is\x20now\x20administrador','delete','welcome','\x5c$&','This\x20Feature\x20Is\x20*Disabled*','name','\x0a*Chat:*\x20','dog','lastadventure','potion','pushMessage','This\x20Command\x20Only\x20Be\x20Used\x20In\x20*Private\x20Chat\x20Of\x20The\x20Bot*','url','\x0a*💻\x20Command:*\x20','4ZOsiJN','messages','This\x20Command\x20Can\x20Only\x20Be\x20Used\x20By\x20The\x20*Bot\x20Owner*','doglastfeed','find','join','string','fgmods','indexOf','mods','decodeJid','Sign\x20In\x20To\x20Use\x20This\x20Feature\x20Typing:\x0a\x0a*/reg\x20name.age*\x0a\x0a📌Example\x20:\x20*/reg\x20ABHI.19*','getName','error','unreg','sword','\x20To\x20Use\x20This\x20Command.\x20\x0aYour\x20Level\x20','registered','user','common','diamond','lastdungeon','remove','dogexp','register','catexp','sWelcome','reloadHandler','serializeM','sRestrictOn','cat','fishingroddurability','348690DsGitB','isCommand','\x0a*💬\x20Chat:*\x20','sIcon','sDesc','@subject','filter','role','bye','sdemote','tags','1077CbItYq','settings','6034984VUcVTH','@icon','lastmining','foxhexp','owner-exec.js','autosticker','age','lastbunga','gold','horseexp','superadmin','Consumed\x20*','money','pet','simi','tool-delete.js','last','sAnnounceOff','uncommon','horselastfeed'];_0x1999=function(){return _0x4fc7a7;};return _0x1999();}import _0x26590d from'knights-canvas';import _0x4835e7 from'node-fetch';const {proto}=(await import('@adiwajshing/baileys'))[_0x1ee31e(0x175)],isNumber=_0x30ab78=>typeof _0x30ab78===_0x1ee31e(0x17d)&&!isNaN(_0x30ab78),delay=_0x3e5944=>isNumber(_0x3e5944)&&new Promise(_0x2e1262=>setTimeout(function(){clearTimeout(this),_0x2e1262();},_0x3e5944));export async function handler(_0x1d4503){const _0x4c673f=_0x1ee31e;this[_0x4c673f(0x19a)]=this[_0x4c673f(0x19a)]||[];if(!_0x1d4503)return;this[_0x4c673f(0x122)](_0x1d4503['messages'])[_0x4c673f(0xcf)](console[_0x4c673f(0x133)]);let _0x22e380=_0x1d4503[_0x4c673f(0x127)][_0x1d4503[_0x4c673f(0x127)][_0x4c673f(0x187)]-0x1];if(!_0x22e380)return;if(global['db'][_0x4c673f(0x18f)]==null)await global[_0x4c673f(0x1cb)]();try{_0x22e380=smsg(this,_0x22e380)||_0x22e380;if(!_0x22e380)return;_0x22e380[_0x4c673f(0xf5)]=0x0,_0x22e380[_0x4c673f(0x176)]=![];try{let _0xa38117=global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]];if(typeof _0xa38117!==_0x4c673f(0xde))global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]]={};if(_0xa38117){if(!isNumber(_0xa38117[_0x4c673f(0xf5)]))_0xa38117[_0x4c673f(0xf5)]=0x0;if(!isNumber(_0xa38117['limit']))_0xa38117['limit']=0x19;if(!isNumber(_0xa38117['lastclaim']))_0xa38117[_0x4c673f(0x1d0)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1b6)]))_0xa38117[_0x4c673f(0x1b6)]='';if(!(_0x4c673f(0x137)in _0xa38117))_0xa38117[_0x4c673f(0x137)]=![];if(!_0xa38117[_0x4c673f(0x137)]){if(!('name'in _0xa38117))_0xa38117[_0x4c673f(0x11d)]=_0x22e380['name'];if(!isNumber(_0xa38117['age']))_0xa38117[_0x4c673f(0x159)]=-0x1;if(!isNumber(_0xa38117['regTime']))_0xa38117[_0x4c673f(0x1b5)]=-0x1;}if(!isNumber(_0xa38117[_0x4c673f(0x198)]))_0xa38117[_0x4c673f(0x198)]=-0x1;if(!(_0x4c673f(0x1ac)in _0xa38117))_0xa38117[_0x4c673f(0x1ac)]='';if(!(_0x4c673f(0x168)in _0xa38117))_0xa38117[_0x4c673f(0x168)]=![];if(!isNumber(_0xa38117['warn']))_0xa38117[_0x4c673f(0x188)]=0x0;if(!isNumber(_0xa38117['level']))_0xa38117[_0x4c673f(0x1cf)]=0x0;if(!(_0x4c673f(0x14d)in _0xa38117))_0xa38117[_0x4c673f(0x14d)]=_0x4c673f(0x179);if(!('autolevelup'in _0xa38117))_0xa38117[_0x4c673f(0xd7)]=!![];if(!isNumber(_0xa38117['money']))_0xa38117[_0x4c673f(0x15f)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x173)]))_0xa38117[_0x4c673f(0x173)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x171)]))_0xa38117[_0x4c673f(0x171)]=0x0;if(!isNumber(_0xa38117['bank']))_0xa38117[_0x4c673f(0x1c6)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x19e)]))_0xa38117[_0x4c673f(0x19e)]=0x64;if(!isNumber(_0xa38117[_0x4c673f(0x121)]))_0xa38117[_0x4c673f(0x121)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1d2)]))_0xa38117[_0x4c673f(0x1d2)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xf1)]))_0xa38117[_0x4c673f(0xf1)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x191)]))_0xa38117[_0x4c673f(0x191)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x12c)]))_0xa38117[_0x4c673f(0x12c)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x190)]))_0xa38117[_0x4c673f(0x190)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xc4)]))_0xa38117['emerald']=0x1;if(!isNumber(_0xa38117[_0x4c673f(0x13a)]))_0xa38117[_0x4c673f(0x13a)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x15b)]))_0xa38117[_0x4c673f(0x15b)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1ce)]))_0xa38117[_0x4c673f(0x1ce)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x16f)]))_0xa38117[_0x4c673f(0x16f)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x139)]))_0xa38117['common']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x165)]))_0xa38117[_0x4c673f(0x165)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1bb)]))_0xa38117[_0x4c673f(0x1bb)]=0x0;if(!isNumber(_0xa38117['legendary']))_0xa38117[_0x4c673f(0x16d)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xe9)]))_0xa38117['superior']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x160)]))_0xa38117[_0x4c673f(0x160)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xd4)]))_0xa38117[_0x4c673f(0xd4)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x15c)]))_0xa38117[_0x4c673f(0x15c)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x144)]))_0xa38117[_0x4c673f(0x144)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x13f)]))_0xa38117[_0x4c673f(0x13f)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xc6)]))_0xa38117['fox']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x156)]))_0xa38117[_0x4c673f(0xfb)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x11f)]))_0xa38117[_0x4c673f(0x11f)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x13d)]))_0xa38117[_0x4c673f(0x13d)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1b2)]))_0xa38117[_0x4c673f(0x1b2)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1a6)]))_0xa38117[_0x4c673f(0x1a6)]=0x0;if(!isNumber(_0xa38117['horselastfeed']))_0xa38117[_0x4c673f(0x166)]=0x0;if(!isNumber(_0xa38117['catlastfeed']))_0xa38117['catlastfeed']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1ab)]))_0xa38117['foxlastfeed']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x129)]))_0xa38117[_0x4c673f(0x129)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x112)]))_0xa38117[_0x4c673f(0x112)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xce)]))_0xa38117['armordurability']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x135)]))_0xa38117[_0x4c673f(0x135)]=0x0;if(!isNumber(_0xa38117['sworddurability']))_0xa38117[_0x4c673f(0xcc)]=0x0;if(!isNumber(_0xa38117['pickaxe']))_0xa38117[_0x4c673f(0x1a2)]=0x0;if(!isNumber(_0xa38117['pickaxedurability']))_0xa38117[_0x4c673f(0x1a3)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xe5)]))_0xa38117['fishingrod']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x145)]))_0xa38117[_0x4c673f(0x145)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x1d0)]))_0xa38117[_0x4c673f(0x1d0)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x120)]))_0xa38117[_0x4c673f(0x120)]=0x0;if(!isNumber(_0xa38117['lastfishing']))_0xa38117[_0x4c673f(0xee)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x13b)]))_0xa38117['lastdungeon']=0x0;if(!isNumber(_0xa38117['lastduel']))_0xa38117[_0x4c673f(0xd9)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x155)]))_0xa38117[_0x4c673f(0x155)]=0x0;if(!isNumber(_0xa38117['lasthunt']))_0xa38117[_0x4c673f(0x1c1)]=0x0;if(!isNumber(_0xa38117['lastweekly']))_0xa38117[_0x4c673f(0x16a)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x105)]))_0xa38117['lastmonthly']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x15a)]))_0xa38117[_0x4c673f(0x15a)]=0x0;if(!isNumber(_0xa38117[_0x4c673f(0x115)]))_0xa38117[_0x4c673f(0x115)]=![];if(!isNumber(_0xa38117[_0x4c673f(0x17b)]))_0xa38117['premiumTime']=0x0;if(!isNumber(_0xa38117[_0x4c673f(0xfd)]))_0xa38117['limitjoin']=0x0;}else global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]]={'exp':0x0,'limit':0x19,'lastclaim':0x0,'registered':![],'name':_0x22e380[_0x4c673f(0x11d)],'pasangan':'','age':-0x1,'regTime':-0x1,'afk':-0x1,'afkReason':'','banned':![],'warn':0x0,'level':0x0,'role':_0x4c673f(0x179),'autolevelup':!![],'money':0x0,'bank':0x0,'atm':0x0,'fullatm':0x0,'health':0x64,'potion':0xa,'trash':0x0,'wood':0x0,'rock':0x0,'string':0x0,'emerald':0x1,'diamond':0x0,'gold':0x0,'iron':0x0,'upgrader':0x0,'common':0x0,'uncommon':0x0,'mythic':0x0,'legendary':0x0,'superior':0x0,'pet':0x0,'horse':0x0,'horseexp':0x0,'cat':0x0,'catngexp':0x0,'fox':0x0,'foxexp':0x0,'dog':0x0,'dogexp':0x0,'horselastfeed':0x0,'catlastfeed':0x0,'foxlastfeed':0x0,'doglastfeed':0x0,'armor':0x0,'armordurability':0x0,'sword':0x0,'sworddurability':0x0,'pickaxe':0x0,'pickaxedurability':0x0,'fishingrod':0x0,'fishingroddurability':0x0,'lastclaim':0x0,'lastadventure':0x0,'lastfishing':0x0,'lastdungeon':0x0,'lastduel':0x0,'lastmining':0x0,'lasthunt':0x0,'lastweekly':0x0,'lastmonthly':0x0,'lastbunga':0x0,'premium':![],'premiumTime':0x0,'limitjoin':0x0};let _0x5ba723=global['db'][_0x4c673f(0x18f)][_0x4c673f(0xf0)][_0x22e380[_0x4c673f(0x1cd)]];if(typeof _0x5ba723!==_0x4c673f(0xde))global['db']['data']['chats'][_0x22e380['chat']]={};if(_0x5ba723){if(!(_0x4c673f(0x1c5)in _0x5ba723))_0x5ba723[_0x4c673f(0x1c5)]=![];if(!(_0x4c673f(0x11a)in _0x5ba723))_0x5ba723[_0x4c673f(0x11a)]=!![];if(!('detect'in _0x5ba723))_0x5ba723[_0x4c673f(0x177)]=![];if(!(_0x4c673f(0x140)in _0x5ba723))_0x5ba723[_0x4c673f(0x140)]='';if(!('sBye'in _0x5ba723))_0x5ba723[_0x4c673f(0xd2)]='';if(!(_0x4c673f(0xd6)in _0x5ba723))_0x5ba723['sPromote']='';if(!('sDemote'in _0x5ba723))_0x5ba723[_0x4c673f(0xfa)]='';if(!(_0x4c673f(0x119)in _0x5ba723))_0x5ba723['delete']=!![];if(!(_0x4c673f(0xc7)in _0x5ba723))_0x5ba723[_0x4c673f(0xc7)]=![];if(!(_0x4c673f(0x17f)in _0x5ba723))_0x5ba723[_0x4c673f(0x17f)]=![];if(!('antiToxic'in _0x5ba723))_0x5ba723['antiToxic']=![];if(!(_0x4c673f(0x161)in _0x5ba723))_0x5ba723[_0x4c673f(0x161)]=![];if(!('autosticker'in _0x5ba723))_0x5ba723[_0x4c673f(0x158)]=![];if(!(_0x4c673f(0x115)in _0x5ba723))_0x5ba723[_0x4c673f(0x115)]=![];if(!(_0x4c673f(0xf3)in _0x5ba723))_0x5ba723[_0x4c673f(0x182)]=![];if(!(_0x4c673f(0x17b)in _0x5ba723))_0x5ba723[_0x4c673f(0x17b)]=![];if(!(_0x4c673f(0x17a)in _0x5ba723))_0x5ba723[_0x4c673f(0x17a)]=![];if(!isNumber(_0x5ba723['expired']))_0x5ba723[_0x4c673f(0x18d)]=0x0;}else global['db'][_0x4c673f(0x18f)][_0x4c673f(0xf0)][_0x22e380[_0x4c673f(0x1cd)]]={'isBanned':![],'welcome':!![],'detect':![],'sWelcome':'','sBye':'','sPromote':'','sDemote':'','delete':!![],'antiLink':![],'viewonce':![],'antiToxic':!![],'simi':![],'expired':0x0,'onlyenglish':![],'autosticker':![],'premium':![],'premiumTime':![],'premnsfw':![]};let _0x2deda4=global['db'][_0x4c673f(0x18f)][_0x4c673f(0x152)][this[_0x4c673f(0x138)]['jid']];if(typeof _0x2deda4!==_0x4c673f(0xde))global['db'][_0x4c673f(0x18f)][_0x4c673f(0x152)][this[_0x4c673f(0x138)][_0x4c673f(0x10a)]]={};if(_0x2deda4){if(!(_0x4c673f(0x1c4)in _0x2deda4))_0x2deda4['self']=![];if(!(_0x4c673f(0x1c0)in _0x2deda4))_0x2deda4['autoread']=![];if(!(_0x4c673f(0x10b)in _0x2deda4))_0x2deda4[_0x4c673f(0x10b)]=![];if(!('anticall'in _0x2deda4))_0x2deda4[_0x4c673f(0xe0)]=!![];if(!('autorestart'in _0x2deda4))_0x2deda4['autorestart']=![];if(!(_0x4c673f(0x104)in _0x2deda4))_0x2deda4['restartDB']=0x0;}else global['db'][_0x4c673f(0x18f)][_0x4c673f(0x152)][this[_0x4c673f(0x138)][_0x4c673f(0x10a)]]={'self':![],'autoread':![],'autorestart':![],'anticall':!![],'restartDB':0x0,'restrict':![]};}catch(_0xe1650b){console[_0x4c673f(0x133)](_0xe1650b);}if(opts[_0x4c673f(0xc9)])return;if(!_0x22e380[_0x4c673f(0x180)]&&opts[_0x4c673f(0x1c4)])return;if(opts[_0x4c673f(0x193)]&&_0x22e380[_0x4c673f(0x1cd)][_0x4c673f(0xcd)](_0x4c673f(0x1ad)))return;if(opts[_0x4c673f(0x114)]&&!_0x22e380[_0x4c673f(0x1cd)]['endsWith'](_0x4c673f(0x1ad)))return;if(opts[_0x4c673f(0xf4)]&&_0x22e380[_0x4c673f(0x1cd)]!=='status@broadcast')return;if(typeof _0x22e380[_0x4c673f(0xd0)]!=='string')_0x22e380[_0x4c673f(0xd0)]='';const _0x123322=[conn[_0x4c673f(0x130)](global[_0x4c673f(0x1ba)][_0x4c673f(0x138)]['id']),...global['owner'][_0x4c673f(0xd8)](([_0x5b572f])=>_0x5b572f)]['map'](_0x5d700e=>_0x5d700e[_0x4c673f(0x1be)](/[^0-9]/g,'')+_0x4c673f(0xe6))[_0x4c673f(0xd5)](_0x22e380[_0x4c673f(0x197)]),_0x4ca82c=_0x123322||_0x22e380[_0x4c673f(0x180)],_0x283920=_0x4ca82c||global[_0x4c673f(0x12f)][_0x4c673f(0xd8)](_0x5649e0=>_0x5649e0[_0x4c673f(0x1be)](/[^0-9]/g,'')+_0x4c673f(0xe6))['includes'](_0x22e380['sender']),_0x4d05b0=_0x123322||db[_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]][_0x4c673f(0x17b)]>0x0;if(opts[_0x4c673f(0xf6)]&&_0x22e380[_0x4c673f(0xd0)]&&!(_0x283920||_0x4d05b0)){let _0x9dde6b=this['msgqueque'],_0x1b6ef6=0x3e8*0x5;const _0x2d325b=_0x9dde6b[_0x9dde6b[_0x4c673f(0x187)]-0x1];_0x9dde6b[_0x4c673f(0x1ae)](_0x22e380['id']||_0x22e380[_0x4c673f(0xe8)]['id']),setInterval(async function(){const _0x278708=_0x4c673f;if(_0x9dde6b[_0x278708(0x12e)](_0x2d325b)===-0x1)clearInterval(this);await delay(_0x1b6ef6);},_0x1b6ef6);}if(_0x22e380['isBaileys'])return;_0x22e380[_0x4c673f(0xf5)]+=Math[_0x4c673f(0x1b9)](Math[_0x4c673f(0x1aa)]()*0xa);let _0x24c91b,_0x529b0f=global['db'][_0x4c673f(0x18f)]&&global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)]&&global['db']['data'][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]];const _0x30e298=(_0x22e380['isGroup']?(conn[_0x4c673f(0xf0)][_0x22e380[_0x4c673f(0x1cd)]]||{})[_0x4c673f(0x169)]||await this[_0x4c673f(0x18b)](_0x22e380['chat'])[_0x4c673f(0xcf)](_0x53905f=>null):{})||{},_0x4f93e3=(_0x22e380['isGroup']?_0x30e298[_0x4c673f(0xf2)]:[])||[],_0x2ff05c=(_0x22e380[_0x4c673f(0xe1)]?_0x4f93e3[_0x4c673f(0x12a)](_0x3b77d6=>conn[_0x4c673f(0x130)](_0x3b77d6['id'])===_0x22e380[_0x4c673f(0x197)]):{})||{},_0x246ee6=(_0x22e380['isGroup']?_0x4f93e3[_0x4c673f(0x12a)](_0x1a2f24=>conn['decodeJid'](_0x1a2f24['id'])==this[_0x4c673f(0x138)][_0x4c673f(0x10a)]):{})||{},_0x2819a9=_0x2ff05c?.[_0x4c673f(0x1d1)]==_0x4c673f(0x15d)||![],_0xc1b0a3=_0x2819a9||_0x2ff05c?.[_0x4c673f(0x1d1)]=='admin'||![],_0x5b20ca=_0x246ee6?.['admin']||![],_0xb49fce=_0xc0c16c['join'](_0xc0c16c['dirname'](fileURLToPath(import.meta[_0x4c673f(0x124)])),_0x4c673f(0xdd));for(let _0x42d2e6 in global[_0x4c673f(0xff)]){let _0x38fc28=global['plugins'][_0x42d2e6];if(!_0x38fc28)continue;if(_0x38fc28[_0x4c673f(0x1b1)])continue;const _0x4b90d3=join(_0xb49fce,_0x42d2e6);if(typeof _0x38fc28[_0x4c673f(0x16c)]===_0x4c673f(0xf8))try{await _0x38fc28[_0x4c673f(0x16c)][_0x4c673f(0x1d5)](this,_0x22e380,{'chatUpdate':_0x1d4503,'__dirname':_0xb49fce,'__filename':_0x4b90d3});}catch(_0x3f3004){console[_0x4c673f(0x133)](_0x3f3004);for(let [_0x39bda2]of global[_0x4c673f(0x1c8)]['filter'](([_0x15fd05,_0x138ce6,_0x20d373])=>_0x20d373&&_0x15fd05)){let _0x138a8b=(await conn['onWhatsApp'](_0x39bda2))[0x0]||{};if(_0x138a8b[_0x4c673f(0x194)])_0x22e380[_0x4c673f(0x1cc)]((_0x4c673f(0x178)+_0x42d2e6+_0x4c673f(0x1d6)+_0x22e380[_0x4c673f(0x197)]+_0x4c673f(0x11e)+_0x22e380[_0x4c673f(0x1cd)]+_0x4c673f(0x113)+_0x22e380[_0x4c673f(0xd0)]+'\x0a\x0a```'+format(_0x3f3004)+_0x4c673f(0x1c2))[_0x4c673f(0x1a4)](),_0x138a8b['jid']);}}if(!opts[_0x4c673f(0x10b)]){if(_0x38fc28[_0x4c673f(0x150)]&&_0x38fc28[_0x4c673f(0x150)][_0x4c673f(0xd5)](_0x4c673f(0x1d1)))continue;}const _0x39731d=_0x8bdf85=>_0x8bdf85[_0x4c673f(0x1be)](/[|\\{}()[\]^$+*?.]/g,_0x4c673f(0x11b));let _0x130946=_0x38fc28[_0x4c673f(0x189)]?_0x38fc28[_0x4c673f(0x189)]:conn[_0x4c673f(0xd1)]?conn[_0x4c673f(0xd1)]:global[_0x4c673f(0xd1)],_0x1996c0=(_0x130946 instanceof RegExp?[[_0x130946[_0x4c673f(0x185)](_0x22e380[_0x4c673f(0xd0)]),_0x130946]]:Array[_0x4c673f(0x1b4)](_0x130946)?_0x130946[_0x4c673f(0xd8)](_0x1c90a0=>{const _0x13f3d7=_0x4c673f;let _0x3d4a79=_0x1c90a0 instanceof RegExp?_0x1c90a0:new RegExp(_0x39731d(_0x1c90a0));return[_0x3d4a79[_0x13f3d7(0x185)](_0x22e380[_0x13f3d7(0xd0)]),_0x3d4a79];}):typeof _0x130946==='string'?[[new RegExp(_0x39731d(_0x130946))[_0x4c673f(0x185)](_0x22e380[_0x4c673f(0xd0)]),new RegExp(_0x39731d(_0x130946))]]:[[[],new RegExp()]])[_0x4c673f(0x12a)](_0x30c04c=>_0x30c04c[0x1]);if(typeof _0x38fc28['before']===_0x4c673f(0xf8)){if(await _0x38fc28['before']['call'](this,_0x22e380,{'match':_0x1996c0,'conn':this,'participants':_0x4f93e3,'groupMetadata':_0x30e298,'user':_0x2ff05c,'bot':_0x246ee6,'isROwner':_0x123322,'isOwner':_0x4ca82c,'isRAdmin':_0x2819a9,'isAdmin':_0xc1b0a3,'isBotAdmin':_0x5b20ca,'isPrems':_0x4d05b0,'chatUpdate':_0x1d4503,'__dirname':_0xb49fce,'__filename':_0x4b90d3}))continue;}if(typeof _0x38fc28!=='function')continue;if(_0x24c91b=(_0x1996c0[0x0]||'')[0x0]){let _0x1f47a1=_0x22e380[_0x4c673f(0xd0)][_0x4c673f(0x1be)](_0x24c91b,''),[_0x6002a2,..._0x61b545]=_0x1f47a1[_0x4c673f(0x1a4)]()[_0x4c673f(0x199)]` `[_0x4c673f(0x14c)](_0x1241b0=>_0x1241b0);_0x61b545=_0x61b545||[];let _0x4b385b=_0x1f47a1['trim']()[_0x4c673f(0x199)]` `[_0x4c673f(0x19d)](0x1),_0x4c3745=_0x4b385b[_0x4c673f(0x12b)]` `;_0x6002a2=(_0x6002a2||'')[_0x4c673f(0x18e)]();let _0x4c020b=_0x38fc28[_0x4c673f(0xe2)]||global[_0x4c673f(0x111)],_0x58ea4e=_0x38fc28['command']instanceof RegExp?_0x38fc28[_0x4c673f(0x1a1)][_0x4c673f(0xc8)](_0x6002a2):Array[_0x4c673f(0x1b4)](_0x38fc28['command'])?_0x38fc28[_0x4c673f(0x1a1)]['some'](_0xaa257a=>_0xaa257a instanceof RegExp?_0xaa257a[_0x4c673f(0xc8)](_0x6002a2):_0xaa257a===_0x6002a2):typeof _0x38fc28[_0x4c673f(0x1a1)]===_0x4c673f(0x12c)?_0x38fc28[_0x4c673f(0x1a1)]===_0x6002a2:![];if(!_0x58ea4e)continue;_0x22e380[_0x4c673f(0x170)]=_0x42d2e6;if(_0x22e380[_0x4c673f(0x1cd)]in global['db'][_0x4c673f(0x18f)][_0x4c673f(0xf0)]||_0x22e380[_0x4c673f(0x197)]in global['db'][_0x4c673f(0x18f)]['users']){let _0x348f49=global['db'][_0x4c673f(0x18f)][_0x4c673f(0xf0)][_0x22e380['chat']],_0x244a81=global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380['sender']];if(_0x42d2e6!=_0x4c673f(0x17c)&&_0x42d2e6!=_0x4c673f(0x157)&&_0x42d2e6!='owner-exec2.js'&&_0x42d2e6!=_0x4c673f(0x162)&&_0x348f49?.[_0x4c673f(0x1c5)])return;if(_0x42d2e6!='owner-unbanuser.js'&&_0x244a81?.[_0x4c673f(0x168)])return;}if(_0x38fc28['rowner']&&_0x38fc28[_0x4c673f(0x1c8)]&&!(_0x123322||_0x4ca82c)){_0x4c020b(_0x4c673f(0x1c8),_0x22e380,this);continue;}if(_0x38fc28['rowner']&&!_0x123322){_0x4c020b(_0x4c673f(0x172),_0x22e380,this);continue;}if(_0x38fc28[_0x4c673f(0x1c8)]&&!_0x4ca82c){_0x4c020b('owner',_0x22e380,this);continue;}if(_0x38fc28['mods']&&!_0x283920){_0x4c020b(_0x4c673f(0x12f),_0x22e380,this);continue;}if(_0x38fc28[_0x4c673f(0x115)]&&!_0x4d05b0){_0x4c020b('premium',_0x22e380,this);continue;}if(_0x38fc28[_0x4c673f(0x1bc)]&&!_0x22e380[_0x4c673f(0xe1)]){_0x4c020b(_0x4c673f(0x1bc),_0x22e380,this);continue;}else{if(_0x38fc28['botAdmin']&&!_0x5b20ca){_0x4c020b(_0x4c673f(0x174),_0x22e380,this);continue;}else{if(_0x38fc28['admin']&&!_0xc1b0a3){_0x4c020b('admin',_0x22e380,this);continue;}}}if(_0x38fc28['private']&&_0x22e380[_0x4c673f(0xe1)]){_0x4c020b(_0x4c673f(0x103),_0x22e380,this);continue;}if(_0x38fc28[_0x4c673f(0x13e)]==!![]&&_0x529b0f[_0x4c673f(0x137)]==![]){_0x4c020b(_0x4c673f(0x134),_0x22e380,this);continue;}_0x22e380[_0x4c673f(0x147)]=!![];let _0x3927ae=_0x4c673f(0xf5)in _0x38fc28?parseInt(_0x38fc28[_0x4c673f(0xf5)]):0x11;if(_0x3927ae>0xc8)_0x22e380[_0x4c673f(0x1cc)]('chirrido\x20-_-');else _0x22e380[_0x4c673f(0xf5)]+=_0x3927ae;if(!_0x4d05b0&&_0x38fc28[_0x4c673f(0x13a)]&&global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]][_0x4c673f(0x13a)]<_0x38fc28[_0x4c673f(0x13a)]*0x1){this[_0x4c673f(0x1cc)](_0x22e380[_0x4c673f(0x1cd)],'🎯Your\x20Diamonds\x20Ran\x20Out\x20\x0a\x20Use\x20The\x20Following\x20Command\x20To\x20Buy\x20More\x20Diamonds\x20\x0a*'+_0x24c91b+_0x4c673f(0x1a8),_0x22e380);continue;}if(_0x38fc28[_0x4c673f(0x1cf)]>_0x529b0f[_0x4c673f(0x1cf)]){this[_0x4c673f(0x1cc)](_0x22e380[_0x4c673f(0x1cd)],'🎯Required\x20Level\x20'+_0x38fc28[_0x4c673f(0x1cf)]+_0x4c673f(0x136)+_0x529b0f[_0x4c673f(0x1cf)],_0x22e380);continue;}let _0x546761={'match':_0x1996c0,'usedPrefix':_0x24c91b,'noPrefix':_0x1f47a1,'_args':_0x4b385b,'args':_0x61b545,'command':_0x6002a2,'text':_0x4c3745,'conn':this,'participants':_0x4f93e3,'groupMetadata':_0x30e298,'user':_0x2ff05c,'bot':_0x246ee6,'isROwner':_0x123322,'isOwner':_0x4ca82c,'isRAdmin':_0x2819a9,'isAdmin':_0xc1b0a3,'isBotAdmin':_0x5b20ca,'isPrems':_0x4d05b0,'chatUpdate':_0x1d4503,'__dirname':_0xb49fce,'__filename':_0x4b90d3};try{await _0x38fc28[_0x4c673f(0x1d5)](this,_0x22e380,_0x546761);if(!_0x4d05b0)_0x22e380[_0x4c673f(0x13a)]=_0x22e380[_0x4c673f(0x13a)]||_0x38fc28[_0x4c673f(0x13a)]||![];}catch(_0xefebab){_0x22e380[_0x4c673f(0x133)]=_0xefebab,console[_0x4c673f(0x133)](_0xefebab);if(_0xefebab){let _0x32af4f=format(_0xefebab);for(let _0x479026 of Object[_0x4c673f(0x192)](global[_0x4c673f(0xef)]))_0x32af4f=_0x32af4f[_0x4c673f(0x1be)](new RegExp(_0x479026,'g'),_0x4c673f(0xed));if(_0xefebab[_0x4c673f(0x11d)])for(let [_0x1ee812]of global['owner'][_0x4c673f(0x14c)](([_0x101544,_0x22f00b,_0x777ac8])=>_0x777ac8&&_0x101544)){let _0x2b1d23=(await conn[_0x4c673f(0x10d)](_0x1ee812))[0x0]||{};if(_0x2b1d23[_0x4c673f(0x194)])_0x22e380['reply']((_0x4c673f(0xe7)+_0x22e380[_0x4c673f(0x170)]+_0x4c673f(0xeb)+_0x22e380[_0x4c673f(0x197)]+_0x4c673f(0x148)+_0x22e380[_0x4c673f(0x1cd)]+_0x4c673f(0x125)+_0x24c91b+_0x6002a2+'\x20'+_0x61b545[_0x4c673f(0x12b)]('\x20')+'\x0a📄\x20*Error\x20Logs:*\x0a\x0a```'+_0x32af4f+'```')[_0x4c673f(0x1a4)](),_0x2b1d23[_0x4c673f(0x10a)]);}_0x22e380['reply'](_0x32af4f);}}finally{if(typeof _0x38fc28[_0x4c673f(0x110)]===_0x4c673f(0xf8))try{await _0x38fc28[_0x4c673f(0x110)][_0x4c673f(0x1d5)](this,_0x22e380,_0x546761);}catch(_0x5ec043){console[_0x4c673f(0x133)](_0x5ec043);}if(_0x22e380[_0x4c673f(0x13a)])_0x22e380[_0x4c673f(0x1cc)](_0x4c673f(0x15e)+ +_0x22e380[_0x4c673f(0x13a)]+'*\x20💎');}break;}}}catch(_0x49bb96){console[_0x4c673f(0x133)](_0x49bb96);}finally{if(opts[_0x4c673f(0xf6)]&&_0x22e380[_0x4c673f(0xd0)]){const _0x4b3551=this['msgqueque'][_0x4c673f(0x12e)](_0x22e380['id']||_0x22e380[_0x4c673f(0xe8)]['id']);if(_0x4b3551!==-0x1)this[_0x4c673f(0x19a)][_0x4c673f(0x1b0)](_0x4b3551,0x1);}let _0x3c36c1,_0x161ae5=global['db'][_0x4c673f(0x18f)][_0x4c673f(0xfe)];if(_0x22e380){_0x22e380[_0x4c673f(0x197)]&&(_0x3c36c1=global['db'][_0x4c673f(0x18f)][_0x4c673f(0x107)][_0x22e380[_0x4c673f(0x197)]])&&(_0x3c36c1[_0x4c673f(0xf5)]+=_0x22e380[_0x4c673f(0xf5)],_0x3c36c1[_0x4c673f(0x176)]-=_0x22e380[_0x4c673f(0x176)]*0x1);let _0x299316;if(_0x22e380[_0x4c673f(0x170)]){let _0xc25e29=+new Date();if(_0x22e380[_0x4c673f(0x170)]in _0x161ae5){_0x299316=_0x161ae5[_0x22e380[_0x4c673f(0x170)]];if(!isNumber(_0x299316[_0x4c673f(0xea)]))_0x299316[_0x4c673f(0xea)]=0x1;if(!isNumber(_0x299316[_0x4c673f(0x19f)]))_0x299316[_0x4c673f(0x19f)]=_0x22e380[_0x4c673f(0x133)]!=null?0x0:0x1;if(!isNumber(_0x299316[_0x4c673f(0x163)]))_0x299316[_0x4c673f(0x163)]=_0xc25e29;if(!isNumber(_0x299316['lastSuccess']))_0x299316['lastSuccess']=_0x22e380['error']!=null?0x0:_0xc25e29;}else _0x299316=_0x161ae5[_0x22e380['plugin']]={'total':0x1,'success':_0x22e380[_0x4c673f(0x133)]!=null?0x0:0x1,'last':_0xc25e29,'lastSuccess':_0x22e380[_0x4c673f(0x133)]!=null?0x0:_0xc25e29};_0x299316['total']+=0x1,_0x299316[_0x4c673f(0x163)]=_0xc25e29,_0x22e380[_0x4c673f(0x133)]==null&&(_0x299316[_0x4c673f(0x19f)]+=0x1,_0x299316['lastSuccess']=_0xc25e29);}}try{if(!opts['noprint'])await(await import(_0x4c673f(0x1a9)))[_0x4c673f(0x175)](_0x22e380,this);}catch(_0x1920e1){console[_0x4c673f(0x1c3)](_0x22e380,_0x22e380[_0x4c673f(0xdb)],_0x1920e1);}if(opts[_0x4c673f(0x1c0)])await this[_0x4c673f(0x1d3)](_0x22e380[_0x4c673f(0x1cd)],_0x22e380['isGroup']?_0x22e380[_0x4c673f(0x197)]:undefined,_0x22e380['id']||_0x22e380[_0x4c673f(0xe8)]['id'])['catch'](()=>{});}}export async function participantsUpdate({id:_0x24ccab,participants:_0x2455a9,action:_0x5d3294}){const _0x2cd859=_0x1ee31e;if(opts[_0x2cd859(0x1c4)])return;if(this['isInit'])return;if(global['db'][_0x2cd859(0x18f)]==null)await loadDatabase();let _0xc75824=global['db'][_0x2cd859(0x18f)]['chats'][_0x24ccab]||{},_0x20f265='';switch(_0x5d3294){case'add':case _0x2cd859(0x13c):if(_0xc75824[_0x2cd859(0x11a)]){let _0x913ba7=await this[_0x2cd859(0x18b)](_0x24ccab)||(conn[_0x2cd859(0xf0)][_0x24ccab]||{})[_0x2cd859(0x169)];for(let _0x569ae9 of _0x2455a9){let _0x45deec='https://replicate.delivery/pbxt/QbP6Fh3ZXwKON9SCB70ERGwwgeeSbztwKIOIzhUeXFkwnFHiA/out.png',_0x3f3840=_0x2cd859(0xf7);try{_0x45deec=await this['profilePictureUrl'](_0x569ae9,_0x2cd859(0x1c9)),_0x3f3840=await this[_0x2cd859(0x108)](_0x24ccab,'image');}finally{_0x20f265=(_0x5d3294==='add'?(_0xc75824['sWelcome']||this[_0x2cd859(0x11a)]||conn[_0x2cd859(0x11a)]||'Welcome,\x20@user')['replace'](_0x2cd859(0x109),await this[_0x2cd859(0x132)](_0x24ccab))[_0x2cd859(0x1be)](_0x2cd859(0x106),_0x913ba7['desc']?.[_0x2cd859(0x1b3)]()||_0x2cd859(0xda)):_0xc75824[_0x2cd859(0xd2)]||this[_0x2cd859(0x14e)]||conn[_0x2cd859(0x14e)]||_0x2cd859(0x16b))[_0x2cd859(0x1be)]('@user','@'+_0x569ae9[_0x2cd859(0x199)]('@')[0x0]);let _0x963388=API(_0x2cd859(0x12d),'/api/welcome',{'username':await this[_0x2cd859(0x132)](_0x569ae9),'groupname':await this[_0x2cd859(0x132)](_0x24ccab),'groupicon':_0x3f3840,'membercount':_0x913ba7['participants'][_0x2cd859(0x187)],'profile':_0x45deec,'background':'https://i.imgur.com/bbWbASn.jpg'},'apikey'),_0x290a71=API('fgmods',_0x2cd859(0xca),{'username':await this[_0x2cd859(0x132)](_0x569ae9),'groupname':await this[_0x2cd859(0x132)](_0x24ccab),'groupicon':_0x3f3840,'membercount':_0x913ba7[_0x2cd859(0xf2)][_0x2cd859(0x187)],'profile':_0x45deec,'background':'https://i.imgur.com/klTSO3d.jpg'},'apikey');this[_0x2cd859(0xe3)](_0x24ccab,_0x5d3294===_0x2cd859(0x101)?_0x963388:_0x290a71,'pp.jpg',_0x20f265,null,![],{'mentions':[_0x569ae9]});}}}break;case _0x2cd859(0xfc):case _0x2cd859(0x186):_0x20f265=_0xc75824[_0x2cd859(0xd6)]||this[_0x2cd859(0x1b7)]||conn[_0x2cd859(0x1b7)]||_0x2cd859(0x118);case _0x2cd859(0x1af):case _0x2cd859(0x1d4):if(!_0x20f265)_0x20f265=_0xc75824[_0x2cd859(0xfa)]||this['sdemote']||conn[_0x2cd859(0x14f)]||'@user\x20not\x20now\x20an\x20administrador';_0x20f265=_0x20f265[_0x2cd859(0x1be)](_0x2cd859(0x18c),'@'+_0x2455a9[0x0]['split']('@')[0x0]);if(_0xc75824['detect'])this[_0x2cd859(0xc5)](_0x24ccab,{'text':_0x20f265,'mentions':this['parseMention'](_0x20f265)});break;}}export async function groupsUpdate(_0x3c5d36){const _0x20616f=_0x1ee31e;if(opts[_0x20616f(0x1c4)])return;for(const _0x27bbcd of _0x3c5d36){const _0x9fa0a2=_0x27bbcd['id'];if(!_0x9fa0a2)continue;let _0x1f7dbd=global['db'][_0x20616f(0x18f)][_0x20616f(0xf0)][_0x9fa0a2],_0x58ceed='';if(!_0x1f7dbd?.['detect'])continue;if(_0x27bbcd['desc'])_0x58ceed=(_0x1f7dbd[_0x20616f(0x14a)]||this['sDesc']||conn[_0x20616f(0x14a)]||'```Description\x20has\x20been\x20changed\x20to```\x0a@desc')[_0x20616f(0x1be)](_0x20616f(0x106),_0x27bbcd['desc']);if(_0x27bbcd[_0x20616f(0x10e)])_0x58ceed=(_0x1f7dbd[_0x20616f(0xdf)]||this['sSubject']||conn['sSubject']||_0x20616f(0xcb))['replace'](_0x20616f(0x14b),_0x27bbcd['subject']);if(_0x27bbcd[_0x20616f(0x102)])_0x58ceed=(_0x1f7dbd[_0x20616f(0x149)]||this['sIcon']||conn[_0x20616f(0x149)]||_0x20616f(0x100))[_0x20616f(0x1be)](_0x20616f(0x154),_0x27bbcd[_0x20616f(0x102)]);if(_0x27bbcd[_0x20616f(0x1c7)])_0x58ceed=(_0x1f7dbd[_0x20616f(0x181)]||this['sRevoke']||conn[_0x20616f(0x181)]||_0x20616f(0x184))[_0x20616f(0x1be)](_0x20616f(0x17e),_0x27bbcd[_0x20616f(0x1c7)]);if(_0x27bbcd[_0x20616f(0x1bf)]==!![])_0x58ceed=_0x1f7dbd[_0x20616f(0x1a7)]||this[_0x20616f(0x1a7)]||conn['sAnnounceOn']||_0x20616f(0x1a0);if(_0x27bbcd[_0x20616f(0x1bf)]==![])_0x58ceed=_0x1f7dbd[_0x20616f(0x164)]||this[_0x20616f(0x164)]||conn[_0x20616f(0x164)]||'*Group\x20has\x20been\x20open!*';if(_0x27bbcd[_0x20616f(0x10b)]==!![])_0x58ceed=_0x1f7dbd['sRestrictOn']||this[_0x20616f(0x143)]||conn[_0x20616f(0x143)]||'*Group\x20has\x20been\x20all\x20participants!*';if(_0x27bbcd[_0x20616f(0x10b)]==![])_0x58ceed=_0x1f7dbd[_0x20616f(0x167)]||this[_0x20616f(0x167)]||conn['sRestrictOff']||_0x20616f(0x10f);if(!_0x58ceed)continue;await this[_0x20616f(0xc5)](_0x9fa0a2,{'text':_0x58ceed,'mentions':this[_0x20616f(0x116)](_0x58ceed)});}}export async function deleteUpdate(_0xda22b6){const _0x2a207f=_0x1ee31e;try{const {fromMe:_0x1bfe3d,id:_0x34aae2,participant:_0x16a79c}=_0xda22b6;if(_0x1bfe3d)return;let _0x5aea59=this[_0x2a207f(0x142)](this[_0x2a207f(0xdc)](_0x34aae2));if(!_0x5aea59)return;let _0x4c3b8c=global['db'][_0x2a207f(0x18f)][_0x2a207f(0xf0)][_0x5aea59[_0x2a207f(0x1cd)]]||{};if(_0x4c3b8c['delete'])return;await this[_0x2a207f(0x1cc)](_0x5aea59[_0x2a207f(0x1cd)],(_0x2a207f(0x117)+_0x16a79c[_0x2a207f(0x199)]`@`[0x0]+_0x2a207f(0xd3))[_0x2a207f(0x1a4)](),_0x5aea59,{'mentions':[_0x16a79c]}),this[_0x2a207f(0x1ca)](_0x5aea59[_0x2a207f(0x1cd)],_0x5aea59)['catch'](_0x4ef0e1=>console['log'](_0x4ef0e1,_0x5aea59));}catch(_0x2c8d6a){console[_0x2a207f(0x133)](_0x2c8d6a);}}global[_0x1ee31e(0x111)]=(_0x30d24f,_0xb04787,_0x3cd289)=>{const _0x3dfe72=_0x1ee31e;let _0x1616f2={'rowner':_0x3dfe72(0x1bd),'owner':_0x3dfe72(0x128),'mods':'This\x20Function\x20Is\x20Only\x20*For\x20Bot\x20Moderators*','premium':_0x3dfe72(0x1a5),'group':_0x3dfe72(0xec),'private':_0x3dfe72(0x123),'admin':_0x3dfe72(0x19b),'botAdmin':'To\x20Use\x20This\x20Command\x20I\x20Must\x20Be\x20*Admin!*','unreg':_0x3dfe72(0x131),'restrict':_0x3dfe72(0x11c)}[_0x30d24f];if(_0x1616f2)return _0xb04787[_0x3dfe72(0x1cc)](_0x1616f2);};let file=global[_0x1ee31e(0xf9)](import.meta['url'],!![]);watchFile(file,async()=>{const _0x4aa561=_0x1ee31e;unwatchFile(file),console[_0x4aa561(0x1c3)](_0xc11f01[_0x4aa561(0x195)](_0x4aa561(0x183)));if(global['reloadHandler'])console[_0x4aa561(0x1c3)](await global[_0x4aa561(0x141)]());});