forked from shizothetechie/Wiley-md
-
Notifications
You must be signed in to change notification settings - Fork 0
/
handler.js
1 lines (1 loc) ยท 31.5 KB
/
handler.js
1
const _0x5cbc35=_0x5717;(function(_0x5c3113,_0x19c84d){const _0x1cd396=_0x5717,_0x4688fa=_0x5c3113();while(!![]){try{const _0x154b56=-parseInt(_0x1cd396(0x10b))/0x1*(-parseInt(_0x1cd396(0x12e))/0x2)+parseInt(_0x1cd396(0xb5))/0x3*(-parseInt(_0x1cd396(0x105))/0x4)+parseInt(_0x1cd396(0x9a))/0x5+parseInt(_0x1cd396(0x8b))/0x6+parseInt(_0x1cd396(0x135))/0x7+parseInt(_0x1cd396(0x114))/0x8+-parseInt(_0x1cd396(0x14c))/0x9;if(_0x154b56===_0x19c84d)break;else _0x4688fa['push'](_0x4688fa['shift']());}catch(_0x2751f5){_0x4688fa['push'](_0x4688fa['shift']());}}}(_0x2d7b,0x2fa2c));function _0x5717(_0x338e4d,_0x33fbe6){const _0x2d7b7c=_0x2d7b();return _0x5717=function(_0x57174f,_0x27c287){_0x57174f=_0x57174f-0x84;let _0x182c01=_0x2d7b7c[_0x57174f];return _0x182c01;},_0x5717(_0x338e4d,_0x33fbe6);}import{smsg}from'./lib/simple.js';function _0x2d7b(){const _0x58895b=['image','@user','spromote','This\x20command\x20is\x20only\x20for\x20the\x20*Admin*\x20of\x20group!','role','@desc','parseMention','antiLink','function','Bye,\x20@user!','\x20level\x20is\x20required\x20to\x20use\x20this\x20command.\x20Your\x20level\x20is\x20','gconly','getName','๏ผโฟโ\x20๐๐๐ก๐๐ฎ-๐๐ฟ\x20โโฟ๏ผ','nobot','2185668qRqARD','toLowerCase','sIcon','decodeJid','vnd.openxmlformats-officedocument.wordprocessingml.document','messages','botAdmin','endsWith','```Group\x20link\x20has\x20been\x20changed\x20to```\x0a@revoke','conn','catch','remoteJid','premium','stats','register','1924195Efudva','includes','reply','copyNForward','owner-unbanuser.js','autoSticker','\x20Limit\x20used','expired','\x0a๐๐๐ฎ\x20๐ฌ๐ค๐ง๐ก๐\x20\x0a๐\x20๐๐ข\x20๐๐๐ก๐๐ฎ-๐ข๐\x20๐ฝ๐ค๐ฉ\x20\x0a๐ฟ๐๐ซ๐๐ก๐ค๐ฅ๐๐\x20๐๐ฎ\x20๐๐๐๐ข\x20๐๐๐๐๐\x20๐๐ก๐จ๐ค\x20๐๐ฃ๐ค๐ฌ\x20๐๐จ\x20๐๐\x20๐ฟ๐๐ซ๐๐ก๐ค๐ฅ๐๐ง๐จ\x0a\x0a๐๐๐๐จ\x20*','match','success','message','\x0a*Chat:*\x20','application/','onWhatsApp','__filename','relayMessage','*\x20๐๐ค๐ฉ\x20๐๐จ\x20๐ช๐จ๐๐จ\x20๐๐๐ก๐๐ฎ-๐ข๐\x20๐๐๐ง๐๐ฅ๐ฉ.\x0a๐๐๐ก๐๐ฎ-๐ข๐\x20๐๐๐ง๐๐ฅ๐ฉ\x20๐๐จ\x20๐ฉ๐ค๐ฉ๐๐ก๐ฎ\x20๐๐ง๐๐\x20๐ค๐\x20๐๐ค๐จ๐ฉ\x20๐๐ซ๐๐๐ก๐๐๐ก๐\x20๐๐ค๐ง\x20๐ฅ๐ช๐๐ก๐๐.\x0a\x0a๐๐ค๐ช\x20๐๐๐ฃ\x20๐๐ก๐จ๐ค\x20๐๐๐ฅ๐ก๐ค๐ฎ\x20๐ฌ๐๐ก๐๐ฎ-๐ข๐\x20๐๐จ\x20๐ฎ๐ค๐ช๐ง\x20๐๐ค๐ฉ\x20๐ค๐ฃ\x20๐ฎ๐ค๐ช๐ง\x20๐ฃ๐ช๐ข๐๐๐ง.\x0a\x0a๐ฝ๐๐๐ค๐ง๐\x20๐ฎ๐ค๐ช\x20๐๐๐ฅ๐ก๐ค๐ฎ\x20๐ค๐ง\x20๐ช๐จ๐\x20๐ค๐ช๐ง\x20๐จ๐๐ง๐๐ฅ๐ฉ\x20๐ฅ๐ก๐๐๐จ๐\x20๐จ๐ฉ๐๐ง\x20๐๐ฃ๐\x20๐๐ค๐ง๐ \x20๐ฌ๐๐ก๐๐ฎ-๐ข๐\x20๐ง๐๐ฅ๐ค๐จ๐๐ฉ๐ค๐ง๐ฎ\x20๐ค๐ฃ\x20๐๐๐ฉ๐๐ช๐\x0a\x0a๐๐๐ก๐๐ฎ-๐ข๐\x20๐ฟ๐๐ซ๐๐ก๐ค๐ฅ๐๐ง๐จ\x20๐๐ง๐\x0aโข\x20๐๐๐ง๐๐ค๐ญ\x20๐ฏ๐ฟ\x0aโข\x20๐๐๐๐ฏ๐ค\x20๐๐๐\x20๐๐๐๐๐๐\x0a\x0a\x0a๐๐๐๐ฃ๐ \x20๐๐ค๐ช\x20๐๐ค๐ง\x20๐ฎ๐ค๐ช๐ง\x20๐ฅ๐ง๐๐๐๐ค๐ช๐จ\x20๐๐๐ข๐.\x0a','icon','name','afkReason','\x20\x0aSo\x20Unfortunately\x20You\x20have\x20been\x20Banned\x20in\x20our\x20system\x20and\x20restricted\x20from\x20using\x20','delete','premiumDate','exists','\x0a*Sender:*\x20','after','16041fmTsZQ','๐๐๐ก๐๐ฎ-๐๐ฟ\x20๐๐๐ง๐๐ฅ๐ฉ\x20๐๐จ\x20๐๐ง๐๐\x20๐๐ค๐ง\x20๐๐ก๐ก\x0a๐๐๐จ๐ฎ\x20๐ฉ๐ค\x20๐ฟ๐๐ฅ๐ก๐ค๐ฎ\x20๐๐๐ก๐๐ฎ-๐๐ฟ\x0a๐๐ช๐จ๐ฉ\x20๐๐ค๐ง๐ \x20๐ค๐ช๐ง\x20๐ง๐๐ฅ๐ค๐จ๐๐ฉ๐ค๐ง๐ฎ\x20๐๐ฃ๐\x20๐๐๐๐ฉ\x20๐๐ค๐ฃ๐๐๐\x20๐๐๐ก๐\x20๐๐ฃ๐\x20๐๐๐ฅ๐ก๐ค๐ฎ\x0a\x0a๐๐ค๐ช\x20๐๐๐ฃ\x20๐ผ๐ก๐จ๐ค\x20๐๐๐ฉ๐๐\x20๐ค๐ช๐ง\x20๐ฉ๐ช๐ฉ๐ค๐ง๐๐๐ก\x20๐๐๐๐๐ค\x20๐ค๐ฃ\x20๐๐ค๐ช๐๐ช๐๐','*This\x20Feature\x20is\x20disable\x20by\x20Owner*','tags','\x0a\x0a```','https://github.com/shizothetechie/Wiley-md','rowner','age','sDemote','warn','extendedTextMessage','welcome','key','\x0a\x20\x20\x20\x20\x20\x20\x20\x20@','keys','map','g.us','bye','@s.whatsapp.net','premiumTime','Available\x20only\x20in\x20private\x20chat','Make\x20the\x20bot\x20an\x20*Admin*\x20to\x20use\x20this\x20command!','command','Sorry\x20@','lastSuccess','join','padStart','antiToxic','lastclaim','superadmin','private','prefix','reload','@subject','group','send','isCommand','pconly','\x5c$&','sRevoke','slice','text','length','Wiley-md\x20Made\x20by\x20Team\x20ERROR','default','chats','noprint','detect','reason','sWelcome','Premium\x20only','string','lastSetStatus','fromMem','fromMe','participants','unreg','banned','regTime','filter','log','uptime','Welcome,\x20@user!','Made\x20with\x20โค๏ธ\x20by\x20Gariox\x20&\x20Shizo','round','total','sdemote','jid','๐พ๐ก๐๐๐ \x20๐๐๐\x20๐ฝ๐๐ก๐ค๐ฌ\x20๐ฝ๐ช๐ฉ๐ฉ๐ค๐ฃ\x20๐๐ค\x20๐๐๐ฉ๐๐\x20๐ฉ๐๐\x20๐๐ช๐ฉ๐ค๐ง๐๐๐ก\x20๐๐ค๐ง\x20๐ฟ๐๐ฅ๐ก๐ค๐ฎ๐๐ฃ๐\x20๐๐๐ก๐๐ฎ-๐๐ฟ\x0a๐๐ก๐๐๐จ๐\x20๐๐๐ ๐\x20๐๐ช๐ง๐\x20๐๐ค๐ช\x20๐๐ช๐๐จ๐๐ง๐๐๐\x20๐ค๐ช๐ง\x20๐พ๐๐๐ฃ๐ฃ๐๐ก\x20๐๐ฃ๐\x20๐๐๐ ๐\x20๐ฉ๐๐\x20๐ซ๐๐๐๐ค\x0a\x0a๐ค๐ฉ๐๐๐ง\x20๐๐ช๐ฉ๐ค๐ง๐๐๐ก\x20๐๐๐ฃ๐ ๐จ\x0a\x0a๐ฟ๐๐ฅ๐ก๐ค๐ฎ\x20๐๐๐ก๐๐ฎ-๐๐ฟ\x20๐ค๐ฃ\x0a\x0a๐๐๐ง๐ข๐ช๐ญ:\x20๐จ๐ค๐ค๐ฃ....\x0a\x0a๐๐๐๐ก๐ฌ๐๐ฎ.๐ผ๐ฅ๐ฅ:\x20๐จ๐ค๐ค๐ฃ...\x0a\x0a๐ ๐ค๐ฎ๐๐:\x20๐๐ค๐ค๐ฃ.....\x0a\x0a','@user\x20```is\x20now\x20Admin```','```Icon\x20has\x20been\x20changed\x20to```','admin','test','@revoke','groupMetadata','unqueue','number','subject','exec','https://instgram.com/shizo_the_techie','264jxnxNw','dirname','@user\x20```is\x20no\x20longer\x20Admin```','url','zip','waitQueue','6807FXRCbx','registered','```Subject\x20has\x20been\x20changed\x20to```\x0a@subject','rejected','Please\x20register\x20to\x20use\x20this\x20feature\x20by\x20typing:\x0a\x0a*#register\x20name|age*\x0a\x0aExample:\x20*#register\x20shizo.16*','APIKeys','ceil','sPromote','isGroup','394008jAqTAX','customPrefix','owner','@adiwajshing/baileys','user','#HIDDEN#','loadMessage','replace','Update\x20\x27handler.js\x27','autolevelup','updateProfileStatus','random','exp','dfail','autoread','Beginner','msgqueque','\x20\x0a*ใ\x20Info\x20ใ*\x0aOur\x20Patrolling\x20Team\x20Detect\x20You\x20as\x20Misbehaving\x20with\x20','desc','once','isArray','Made\x20with\x20โค๏ธ\x20by\x20TE\x20DEVELOPERS\x20๐ฅ','hehe-_-','limit','toString','participant','4DsXSox','object','./plugins','before','revoke','trim','store','2661519LSbADu','restrict','Your\x20limit\x20runs\x20out,\x20please\x20buy\x20via\x20*','demote','error','self','queque','\x20\x20\x20\x20\x20\x20\x20\x20\x20||\x20\x20\x20\x20\x20Script\x20at\x20https://GitHub.com/Shizothetechie/Wiley-MD\x20\x20\x20\x20\x20\x20||\x20\x09Type\x20#script\x20to\x20get\x20script','viewonce','level','*Plugin:*\x20','find','isBanned','conversation','settings','split','This\x20command\x20can\x20only\x20be\x20used\x20by\x20_*Bot\x20Owner*_\x20!','last','fetchGroupMetadata','sDesc','sendMessage','Wiley-MD\x20Deploy\x20Tutorial','sendFile','5797629UnZGJK','profilePictureUrl','data','users','floor','sender','vnd.openxmlformats-officedocument.presentationml.presentation','pdf','disabled','chat','Available\x20Soon','sSubject','plugin','```','fail','lastBackup','status','sBye'];_0x2d7b=function(){return _0x58895b;};return _0x2d7b();}import{plugins}from'./lib/plugins.js';import{format}from'util';import{fileURLToPath}from'url';import _0x963abc,{join}from'path';import{unwatchFile,watchFile}from'fs';import _0x39829f from'chalk';import _0x145155 from'./lib/connection.js';import _0x119ad2 from'./lib/print.js';import _0xd56b7d from'./lib/helper.js';import _0x39637f,{loadDatabase}from'./lib/database.js';import _0x3d292b from'./lib/queque.js';const {getContentType,proto}=(await import(_0x5cbc35(0x117)))[_0x5cbc35(0xe1)],isNumber=_0x27e92a=>typeof _0x27e92a===_0x5cbc35(0x101)&&!isNaN(_0x27e92a);export async function handler(_0x15b269,_0x230567){const _0x59b8cc=_0x5cbc35;this[_0x59b8cc(0x124)]=this[_0x59b8cc(0x124)]||new _0x3d292b();if(!_0x15b269)return;let _0xff9901=_0x15b269[_0x59b8cc(0x90)][_0x15b269[_0x59b8cc(0x90)][_0x59b8cc(0xdf)]-0x1];if(!_0xff9901)return;if(_0x39637f[_0x59b8cc(0x14e)]==null)await loadDatabase();try{_0xff9901=smsg(this,_0xff9901)||_0xff9901;if(!_0xff9901)return;_0xff9901[_0x59b8cc(0x120)]=0x0,_0xff9901['limit']=![];try{let _0x22b81f=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x14f)][_0xff9901[_0x59b8cc(0x151)]];if(typeof _0x22b81f!==_0x59b8cc(0x12f))_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x14f)][_0xff9901['sender']]={};if(_0x22b81f){if(!isNumber(_0x22b81f[_0x59b8cc(0x120)]))_0x22b81f['exp']=0x0;if(!isNumber(_0x22b81f[_0x59b8cc(0x12b)]))_0x22b81f[_0x59b8cc(0x12b)]=0xa;if(!isNumber(_0x22b81f[_0x59b8cc(0xd1)]))_0x22b81f[_0x59b8cc(0xd1)]=0x0;if(!(_0x59b8cc(0x10c)in _0x22b81f))_0x22b81f[_0x59b8cc(0x10c)]=![];if(!_0x22b81f[_0x59b8cc(0x10c)]){if(!(_0x59b8cc(0xad)in _0x22b81f))_0x22b81f[_0x59b8cc(0xad)]=_0xff9901['name'];if(!isNumber(_0x22b81f[_0x59b8cc(0xbc)]))_0x22b81f[_0x59b8cc(0xbc)]=-0x1;if(!isNumber(_0x22b81f[_0x59b8cc(0xef)]))_0x22b81f[_0x59b8cc(0xef)]=-0x1;}if(!(_0x59b8cc(0x97)in _0x22b81f))_0x22b81f[_0x59b8cc(0x97)]=![];if(!('owner'in _0x22b81f))_0x22b81f[_0x59b8cc(0x116)]=![];if(!isNumber(_0x22b81f[_0x59b8cc(0xb1)]))_0x22b81f['premiumDate']=0x0;if(!isNumber(_0x22b81f['afk']))_0x22b81f['afk']=-0x1;if(!(_0x59b8cc(0xae)in _0x22b81f))_0x22b81f[_0x59b8cc(0xae)]='';if(!('banned'in _0x22b81f))_0x22b81f[_0x59b8cc(0xee)]=![];if(!isNumber(_0x22b81f[_0x59b8cc(0xbe)]))_0x22b81f['warn']=0x0;if(!isNumber(_0x22b81f[_0x59b8cc(0x13e)]))_0x22b81f[_0x59b8cc(0x13e)]=0x0;if(!(_0x59b8cc(0x162)in _0x22b81f))_0x22b81f['role']='Beginner';if(!(_0x59b8cc(0x11d)in _0x22b81f))_0x22b81f[_0x59b8cc(0x11d)]=!![];}else _0x39637f['data'][_0x59b8cc(0x14f)][_0xff9901['sender']]={'registered':![],'name':_0xff9901[_0x59b8cc(0xad)],'age':-0x1,'regTime':-0x1,'afk':-0x1,'afkReason':'','banned':![],'warn':0x0,'level':0x0,'role':_0x59b8cc(0x123),'autolevelup':!![],'premium':![]};let _0x10b3ad=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0xe2)][_0xff9901[_0x59b8cc(0x155)]];if(typeof _0x10b3ad!==_0x59b8cc(0x12f))_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0xe2)][_0xff9901[_0x59b8cc(0x155)]]={};if(_0x10b3ad){if(!(_0x59b8cc(0x141)in _0x10b3ad))_0x10b3ad['isBanned']=![];if(!(_0x59b8cc(0xc0)in _0x10b3ad))_0x10b3ad[_0x59b8cc(0xc0)]=![];if(!(_0x59b8cc(0xe4)in _0x10b3ad))_0x10b3ad['detect']=![];if(!(_0x59b8cc(0xe6)in _0x10b3ad))_0x10b3ad[_0x59b8cc(0xe6)]='';if(!(_0x59b8cc(0x15d)in _0x10b3ad))_0x10b3ad[_0x59b8cc(0x15d)]='';if(!(_0x59b8cc(0x112)in _0x10b3ad))_0x10b3ad['sPromote']='';if(!(_0x59b8cc(0xbd)in _0x10b3ad))_0x10b3ad[_0x59b8cc(0xbd)]='';if(!(_0x59b8cc(0xb0)in _0x10b3ad))_0x10b3ad[_0x59b8cc(0xb0)]=!![];if(!('antiLink'in _0x10b3ad))_0x10b3ad[_0x59b8cc(0x165)]=![];if(!('antiToxic'in _0x10b3ad))_0x10b3ad[_0x59b8cc(0xd0)]=![];if(!(_0x59b8cc(0x13d)in _0x10b3ad))_0x10b3ad['viewonce']=![];if(!('autoSticker'in _0x10b3ad))_0x10b3ad[_0x59b8cc(0x9f)]=![];if(!isNumber(_0x10b3ad['expired']))_0x10b3ad[_0x59b8cc(0xa1)]=0x0;}else _0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0xe2)][_0xff9901['chat']]={'isBanned':![],'welcome':![],'detect':![],'sWelcome':'','sBye':'','sPromote':'','sDemote':'','delete':!![],'antiLink':![],'antiToxic':![],'viewonce':![],'autoSticker':!![],'expired':0x0};let _0x381ffc=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x143)][this[_0x59b8cc(0x118)]['jid']];if(typeof _0x381ffc!==_0x59b8cc(0x12f))_0x39637f[_0x59b8cc(0x14e)]['settings'][this[_0x59b8cc(0x118)][_0x59b8cc(0xf8)]]={};if(_0x381ffc){if(!('self'in _0x381ffc))_0x381ffc[_0x59b8cc(0x13a)]=![];if(!(_0x59b8cc(0x122)in _0x381ffc))_0x381ffc[_0x59b8cc(0x122)]=![];if(!(_0x59b8cc(0x136)in _0x381ffc))_0x381ffc['restrict']=![];}else _0x39637f['data'][_0x59b8cc(0x143)][this['user'][_0x59b8cc(0xf8)]]={'self':![],'autoread':![],'restrict':![]};}catch(_0x29fe04){console['error'](_0x29fe04);}if(opts[_0x59b8cc(0x8a)])return;if(!_0xff9901[_0x59b8cc(0xeb)]&&opts[_0x59b8cc(0x13a)])return;if(opts[_0x59b8cc(0xda)]&&_0xff9901[_0x59b8cc(0x155)][_0x59b8cc(0x92)](_0x59b8cc(0xc5)))return;if(opts[_0x59b8cc(0x87)]&&!_0xff9901[_0x59b8cc(0x155)][_0x59b8cc(0x92)]('g.us'))return;if(opts['swonly']&&_0xff9901['chat']!=='status@broadcast')return;if(typeof _0xff9901[_0x59b8cc(0xde)]!==_0x59b8cc(0xe8))_0xff9901[_0x59b8cc(0xde)]='';let _0x101126=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x14f)][_0xff9901[_0x59b8cc(0x151)]];const _0x37af4a=[this[_0x59b8cc(0x8e)](this[_0x59b8cc(0x118)]['id']),...global[_0x59b8cc(0x116)][_0x59b8cc(0xc4)](([_0xc2de3e])=>_0xc2de3e)][_0x59b8cc(0xc4)](_0x164625=>_0x164625?.[_0x59b8cc(0x11b)](/[^0-9]/g,'')+_0x59b8cc(0xc7))[_0x59b8cc(0x9b)](_0xff9901['sender']),_0x1f362f=_0x37af4a||_0xff9901[_0x59b8cc(0xeb)],_0x1e2915=_0x37af4a||_0x39637f['data'][_0x59b8cc(0x14f)][_0xff9901[_0x59b8cc(0x151)]][_0x59b8cc(0xc8)]>0x0;if(opts[_0x59b8cc(0x13b)]&&_0xff9901[_0x59b8cc(0xde)]&&!_0xff9901[_0x59b8cc(0xeb)]&&!_0x1e2915){const _0x5ad802=_0xff9901['id'];this['msgqueque']['add'](_0x5ad802),await this[_0x59b8cc(0x124)][_0x59b8cc(0x10a)](_0x5ad802);}if(_0xff9901['isBaileys'])return;_0xff9901[_0x59b8cc(0x120)]+=Math[_0x59b8cc(0x111)](Math[_0x59b8cc(0x11f)]()*0xa);let _0x493123,_0x3bdb8c=_0x39637f[_0x59b8cc(0x14e)]?.[_0x59b8cc(0x14f)]?.[_0xff9901[_0x59b8cc(0x151)]];const _0x42892a=(_0xff9901[_0x59b8cc(0x113)]?await _0x145155[_0x59b8cc(0x134)][_0x59b8cc(0x147)](_0xff9901[_0x59b8cc(0x155)],this['groupMetadata']):{})||{},_0x10262a=(_0xff9901[_0x59b8cc(0x113)]?_0x42892a[_0x59b8cc(0xec)]:[])||[],_0x410a62=(_0xff9901['isGroup']?_0x10262a[_0x59b8cc(0x140)](_0x54cd23=>this['decodeJid'](_0x54cd23['id'])===_0xff9901[_0x59b8cc(0x151)]):{})||{},_0x489e26=(_0xff9901[_0x59b8cc(0x113)]?_0x10262a[_0x59b8cc(0x140)](_0x2e6493=>this[_0x59b8cc(0x8e)](_0x2e6493['id'])==this['user'][_0x59b8cc(0xf8)]):{})||{},_0x245bd7=_0x410a62?.[_0x59b8cc(0xfc)]==_0x59b8cc(0xd2)||![],_0x442286=_0x245bd7||_0x410a62?.[_0x59b8cc(0xfc)]==_0x59b8cc(0xfc)||![],_0xc05794=_0x489e26?.[_0x59b8cc(0xfc)]||![],_0xfed4b4=_0x963abc[_0x59b8cc(0xce)](_0x963abc[_0x59b8cc(0x106)](fileURLToPath(import.meta[_0x59b8cc(0x108)])),_0x59b8cc(0x130));for(let _0x4e41fd in plugins){let _0x282150=plugins[_0x4e41fd];if(!_0x282150)continue;if(_0x282150[_0x59b8cc(0x154)])continue;const _0x58d02e=join(_0xfed4b4,_0x4e41fd);if(typeof _0x282150['all']===_0x59b8cc(0x84))try{await _0x282150['all']['call'](this,_0xff9901,{'chatUpdate':_0x15b269,'__dirname':_0xfed4b4,'__filename':_0x58d02e});}catch(_0x353e78){console[_0x59b8cc(0x139)](_0x353e78);for(let [_0x436657]of global[_0x59b8cc(0x116)][_0x59b8cc(0xf0)](([_0x56e5f8,_0x59a3bd,_0x4c7cfa])=>_0x4c7cfa&&_0x56e5f8)){let _0x851756=(await this[_0x59b8cc(0xa8)](_0x436657))[0x0]||{};if(_0x851756[_0x59b8cc(0xb2)])_0xff9901[_0x59b8cc(0x9c)]((_0x59b8cc(0x13f)+_0x4e41fd+'\x0a*Sender:*\x20'+_0xff9901[_0x59b8cc(0x151)]+_0x59b8cc(0xa6)+_0xff9901[_0x59b8cc(0x155)]+'\x0a*Command:*\x20'+_0xff9901[_0x59b8cc(0xde)]+_0x59b8cc(0xb9)+format(_0x353e78)+_0x59b8cc(0x159))[_0x59b8cc(0x133)](),_0x851756[_0x59b8cc(0xf8)]);}}if(!opts[_0x59b8cc(0x136)]){if(_0x282150[_0x59b8cc(0xb8)]&&_0x282150[_0x59b8cc(0xb8)][_0x59b8cc(0x9b)](_0x59b8cc(0xfc))){global[_0x59b8cc(0x121)](_0x59b8cc(0x136),_0xff9901,this);continue;}}const _0x5981fa=_0x1042b6=>_0x1042b6[_0x59b8cc(0x11b)](/[|\\{}()[\]^$+*?.]/g,_0x59b8cc(0xdb));let _0x5ab32a=_0x282150[_0x59b8cc(0x115)]?_0x282150[_0x59b8cc(0x115)]:this[_0x59b8cc(0xd4)]?this[_0x59b8cc(0xd4)]:global[_0x59b8cc(0xd4)],_0x2c02ea=(_0x5ab32a instanceof RegExp?[[_0x5ab32a[_0x59b8cc(0x103)](_0xff9901[_0x59b8cc(0xde)]),_0x5ab32a]]:Array[_0x59b8cc(0x128)](_0x5ab32a)?_0x5ab32a[_0x59b8cc(0xc4)](_0x3f448c=>{const _0x3fc086=_0x59b8cc;let _0x40866b=_0x3f448c instanceof RegExp?_0x3f448c:new RegExp(_0x5981fa(_0x3f448c));return[_0x40866b[_0x3fc086(0x103)](_0xff9901['text']),_0x40866b];}):typeof _0x5ab32a==='string'?[[new RegExp(_0x5981fa(_0x5ab32a))['exec'](_0xff9901['text']),new RegExp(_0x5981fa(_0x5ab32a))]]:[[[],new RegExp()]])[_0x59b8cc(0x140)](_0x1c4567=>_0x1c4567[0x1]);if(typeof _0x282150[_0x59b8cc(0x131)]===_0x59b8cc(0x84)){if(await _0x282150[_0x59b8cc(0x131)]['call'](this,_0xff9901,{'match':_0x2c02ea,'conn':this,'participants':_0x10262a,'groupMetadata':_0x42892a,'user':_0x410a62,'bot':_0x489e26,'isROwner':_0x37af4a,'isOwner':_0x1f362f,'isRAdmin':_0x245bd7,'isAdmin':_0x442286,'isBotAdmin':_0xc05794,'isPrems':_0x1e2915,'chatUpdate':_0x15b269,'__dirname':_0xfed4b4,'__filename':_0x58d02e}))continue;}if(typeof _0x282150!=='function')continue;if(_0x493123=(_0x2c02ea[0x0]||'')[0x0]){let _0x4e5697=_0xff9901[_0x59b8cc(0xde)][_0x59b8cc(0x11b)](_0x493123,''),[_0x457d8f,..._0x8b70be]=_0x4e5697['trim']()['split']` `['filter'](_0x47d725=>_0x47d725);_0x8b70be=_0x8b70be||[];let _0x52e200=_0x4e5697['trim']()[_0x59b8cc(0x144)]` `[_0x59b8cc(0xdd)](0x1),_0x25a507=_0x52e200[_0x59b8cc(0xce)]` `;_0x457d8f=(_0x457d8f||'')[_0x59b8cc(0x8c)]();let _0x4952eb=_0x282150[_0x59b8cc(0x15a)]||global['dfail'],_0x35ddd0=_0x282150['command']instanceof RegExp?_0x282150[_0x59b8cc(0xcb)][_0x59b8cc(0xfd)](_0x457d8f):Array['isArray'](_0x282150[_0x59b8cc(0xcb)])?_0x282150[_0x59b8cc(0xcb)]['some'](_0x5b4ba7=>_0x5b4ba7 instanceof RegExp?_0x5b4ba7[_0x59b8cc(0xfd)](_0x457d8f):_0x5b4ba7===_0x457d8f):typeof _0x282150[_0x59b8cc(0xcb)]===_0x59b8cc(0xe8)?_0x282150[_0x59b8cc(0xcb)]===_0x457d8f:![];if(!_0x35ddd0)continue;_0xff9901['plugin']=_0x4e41fd;if(_0xff9901[_0x59b8cc(0x155)]in _0x39637f[_0x59b8cc(0x14e)]['chats']||_0xff9901['sender']in _0x39637f['data']['users']){let _0x4b0e4e=_0x39637f['data'][_0x59b8cc(0xe2)][_0xff9901[_0x59b8cc(0x155)]],_0x323eb0=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x14f)][_0xff9901[_0x59b8cc(0x151)]];if(_0x323eb0[_0x59b8cc(0xee)])return this[_0x59b8cc(0x9c)](_0xff9901[_0x59b8cc(0x155)],_0x59b8cc(0xcc)+_0xff9901[_0x59b8cc(0x151)][_0x59b8cc(0x144)]`@`[0x0]+_0x59b8cc(0x125)+bname+_0x59b8cc(0xaf)+bname,_0xff9901,{'mentions':[_0xff9901[_0x59b8cc(0x151)]]});if(_0x4e41fd!=_0x59b8cc(0x9e)&&_0x323eb0?.[_0x59b8cc(0xee)])return;}if(_0x282150[_0x59b8cc(0xbb)]&&_0x282150[_0x59b8cc(0x116)]&&!(_0x37af4a||_0x1f362f)){_0x4952eb(_0x59b8cc(0x116),_0xff9901,this);continue;}if(_0x282150[_0x59b8cc(0xbb)]&&!_0x37af4a){_0x4952eb(_0x59b8cc(0xbb),_0xff9901,this);continue;}if(_0x282150[_0x59b8cc(0x116)]&&!_0x1f362f){_0x4952eb('owner',_0xff9901,this);continue;}if(_0x282150['premium']&&!_0x1e2915){_0x4952eb(_0x59b8cc(0x97),_0xff9901,this);continue;}if(_0x282150[_0x59b8cc(0xd7)]&&!_0xff9901[_0x59b8cc(0x113)]){_0x4952eb('group',_0xff9901,this);continue;}else{if(_0x282150[_0x59b8cc(0x91)]&&!_0xc05794){_0x4952eb(_0x59b8cc(0x91),_0xff9901,this);continue;}else{if(_0x282150[_0x59b8cc(0xfc)]&&!_0x442286){_0x4952eb(_0x59b8cc(0xfc),_0xff9901,this);continue;}}}if(_0x282150[_0x59b8cc(0xd3)]&&_0xff9901[_0x59b8cc(0x113)]){_0x4952eb(_0x59b8cc(0xd3),_0xff9901,this);continue;}if(_0x282150[_0x59b8cc(0x99)]==!![]&&_0x3bdb8c[_0x59b8cc(0x10c)]==![]){_0x4952eb(_0x59b8cc(0xed),_0xff9901,this);continue;}_0xff9901[_0x59b8cc(0xd9)]=!![];let _0x3294f7='exp'in _0x282150?parseInt(_0x282150[_0x59b8cc(0x120)]):0x11;if(_0x3294f7>0xc8)_0xff9901[_0x59b8cc(0x9c)](_0x59b8cc(0x12a));else _0xff9901[_0x59b8cc(0x120)]+=_0x3294f7;if(!_0x1e2915&&_0x282150[_0x59b8cc(0x12b)]&&_0x39637f['data'][_0x59b8cc(0x14f)][_0xff9901['sender']][_0x59b8cc(0x12b)]<_0x282150[_0x59b8cc(0x12b)]*0x1){this[_0x59b8cc(0x9c)](_0xff9901[_0x59b8cc(0x155)],_0x59b8cc(0x137)+_0x493123+'buy*',_0xff9901);continue;}if(_0x282150[_0x59b8cc(0x13e)]>_0x3bdb8c[_0x59b8cc(0x13e)]){this[_0x59b8cc(0x9c)](_0xff9901[_0x59b8cc(0x155)],_0x282150[_0x59b8cc(0x13e)]+_0x59b8cc(0x86)+_0x3bdb8c[_0x59b8cc(0x13e)],_0xff9901);continue;}let _0x266914={'match':_0x2c02ea,'usedPrefix':_0x493123,'noPrefix':_0x4e5697,'_args':_0x52e200,'args':_0x8b70be,'command':_0x457d8f,'text':_0x25a507,'conn':this,'participants':_0x10262a,'groupMetadata':_0x42892a,'user':_0x410a62,'bot':_0x489e26,'isROwner':_0x37af4a,'isOwner':_0x1f362f,'isRAdmin':_0x245bd7,'isAdmin':_0x442286,'isBotAdmin':_0xc05794,'isPrems':_0x1e2915,'chatUpdate':_0x15b269,'__dirname':_0xfed4b4,'__filename':_0x58d02e};try{await _0x282150['call'](this,_0xff9901,_0x266914);if(!_0x1e2915)_0xff9901[_0x59b8cc(0x12b)]=_0xff9901['limit']||_0x282150['limit']||![];}catch(_0x5e7cbb){_0xff9901[_0x59b8cc(0x139)]=_0x5e7cbb,console[_0x59b8cc(0x139)](_0x5e7cbb);if(_0x5e7cbb){let _0x1341de=format(_0x5e7cbb);for(let _0x37d66c of Object['values'](global[_0x59b8cc(0x110)]))_0x1341de=_0x1341de['replace'](new RegExp(_0x37d66c,'g'),_0x59b8cc(0x119));if(_0x5e7cbb[_0x59b8cc(0xad)])for(let [_0x2a87cb]of global[_0x59b8cc(0x116)][_0x59b8cc(0xf0)](([_0x36c24f,_0x4929af,_0x505adf])=>_0x505adf&&_0x36c24f)){let _0x37b0c1=(await this[_0x59b8cc(0xa8)](_0x2a87cb))[0x0]||{};if(_0x37b0c1[_0x59b8cc(0xb2)])_0xff9901[_0x59b8cc(0x9c)]((_0x59b8cc(0x13f)+_0xff9901[_0x59b8cc(0x158)]+_0x59b8cc(0xb3)+_0xff9901[_0x59b8cc(0x151)]+_0x59b8cc(0xa6)+_0xff9901[_0x59b8cc(0x155)]+'\x0a*Command:*\x20'+_0x493123+_0x457d8f+'\x20'+_0x8b70be[_0x59b8cc(0xce)]('\x20')+_0x59b8cc(0xb9)+_0x1341de+_0x59b8cc(0x159))[_0x59b8cc(0x133)](),_0x37b0c1['jid']);}_0xff9901[_0x59b8cc(0x9c)](_0x1341de);}}finally{if(typeof _0x282150[_0x59b8cc(0xb4)]==='function')try{await _0x282150[_0x59b8cc(0xb4)]['call'](this,_0xff9901,_0x266914);}catch(_0x352563){console[_0x59b8cc(0x139)](_0x352563);}if(_0xff9901['limit'])_0xff9901['reply'](+_0xff9901[_0x59b8cc(0x12b)]+_0x59b8cc(0xa0));}break;}}}catch(_0x1b7550){console[_0x59b8cc(0x139)](_0x1b7550);}finally{if(opts[_0x59b8cc(0x13b)]&&_0xff9901[_0x59b8cc(0xde)]){const _0x239957=_0xff9901['id'];this[_0x59b8cc(0x124)][_0x59b8cc(0x100)](_0x239957);}let _0x2f0422,_0x4c73e1=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x98)];if(_0xff9901){_0xff9901[_0x59b8cc(0x151)]&&(_0x2f0422=_0x39637f[_0x59b8cc(0x14e)][_0x59b8cc(0x14f)][_0xff9901[_0x59b8cc(0x151)]])&&(_0x2f0422['exp']+=_0xff9901['exp'],_0x2f0422[_0x59b8cc(0x12b)]-=_0xff9901[_0x59b8cc(0x12b)]*0x1);let _0x4c9549;if(_0xff9901[_0x59b8cc(0x158)]){let _0x2d613d=+new Date();if(_0xff9901['plugin']in _0x4c73e1){_0x4c9549=_0x4c73e1[_0xff9901[_0x59b8cc(0x158)]];if(!isNumber(_0x4c9549['total']))_0x4c9549[_0x59b8cc(0xf6)]=0x1;if(!isNumber(_0x4c9549[_0x59b8cc(0xa4)]))_0x4c9549['success']=_0xff9901[_0x59b8cc(0x139)]!=null?0x0:0x1;if(!isNumber(_0x4c9549[_0x59b8cc(0x146)]))_0x4c9549[_0x59b8cc(0x146)]=_0x2d613d;if(!isNumber(_0x4c9549[_0x59b8cc(0xcd)]))_0x4c9549['lastSuccess']=_0xff9901[_0x59b8cc(0x139)]!=null?0x0:_0x2d613d;}else _0x4c9549=_0x4c73e1[_0xff9901[_0x59b8cc(0x158)]]={'total':0x1,'success':_0xff9901[_0x59b8cc(0x139)]!=null?0x0:0x1,'last':_0x2d613d,'lastSuccess':_0xff9901[_0x59b8cc(0x139)]!=null?0x0:_0x2d613d};_0x4c9549['total']+=0x1,_0x4c9549[_0x59b8cc(0x146)]=_0x2d613d,_0xff9901[_0x59b8cc(0x139)]==null&&(_0x4c9549[_0x59b8cc(0xa4)]+=0x1,_0x4c9549['lastSuccess']=_0x2d613d);}}try{if(!opts[_0x59b8cc(0xe3)])await _0x119ad2(_0xff9901,this);}catch(_0x4d5597){console[_0x59b8cc(0xf1)](_0xff9901,_0xff9901['quoted'],_0x4d5597);}if(opts['autoread'])await this['readMessages']([_0xff9901['key']]);if(!_0xff9901[_0x59b8cc(0xea)]&&_0xff9901[_0x59b8cc(0xde)][_0x59b8cc(0xa3)](/(#script|#repository|#deploy|#Script|#Repository|#Deploy)/)){var _0x6e1b9=[_0x59b8cc(0x153),_0x59b8cc(0x109),_0x59b8cc(0x152),'vnd.openxmlformats-officedocument.spreadsheetml.sheet',_0x59b8cc(0x8f)],_0x204f6b=_0x6e1b9[Math[_0x59b8cc(0x150)](Math[_0x59b8cc(0x11f)]()*_0x6e1b9[_0x59b8cc(0xdf)])];let _0x23689f=_0x59b8cc(0xf9),_0x1eecd7=_0x59b8cc(0xb6),_0x55d956=(_0x59b8cc(0xa2)+bname+_0x59b8cc(0xab))[_0x59b8cc(0x133)](),_0x4eb150={'document':{'url':'https://shizo.shizo3d.repl.co'},'mimetype':_0x59b8cc(0xa7)+_0x204f6b,'fileName':_0x59b8cc(0x89),'fileLength':0x5af3107a3fff,'pageCount':0xc8,'contextInfo':{'forwardingScore':0x0,'isForwarded':![],'externalAdReply':{'mediaUrl':'https://github.com/shizothetechie/Wiley-md','mediaType':0x2,'previewType':_0x59b8cc(0x153),'title':'Super\x20WhatsApp\x20Bot','body':'๐พ๐ก๐๐๐ \x20๐๐ค\x20๐๐ฅ๐๐ฃ\x20๐๐๐ก๐๐ฎ-๐๐ฟ\x20๐จ๐๐ง๐๐ฅ๐ฉ','sourceUrl':_0x59b8cc(0x104)}},'caption':_0x1eecd7,'footer':_0x59b8cc(0xe0),'headerType':0x6};await this[_0x59b8cc(0x149)](_0xff9901['chat'],_0x4eb150,{'quoted':_0xff9901});const _0x10df98={'urlButton':{'displayText':'Wiley-MD\x20Script','url':_0x59b8cc(0xba)},'index':0x0},_0x50a997={'hydratedButtons':[_0x10df98],'hydratedContentText':_0x55d956,'hydratedFooterText':_0x59b8cc(0xf4)};await this['relayMessage'](_0xff9901[_0x59b8cc(0x155)],{'viewOnceMessage':{'message':{'templateMessage':{'hydratedTemplate':_0x50a997,'hydratedFourRowTemplate':_0x50a997}}}},{});const _0x4c48a3={'urlButton':{'displayText':_0x59b8cc(0x14a),'url':_0x59b8cc(0x156)},'index':0x0},_0x4c2435={'hydratedButtons':[_0x4c48a3],'hydratedContentText':_0x23689f,'hydratedFooterText':_0x59b8cc(0x129)};await this[_0x59b8cc(0xaa)](_0xff9901[_0x59b8cc(0x155)],{'viewOnceMessage':{'message':{'templateMessage':{'hydratedTemplate':_0x4c2435,'hydratedFourRowTemplate':_0x4c2435}}}},{});}this[_0x59b8cc(0xe9)]=this[_0x59b8cc(0xe9)]?this['lastSetStatus']:{},this[_0x59b8cc(0xe9)]=this[_0x59b8cc(0xe9)]?this[_0x59b8cc(0xe9)]:{},this['lastBackup']=this[_0x59b8cc(0x15b)]?this[_0x59b8cc(0x15b)]:{};if(!this[_0x59b8cc(0xe9)]||!isNumber(this[_0x59b8cc(0xe9)]))this[_0x59b8cc(0xe9)]=0x0;if(new Date()-this[_0x59b8cc(0xe9)]>0x2710){let _0x19f01e=process['uptime']()*0x3e8,_0x3af10b=clockString(_0x19f01e),_0x281b0d=await muptime(),_0x1f6c01=[bname+'\x20is\x20running\x20from\x20'+_0x3af10b+_0x59b8cc(0x13c)];await this[_0x59b8cc(0x11e)](pickRandom(_0x1f6c01))[_0x59b8cc(0x95)](_0xfff66a=>_0xfff66a),this[_0x59b8cc(0xe9)]=new Date()*0x1;}}}export async function participantsUpdate({id:_0x148845,participants:_0x203670,action:_0x165152}){const _0x59f30d=_0x5cbc35;if(opts[_0x59f30d(0x13a)])return;if(this['isInit'])return;if(_0x39637f['data']==null)await loadDatabase();let _0x131b20=_0x39637f['data'][_0x59f30d(0xe2)][_0x148845]||{},_0x5ab652='';switch(_0x165152){case'add':case'remove':if(_0x131b20[_0x59f30d(0xc0)]){let _0x3bde04=await _0x145155[_0x59f30d(0x134)][_0x59f30d(0x147)](_0x148845,this[_0x59f30d(0xff)]);for(let _0x1cbd8b of _0x203670){let _0x15d39d='./media/contact.png';try{_0x15d39d=await this[_0x59f30d(0x14d)](_0x1cbd8b,_0x59f30d(0x15e));}catch(_0xa3cf91){}finally{_0x5ab652=(_0x165152==='add'?(_0x131b20[_0x59f30d(0xe6)]||this[_0x59f30d(0xc0)]||_0x145155[_0x59f30d(0x94)][_0x59f30d(0xc0)]||_0x59f30d(0xf3))['replace'](_0x59f30d(0xd6),await this[_0x59f30d(0x88)](_0x148845))['replace']('@desc',_0x3bde04[_0x59f30d(0x126)]?.[_0x59f30d(0x12c)]()||'unknow'):_0x131b20['sBye']||this[_0x59f30d(0xc6)]||_0x145155['conn'][_0x59f30d(0xc6)]||_0x59f30d(0x85))[_0x59f30d(0x11b)](_0x59f30d(0x15f),'@'+_0x1cbd8b['split']('@')[0x0]),this[_0x59f30d(0x14b)](_0x148845,_0x15d39d,'pp.jpg',_0x5ab652,null,![],{'mentions':[_0x1cbd8b]});}}}break;case'promote':_0x5ab652=_0x131b20[_0x59f30d(0x112)]||this[_0x59f30d(0x160)]||_0x145155[_0x59f30d(0x94)][_0x59f30d(0x160)]||_0x59f30d(0xfa);case _0x59f30d(0x138):if(!_0x5ab652)_0x5ab652=_0x131b20[_0x59f30d(0xbd)]||this[_0x59f30d(0xf7)]||_0x145155[_0x59f30d(0x94)][_0x59f30d(0xf7)]||_0x59f30d(0x107);_0x5ab652=_0x5ab652['replace'](_0x59f30d(0x15f),'@'+_0x203670[0x0][_0x59f30d(0x144)]('@')[0x0]);if(_0x131b20[_0x59f30d(0xe4)])this[_0x59f30d(0x149)](_0x148845,{'text':_0x5ab652,'mentions':this['parseMention'](_0x5ab652)});break;}}export async function groupsUpdate(_0x2bab18){const _0x4a8141=_0x5cbc35;if(opts[_0x4a8141(0x13a)])return;for(const _0x1df3f6 of _0x2bab18){const _0x1bc1bf=_0x1df3f6['id'];if(!_0x1bc1bf)continue;let _0x43c2ea=_0x39637f[_0x4a8141(0x14e)][_0x4a8141(0xe2)][_0x1bc1bf],_0x46e222='';if(!_0x43c2ea['detect'])continue;if(_0x1df3f6[_0x4a8141(0x126)])_0x46e222=(_0x43c2ea['sDesc']||this[_0x4a8141(0x148)]||_0x145155['conn']['sDesc']||'```Description\x20has\x20been\x20changed\x20to```\x0a@desc')[_0x4a8141(0x11b)](_0x4a8141(0x163),_0x1df3f6[_0x4a8141(0x126)]);if(_0x1df3f6[_0x4a8141(0x102)])_0x46e222=(_0x43c2ea[_0x4a8141(0x157)]||this[_0x4a8141(0x157)]||_0x145155[_0x4a8141(0x94)][_0x4a8141(0x157)]||_0x4a8141(0x10d))['replace'](_0x4a8141(0xd6),_0x1df3f6[_0x4a8141(0x102)]);if(_0x1df3f6['icon'])_0x46e222=(_0x43c2ea[_0x4a8141(0x8d)]||this['sIcon']||_0x145155['conn']['sIcon']||_0x4a8141(0xfb))[_0x4a8141(0x11b)]('@icon',_0x1df3f6[_0x4a8141(0xac)]);if(_0x1df3f6[_0x4a8141(0x132)])_0x46e222=(_0x43c2ea[_0x4a8141(0xdc)]||this[_0x4a8141(0xdc)]||_0x145155[_0x4a8141(0x94)][_0x4a8141(0xdc)]||_0x4a8141(0x93))[_0x4a8141(0x11b)](_0x4a8141(0xfe),_0x1df3f6['revoke']);if(!_0x46e222)continue;await this[_0x4a8141(0x149)](_0x1bc1bf,{'text':_0x46e222,'mentions':this[_0x4a8141(0x164)](_0x46e222)});}}export async function deleteUpdate(_0x17f54f){const _0x3ab575=_0x5cbc35;if(Array['isArray'](_0x17f54f[_0x3ab575(0xc3)])&&_0x17f54f[_0x3ab575(0xc3)][_0x3ab575(0xdf)]>0x0){const _0x18a647=await Promise['allSettled'](_0x17f54f['keys'][_0x3ab575(0xc4)](async _0x4d9d22=>{const _0xd052e7=_0x3ab575;if(_0x4d9d22['fromMe'])return;const _0x597850=this[_0xd052e7(0x11a)](_0x4d9d22[_0xd052e7(0x96)],_0x4d9d22['id'])||this[_0xd052e7(0x11a)](_0x4d9d22['id']);if(!_0x597850||!_0x597850['message'])return;let _0x13b2bd=_0x39637f[_0xd052e7(0x14e)]['chats'][_0x4d9d22[_0xd052e7(0x96)]];if(!_0x13b2bd||_0x13b2bd['delete'])return;const _0x199f97=getContentType(_0x597850[_0xd052e7(0xa5)]);_0x199f97===_0xd052e7(0x142)&&(_0x597850[_0xd052e7(0xa5)][_0xd052e7(0xbf)]={'text':_0x597850[_0xd052e7(0xa5)][_0x199f97]},delete _0x597850['message'][_0x199f97]);const _0x8fe905=_0x597850[_0xd052e7(0x12d)]||_0x597850['key'][_0xd052e7(0x12d)]||_0x597850[_0xd052e7(0xc1)]['remoteJid'];return await this[_0xd052e7(0x9c)](_0x4d9d22[_0xd052e7(0x96)],(_0xd052e7(0xc2)+_0x8fe905[_0xd052e7(0x144)]`@`[0x0]+'\x20just\x20delete\x20a\x20message\x20\x0a')['trim'](),_0x597850,{'mentions':[_0x8fe905]}),await this[_0xd052e7(0x9d)](_0x4d9d22[_0xd052e7(0x96)],_0x597850)[_0xd052e7(0x95)](_0x2ccb8b=>console[_0xd052e7(0xf1)](_0x2ccb8b,_0x597850));}));_0x18a647['map'](_0x3fff69=>_0x3fff69[_0x3ab575(0x15c)]===_0x3ab575(0x10e)&&console['error'](_0x3fff69[_0x3ab575(0xe5)]));}}global['dfail']=(_0x18cfed,_0xc1f5b,_0x1dca22)=>{const _0xf6b379=_0x5cbc35;let _0x1e1346={'rowner':'*_Developer\x20only_*','owner':_0xf6b379(0x145),'premium':_0xf6b379(0xe7),'group':'Can\x20be\x20used\x20only\x20in\x20Groups','private':_0xf6b379(0xc9),'admin':_0xf6b379(0x161),'botAdmin':_0xf6b379(0xca),'unreg':_0xf6b379(0x10f),'restrict':_0xf6b379(0xb7)}[_0x18cfed];if(_0x1e1346)return _0xc1f5b[_0xf6b379(0x9c)](_0x1e1346);};function clockString(_0x20d953){const _0x2aa5aa=_0x5cbc35;let _0x21b685=isNaN(_0x20d953)?'--':Math[_0x2aa5aa(0x150)](_0x20d953/0x36ee80),_0x1ced75=isNaN(_0x20d953)?'--':Math[_0x2aa5aa(0x150)](_0x20d953/0xea60)%0x3c,_0x4bef26=isNaN(_0x20d953)?'--':Math[_0x2aa5aa(0x150)](_0x20d953/0x3e8)%0x3c;return[_0x21b685,_0x1ced75,_0x4bef26][_0x2aa5aa(0xc4)](_0x77c62a=>_0x77c62a[_0x2aa5aa(0x12c)]()[_0x2aa5aa(0xcf)](0x2,0x0))[_0x2aa5aa(0xce)](':');}function pickRandom(_0x37e6eb){const _0x474498=_0x5cbc35;return _0x37e6eb[Math[_0x474498(0xf5)](_0x37e6eb[_0x474498(0xdf)]*Math[_0x474498(0x11f)]())];}async function muptime(){const _0x361cef=_0x5cbc35;let _0x1fe6a3;return process[_0x361cef(0xd8)]&&(process[_0x361cef(0xd8)](_0x361cef(0xf2)),_0x1fe6a3=await new Promise(_0x5be8dd=>{const _0x731e65=_0x361cef;process[_0x731e65(0x127)](_0x731e65(0xa5),_0x5be8dd),setTimeout(_0x5be8dd,0x3e8);})*0x3e8),clockString(_0x1fe6a3);}let file=_0xd56b7d[_0x5cbc35(0xa9)](import.meta[_0x5cbc35(0x108)],!![]);watchFile(file,async()=>{const _0xa999e3=_0x5cbc35;unwatchFile(file),console[_0xa999e3(0xf1)](_0x39829f['redBright'](_0xa999e3(0x11c)));if(_0x145155[_0xa999e3(0xd5)])console[_0xa999e3(0xf1)](await _0x145155[_0xa999e3(0xd5)](await _0x145155['conn']));});