diff --git a/handler.js b/handler.js index 0835c81..e7ffb85 100644 --- a/handler.js +++ b/handler.js @@ -222,6 +222,10 @@ module.exports = { if (!['unbanned.js'].includes(name.split('/').pop()) && groupSet && groupSet.isBanned) return // Except conn if (!['unbanned.js'].includes(name.split('/').pop()) && users && users.banned) return } + /** command disabled */ + if (setting.error.includes(command)) return m.reply(Func.texted('bold', `🚩 Command _${usedPrefix + command}_ disabled.`)) + /** plugin disabled */ + if (plugin.disabled || setting.pluginDisable.includes(name.split('/').pop())) return if (m.isBaileys || m.chat.endsWith('broadcast') || /edit/.test(m.mtype)) continue if (setting.self && !isOwner && !m.fromMe) continue @@ -241,18 +245,7 @@ module.exports = { continue } if (plugin.premium && !isPrems) { // Premium - const soad = [{ - name: 'quick_reply', - buttonParamsJson: JSON.stringify({ - display_text: 'Contact Owner', - id: `${usedPrefix}owner` - }) - }] - conn.sendIAMessage(m.chat, soad, m, { - content: global.status.premium, - footer: global.footer, - }) - //m.reply(global.status.premium) + m.reply(global.status.premium) continue } if (plugin.group && !m.isGroup) { // Group Only @@ -275,12 +268,12 @@ module.exports = { } if (plugin.game && setting.game == false) { // game mode - m.reply(status.game) + m.reply(global.status.game) continue } if (plugin.rpg && setting.rpg == false) { // RPG mode - m.reply(status.rpg) + m.reply(global.status.rpg) continue } @@ -289,19 +282,8 @@ module.exports = { if (xp > 200) m.reply('Ngecit -_-') // Hehehe else m.exp += xp if (!isPrems && plugin.limit && users.limit < plugin.limit * 1) { - const soad = [{ - name: 'quick_reply', - buttonParamsJson: JSON.stringify({ - display_text: 'Buy', - id: `${usedPrefix}buy 1` - }) - }] - conn.sendIAMessage(m.chat, soad, m, { - content: `Your limit is exhausted, please purchase via *${usedPrefix}buy*`, - footer: global.footer, - }) - //conn.reply(m.chat, `Your limit is exhausted, please purchase via *${usedPrefix}buy*`, m) - continue // Limit habis + conn.reply(m.chat, `Your limit is exhausted, please purchase via *${usedPrefix}buy*`, m) + continue } if (plugin.level > users.level) { conn.reply(m.chat, `level ${plugin.level} is required to use conn command. Your level ${users.level}`, m) @@ -367,34 +349,20 @@ module.exports = { let user, stats = db.data.stats if (m) { if (m.sender && (user = db.data.users[m.sender])) { - user.exp += m.exp + user.exp += m.exp; user.limit -= m.limit * 1 } - - let stat + let now = +new Date() if (m.plugin) { - let now = + new Date - if (m.plugin in stats) { - stat = stats[m.plugin] - if (!isNumber(stat.total)) stat.total = 1 - if (!isNumber(stat.success)) stat.success = m.error != null ? 0 : 1 - if (!isNumber(stat.last)) stat.last = now - if (!isNumber(stat.lastSuccess)) stat.lastSuccess = m.error != null ? 0 : now - } else stat = stats[m.plugin] = { - total: 1, - success: m.error != null ? 0 : 1, - last: now, - lastSuccess: m.error != null ? 0 : now - } - stat.total += 1 - stat.last = now - if (m.error == null) { - stat.success += 1 - stat.lastSuccess = now - } + let pluginName = m.plugin.split('/').pop().replace('.js', '') + let stat = stats[pluginName] || { hitstat: 0, today: 0, lasthit: 0, sender: m.sender, lastDate: '' } + stat.hitstat += 1 + stat.today += 1 + stat.lasthit = now + stat.lastDate = new Date(now).toDateString() + stats[pluginName] = stat } } - try { Print(m, conn) } catch (e) { diff --git a/lib/system/schema.js b/lib/system/schema.js index 0ebb6fe..4a52319 100644 --- a/lib/system/schema.js +++ b/lib/system/schema.js @@ -613,6 +613,8 @@ module.exports = (m, env) => { if (!('noprefix' in setting)) setting.noprefix = false if (!('onlyprefix' in setting)) setting.onlyprefix = '.' if (!('hidden' in setting)) setting.hidden = [] + if (!('error' in setting)) setting.error = [] + if (!('pluginDisable' in setting)) setting.pluginDisable = [] if (!isNumber(setting.lastReset)) setting.lastReset = new Date * 1 if (!('sk_pack' in setting)) setting.sk_pack = 'Sticker by' if (!('sk_author' in setting)) setting.sk_author = 'Β© moon-bot' @@ -639,6 +641,8 @@ module.exports = (m, env) => { noprefix: false, onlyprefix: '.', hidden: [], + error: [], + pluginDisable: [], lastReset: new Date * 1, sk_pack: 'Sticker by', sk_author: 'Β© moon-bot', diff --git a/package.json b/package.json index 8346225..5c4c68a 100644 --- a/package.json +++ b/package.json @@ -25,12 +25,10 @@ "dependencies": { "@moonr/func": "^0.3.1", "@whiskeysockets/baileys": "^6.7.9", - "@xncn/instagramdownloaderpro": "^0.0.7", "awesome-phonenumber": "^5.6.0", "bytes": "^3.1.2", "cfonts": "^2.10.1", "jimp": "^0.16.13", - "json-stable-stringify": "^1.0.2", "node-cron": "^3.0.0", "yt-search": "^2.10.4" } diff --git a/plugins/admin/totag.js b/plugins/admin/totag.js new file mode 100644 index 0000000..c7ba834 --- /dev/null +++ b/plugins/admin/totag.js @@ -0,0 +1,18 @@ +module.exports = { + help: ['totag'], + use: 'reply chat', + tags: ['admin'], + command: /^(totag)$/i, + run: async (m, { + conn, + text, + participants, + Func + }) => { + let users = participants.map(u => u.id).filter(v => v !== conn.user.jid) + if (!m.quoted) return conn.reply(m.chat, Func.texted('bold', '🚩 Reply chat'), m) + conn.sendMessage(m.chat, { forward: m.quoted.fakeObj, mentions: users }) + }, + group: true, + admin: true +} \ No newline at end of file diff --git a/plugins/converter/smeta.js b/plugins/converter/smeta.js new file mode 100644 index 0000000..59222ce --- /dev/null +++ b/plugins/converter/smeta.js @@ -0,0 +1,57 @@ +module.exports = { + help: ['smeta'], + use: 'query / reply media', + tags: ['converter'], + command: /^(smeta|stikermeta|stickermeta)$/i, + run: async (m, { + conn, + usedPrefix, + command, + text, + Func + }) => { + try { + if (!m.quoted) return conn.reply(m.chat, Func.texted('bold', `🚩 Reply sticker.`), m) + var stiker = false + let [packname, ...author] = text.split`|` + author = (author || []).join`|` + let q = m.quoted ? m.quoted : m + let mime = (q.msg || q).mimetype || '' + if (!/webp/.test(mime)) return conn.reply(m.chat, Func.texted('bold', `🚩 Reply to the sticker you want to make into a meta sticker.`), m) + let img = await q.download() + if (!img) return conn.reply(m.chat, global.status.wrong, m) + stiker = await addExif(img, packname || global.db.data.setting.sk_pack, author || global.db.data.setting.sk_author) + } catch (e) { + console.error(e) + if (Buffer.isBuffer(e)) stiker = e + } finally { + if (stiker) conn.sendMessage(m.chat, { + sticker: stiker + }, { + quoted: m + }) + else return conn.reply(m.chat, Func.texted('bold', `🚩 Conversion failed.`), m) + } + }, + limit: true +} + +const { Image } = require('node-webpmux') +async function addExif(buffer, packname, author, categories = [''], extra = {}) { + const img = new Image() + const json = { + 'sticker-pack-id': packname || 'Sticker By', + 'sticker-pack-name': author || 'moon-bot', + 'sticker-pack-publisher': global.creator || '@naando.io', + 'emojis': categories, + 'is-avatar-sticker': 1, + ...extra + } + let exifAttr = Buffer.from([0x49, 0x49, 0x2A, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01, 0x00, 0x41, 0x57, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00]) + let jsonBuffer = Buffer.from(JSON.stringify(json), 'utf8') + let exif = Buffer.concat([exifAttr, jsonBuffer]) + exif.writeUIntLE(jsonBuffer.length, 14, 4) + await img.load(buffer) + img.exif = exif + return await img.save(null) +} \ No newline at end of file diff --git a/plugins/downloader/apk.js b/plugins/downloader/apk.js index 28ddbbc..65cb015 100644 --- a/plugins/downloader/apk.js +++ b/plugins/downloader/apk.js @@ -1 +1 @@ -function _0x24c2(){const _0x437d7e=['β—¦\x20*Develop','map','\x20of\x20','⚠️\x20File\x20siz','hEkWT','ownload\x20it','oes\x20not\x20ex','WBWeB','max_upload','SgIXy','Xlbdk','sendMessag','apk','\x20\x20β—¦\x20\x20*Vers','vaFVS','\x20only\x20down','bold','exports','*Example*\x20','data','vpn','join','1405131fsZBRl','jGmKV','log','url','_free','xpired\x20/\x20d','created_at','ist,\x20do\x20an','*\x20:\x20','\x20MB.','updated','2050329LptQEK','),\x20you\x20can','sion\x20has\x20e','.apk','removeItem','🚩\x20Exceed\x20a','y*\x20:\x20','QYyxd','react','split','–\x20\x20*A\x20P\x20K*','fGcsf','status','other\x20sear','1068755vxGqaf','reply','then','\x20\x20β—¦\x20\x20*Name','UdfRP','s\x20link\x20:\x20','878166kfkXuC','\x20with\x20a\x20ma','and\x20*','texted','he\x20keyword','rating','\x201\x0a\x0a','get','name','thumbnail','users\x20a\x20ma','version','find','deJum','ata.','8LPSIwP','dQjZN','bgvEF','length','developer','WYQQm','push','ximum\x20of\x20','te*\x20:\x20','dPOTM','GnxeQ','lf\x20via\x20thi','AdJqw','chat','jid','premium','*.\x20','BbGqf','query','oversize','m\x20limit,\x20d','WNaNV','HHBlJ','e\x20(','ch\x20using\x20t','2264180qnEVrU',')\x20exceeds\x20','eModify','πŸ’€\x20File\x20siz','3|2|0|1|4','🚩\x20Your\x20ses','example','jsonFormat','sizeLimit','\x20\x20β—¦\x20\x20*Upda','yFoYc','\x20by\x20yourse','2PaXdcQ','7770040JcrAYn','cxwgl','api/apk-ge','AEqHQ','β—¦\x20*Size*\x20:','ijkAt','780242UVOzRA','timer','\x20:\x20','VwpqD','IFpkQ','12ilMucm','β—¦\x20*Categor','d\x20apks\x20use','sNOnb','downloader','vJqRm','sendFile','\x20number*\x0a','footer','er*\x20:\x20','r\x20premium\x20','results','\x20\x20β—¦\x20\x20*Size','size','\x20this\x20comm','load\x20files','To\x20downloa','category','ion*\x20:\x20','the\x20maximu','path','ximum\x20size','api/apk','β—¦\x20*Rating*','mount\x20of\x20d','s\x20you\x20want','sender','yaMOQ','\x20MB\x20and\x20fo'];_0x24c2=function(){return _0x437d7e;};return _0x24c2();}function _0x38c2(_0xc6003c,_0x2c1614){const _0x54872f=_0x24c2();return _0x38c2=function(_0x3fbe70,_0x4fb6a4){_0x3fbe70=_0x3fbe70-(-0x88e+-0x3*0xb0f+-0x3*-0xe67);let _0x2edeaf=_0x54872f[_0x3fbe70];return _0x2edeaf;},_0x38c2(_0xc6003c,_0x2c1614);}const _0x41d47b=_0x38c2;(function(_0x503cfe,_0x434093){const _0x258161=_0x38c2,_0x3bf040=_0x503cfe();while(!![]){try{const _0x472b92=parseInt(_0x258161(0x18e))/(-0x192d+-0x1*0x1d0d+0x363b*0x1)*(parseInt(_0x258161(0x187))/(-0xe5c+-0xd3*-0x2e+-0x178c))+parseInt(_0x258161(0x1d1))/(0x10*-0x16a+0x249+0x145a)+parseInt(_0x258161(0x17b))/(-0x204d+-0x22b7+0x4308)+parseInt(_0x258161(0x1df))/(-0x2*-0xd51+0x2*-0x1166+0x82f*0x1)*(-parseInt(_0x258161(0x193))/(-0x379+-0x752+0xd*0xd5))+-parseInt(_0x258161(0x1c6))/(0x6b2*0x2+-0x805*0x3+0x559*0x2)+parseInt(_0x258161(0x1f4))/(-0x570*0x2+-0x18d6+-0x726*-0x5)*(-parseInt(_0x258161(0x1e5))/(-0x1b72+0x3*-0xba0+0x3e5b))+-parseInt(_0x258161(0x188))/(0x2*0x648+-0x8b*0x3+0x1*-0xae5);if(_0x472b92===_0x434093)break;else _0x3bf040['push'](_0x3bf040['shift']());}catch(_0xe1ea7b){_0x3bf040['push'](_0x3bf040['shift']());}}}(_0x24c2,0xa6ec+-0x1eb*-0x1f1+0x1*0x3aa1e),module[_0x41d47b(0x1c1)]={'run':async(_0x58135c,{conn:_0x25304e,usedPrefix:_0x139bb6,command:_0x4f0b21,text:_0x2ebccd,users:_0xb052e9,env:_0x31fef2,Func:_0x4f4e1d})=>{const _0x1de3ef=_0x41d47b,_0x2a74f6={'HHBlJ':function(_0x579154,_0x433a37){return _0x579154+_0x433a37;},'bgvEF':_0x1de3ef(0x1d4),'ijkAt':_0x1de3ef(0x17f),'UdfRP':function(_0x57b00e,_0x48f660){return _0x57b00e+_0x48f660;},'IFpkQ':function(_0x2b3490,_0x38385a){return _0x2b3490+_0x38385a;},'QYyxd':function(_0x4c60b0,_0x35d1e5){return _0x4c60b0+_0x35d1e5;},'deJum':function(_0x2b4462,_0x4d31f1){return _0x2b4462+_0x4d31f1;},'dQjZN':function(_0xfce8bb,_0x53a432){return _0xfce8bb+_0x53a432;},'WYQQm':function(_0x355802,_0x6f7dc3){return _0x355802>_0x6f7dc3;},'jGmKV':function(_0x1ad84d,_0x1401a2){return _0x1ad84d-_0x1401a2;},'WBWeB':_0x1de3ef(0x1c4),'hEkWT':function(_0x606d96,_0xdfcf38){return _0x606d96(_0xdfcf38);},'dPOTM':_0x1de3ef(0x1c0),'WNaNV':_0x1de3ef(0x18a)+'t','VwpqD':function(_0x589e5a,_0x546a63){return _0x589e5a(_0x546a63);},'Xlbdk':function(_0x2fe7f7,_0x5154b9){return _0x2fe7f7+_0x5154b9;},'vJqRm':_0x1de3ef(0x1e2)+_0x1de3ef(0x1ce),'yaMOQ':_0x1de3ef(0x19f)+_0x1de3ef(0x1ce),'fGcsf':function(_0x3cb030,_0x2a4860){return _0x3cb030+_0x2a4860;},'vaFVS':_0x1de3ef(0x1bd)+_0x1de3ef(0x1a5),'BbGqf':function(_0x264826,_0x275fe5){return _0x264826+_0x275fe5;},'cxwgl':function(_0x25a266,_0x5b0974){return _0x25a266+_0x5b0974;},'sNOnb':_0x1de3ef(0x184)+_0x1de3ef(0x1fc),'AEqHQ':_0x1de3ef(0x1a9),'GnxeQ':function(_0x559478,_0x333264){return _0x559478*_0x333264;},'SgIXy':function(_0xbf5257,_0x1be884){return _0xbf5257+_0x1be884;},'AdJqw':function(_0x2a9216,_0x1f4e4b){return _0x2a9216+_0x1f4e4b;},'yFoYc':function(_0x43deca,_0x524015,_0x3ae476){return _0x43deca(_0x524015,_0x3ae476);}};try{_0x25304e[_0x1de3ef(0x1bc)]=_0x25304e[_0x1de3ef(0x1bc)]?_0x25304e[_0x1de3ef(0x1bc)]:[];if(!_0x2ebccd)return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x4f4e1d[_0x1de3ef(0x181)](_0x139bb6,_0x4f0b21,_0x2a74f6[_0x1de3ef(0x1b7)]),_0x58135c);const _0x325d46=_0x25304e[_0x1de3ef(0x1bc)][_0x1de3ef(0x1f1)](_0x53940c=>_0x53940c[_0x1de3ef(0x202)]==_0x58135c[_0x1de3ef(0x1ad)]);if(!_0x325d46&&!_0x2a74f6[_0x1de3ef(0x1b4)](isNaN,_0x2ebccd))return _0x58135c[_0x1de3ef(0x1e0)](_0x4f4e1d[_0x1de3ef(0x1e8)](_0x2a74f6[_0x1de3ef(0x1fd)],_0x1de3ef(0x180)+_0x1de3ef(0x1d3)+_0x1de3ef(0x1cb)+_0x1de3ef(0x1b6)+_0x1de3ef(0x1cd)+_0x1de3ef(0x1de)+_0x1de3ef(0x17a)+_0x1de3ef(0x1e9)+_0x1de3ef(0x1ac)+'.'));if(_0x325d46&&!_0x2a74f6[_0x1de3ef(0x1b4)](isNaN,_0x2ebccd)){if(_0x2a74f6[_0x1de3ef(0x1f9)](_0x2a74f6[_0x1de3ef(0x1b4)](Number,_0x2ebccd),_0x325d46[_0x1de3ef(0x19e)][_0x1de3ef(0x1f7)]))return _0x58135c[_0x1de3ef(0x1e0)](_0x4f4e1d[_0x1de3ef(0x1e8)](_0x2a74f6[_0x1de3ef(0x1fd)],_0x1de3ef(0x1d6)+_0x1de3ef(0x1ab)+_0x1de3ef(0x1f3)));_0x58135c[_0x1de3ef(0x1d9)]('πŸ•’');const _0x22d772=await Api[_0x1de3ef(0x1ec)](_0x2a74f6[_0x1de3ef(0x209)],{'path':_0x325d46[_0x1de3ef(0x19e)][_0x2a74f6[_0x1de3ef(0x1c7)](_0x2a74f6[_0x1de3ef(0x191)](Number,_0x2ebccd),-0xa4+-0x83*0x42+0x226b)]});if(!_0x22d772[_0x1de3ef(0x1dd)])return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x4f4e1d[_0x1de3ef(0x182)](_0x22d772),_0x58135c);let _0x124d8b=_0x1de3ef(0x1db)+'\x0a\x0a';_0x124d8b+=_0x2a74f6[_0x1de3ef(0x1e3)](_0x2a74f6[_0x1de3ef(0x1ba)](_0x2a74f6[_0x1de3ef(0x198)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1ed)]),'\x0a'),_0x124d8b+=_0x2a74f6[_0x1de3ef(0x1e3)](_0x2a74f6[_0x1de3ef(0x192)](_0x2a74f6[_0x1de3ef(0x1ae)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)]),'\x0a'),_0x124d8b+=_0x2a74f6[_0x1de3ef(0x192)](_0x2a74f6[_0x1de3ef(0x1dc)](_0x2a74f6[_0x1de3ef(0x1be)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1f0)]),'\x0a'),_0x124d8b+=_0x2a74f6[_0x1de3ef(0x205)](_0x2a74f6[_0x1de3ef(0x189)](_0x2a74f6[_0x1de3ef(0x196)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1d0)]),'\x0a\x0a'),_0x124d8b+=global[_0x1de3ef(0x19b)];const _0x228bfa=_0x4f4e1d[_0x1de3ef(0x183)](_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)],_0xb052e9[_0x1de3ef(0x203)]?_0x31fef2[_0x1de3ef(0x1b8)]:_0x31fef2[_0x1de3ef(0x1b8)+_0x1de3ef(0x1ca)]),_0x50f031=_0xb052e9[_0x1de3ef(0x203)]?_0x1de3ef(0x17e)+_0x1de3ef(0x20b)+_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)]+(_0x1de3ef(0x17c)+_0x1de3ef(0x1a6)+_0x1de3ef(0x208)+_0x1de3ef(0x1b5)+_0x1de3ef(0x186)+_0x1de3ef(0x1ff)+_0x1de3ef(0x1e4))+_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1c9)]:_0x1de3ef(0x1b3)+_0x1de3ef(0x20b)+_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)]+(_0x1de3ef(0x1d2)+_0x1de3ef(0x1bf)+_0x1de3ef(0x1a2)+_0x1de3ef(0x1e6)+_0x1de3ef(0x1a8)+_0x1de3ef(0x1b2))+_0x31fef2[_0x1de3ef(0x1b8)+_0x1de3ef(0x1ca)]+(_0x1de3ef(0x1af)+_0x1de3ef(0x19d)+_0x1de3ef(0x1ef)+_0x1de3ef(0x1fb))+_0x31fef2[_0x1de3ef(0x1b8)]+_0x1de3ef(0x1cf);if(_0x228bfa[_0x1de3ef(0x207)])return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x50f031,_0x58135c);_0x25304e[_0x1de3ef(0x1bb)+_0x1de3ef(0x17d)](_0x58135c[_0x1de3ef(0x201)],_0x124d8b,_0x58135c,{'largeThumb':!![],'thumbnail':_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1ee)]})[_0x1de3ef(0x1e1)](()=>{const _0x2b8162=_0x1de3ef;_0x25304e[_0x2b8162(0x199)](_0x58135c[_0x2b8162(0x201)],_0x22d772[_0x2b8162(0x1c3)][_0x2b8162(0x1c9)],_0x2a74f6[_0x2b8162(0x20a)](_0x22d772[_0x2b8162(0x1c3)][_0x2b8162(0x1ed)],_0x2a74f6[_0x2b8162(0x1f6)]),'',_0x58135c);});}else{_0x58135c[_0x1de3ef(0x1d9)]('πŸ•’');const _0x26c823=await Api[_0x1de3ef(0x1ec)](_0x2a74f6[_0x1de3ef(0x18b)],{'q':_0x2ebccd});if(!_0x26c823[_0x1de3ef(0x1dd)])return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x4f4e1d[_0x1de3ef(0x182)](_0x26c823),_0x58135c);if(!_0x325d46)_0x25304e[_0x1de3ef(0x1bc)][_0x1de3ef(0x1fa)]({'jid':_0x58135c[_0x1de3ef(0x1ad)],'query':_0x2ebccd,'results':_0x26c823[_0x1de3ef(0x1c3)][_0x1de3ef(0x1b1)](_0x2033c7=>_0x2033c7[_0x1de3ef(0x1a7)]),'created_at':_0x2a74f6[_0x1de3ef(0x1fe)](new Date(),-0x23a0+0xcb1+0x16f0)});else _0x325d46[_0x1de3ef(0x19e)]=_0x26c823[_0x1de3ef(0x1c3)][_0x1de3ef(0x1b1)](_0x46bf0d=>_0x46bf0d[_0x1de3ef(0x1a7)]);let _0x5fe473=_0x1de3ef(0x1a3)+_0x1de3ef(0x195)+_0x1de3ef(0x1a1)+_0x1de3ef(0x1e7)+_0x2a74f6[_0x1de3ef(0x1b9)](_0x139bb6,_0x4f0b21)+_0x1de3ef(0x19a);_0x5fe473+=_0x1de3ef(0x1c2)+':\x20'+_0x2a74f6[_0x1de3ef(0x200)](_0x139bb6,_0x4f0b21)+_0x1de3ef(0x1eb),_0x26c823[_0x1de3ef(0x1c3)][_0x1de3ef(0x1b1)]((_0x206a9,_0x40f919)=>{const _0x2c358e=_0x1de3ef,_0x29996a=_0x2a74f6[_0x2c358e(0x18d)][_0x2c358e(0x1da)]('|');let _0x38d9d0=0x166f+0x1*0x689+0x73e*-0x4;while(!![]){switch(_0x29996a[_0x38d9d0++]){case'0':_0x5fe473+=_0x2a74f6[_0x2c358e(0x20a)](_0x2a74f6[_0x2c358e(0x20a)](_0x2c358e(0x1aa)+_0x2c358e(0x190),_0x206a9[_0x2c358e(0x1ea)]),'\x0a');continue;case'1':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1e3)](_0x2a74f6[_0x2c358e(0x192)](_0x2c358e(0x194)+_0x2c358e(0x1d7),_0x206a9[_0x2c358e(0x1a4)]),'\x0a');continue;case'2':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1e3)](_0x2a74f6[_0x2c358e(0x192)](_0x2c358e(0x18c)+'\x20',_0x206a9[_0x2c358e(0x1a0)]),'\x0a');continue;case'3':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1d8)](_0x2a74f6[_0x2c358e(0x192)]('*'+_0x2a74f6[_0x2c358e(0x1f2)](_0x40f919,0x2*0x54b+-0x5*0x149+-0x428)+_0x2c358e(0x204),_0x206a9[_0x2c358e(0x1ed)]),'\x0a');continue;case'4':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1d8)](_0x2a74f6[_0x2c358e(0x1f5)](_0x2c358e(0x1b0)+_0x2c358e(0x19c),_0x206a9[_0x2c358e(0x1f8)]),'\x0a\x0a');continue;}break;}})[_0x1de3ef(0x1c5)]('\x0a\x0a'),_0x5fe473+=global[_0x1de3ef(0x19b)],_0x58135c[_0x1de3ef(0x1e0)](_0x5fe473);}_0x2a74f6[_0x1de3ef(0x185)](setInterval,async()=>{const _0x278dcf=_0x1de3ef,_0x3b4969=_0x25304e[_0x278dcf(0x1bc)][_0x278dcf(0x1f1)](_0x2868bb=>_0x2868bb[_0x278dcf(0x202)]==_0x58135c[_0x278dcf(0x1ad)]);_0x3b4969&&_0x2a74f6[_0x278dcf(0x1f9)](_0x2a74f6[_0x278dcf(0x1c7)](new Date(),_0x3b4969[_0x278dcf(0x1cc)]),_0x31fef2[_0x278dcf(0x18f)])&&_0x4f4e1d[_0x278dcf(0x1d5)](_0x25304e[_0x278dcf(0x1bc)],_0x3b4969);},-0xb442+0xb6cf+0xe7d3);}catch(_0x4b1fe4){return console[_0x1de3ef(0x1c8)](_0x4b1fe4),_0x58135c[_0x1de3ef(0x1e0)](_0x4f4e1d[_0x1de3ef(0x182)](_0x4b1fe4));}},'help':[_0x41d47b(0x1bc)],'use':_0x41d47b(0x206),'tags':[_0x41d47b(0x197)],'command':/^(apk)$/i}); \ No newline at end of file +function _0x24c2(){const _0x437d7e=['β—¦\x20*Develop','map','\x20of\x20','⚠️\x20File\x20siz','hEkWT','ownload\x20it','oes\x20not\x20ex','WBWeB','max_upload','SgIXy','Xlbdk','sendMessag','apk','\x20\x20β—¦\x20\x20*Vers','vaFVS','\x20only\x20down','bold','exports','*Example*\x20','data','vpn','join','1405131fsZBRl','jGmKV','log','url','_free','xpired\x20/\x20d','created_at','ist,\x20do\x20an','*\x20:\x20','\x20MB.','updated','2050329LptQEK','),\x20you\x20can','sion\x20has\x20e','.apk','removeItem','🚩\x20Exceed\x20a','y*\x20:\x20','QYyxd','react','split','δΉ‚\x20\x20*A\x20P\x20K*','fGcsf','status','other\x20sear','1068755vxGqaf','reply','then','\x20\x20β—¦\x20\x20*Name','UdfRP','s\x20link\x20:\x20','878166kfkXuC','\x20with\x20a\x20ma','and\x20*','texted','he\x20keyword','rating','\x201\x0a\x0a','get','name','thumbnail','users\x20a\x20ma','version','find','deJum','ata.','8LPSIwP','dQjZN','bgvEF','length','developer','WYQQm','push','ximum\x20of\x20','te*\x20:\x20','dPOTM','GnxeQ','lf\x20via\x20thi','AdJqw','chat','jid','premium','*.\x20','BbGqf','query','oversize','m\x20limit,\x20d','WNaNV','HHBlJ','e\x20(','ch\x20using\x20t','2264180qnEVrU',')\x20exceeds\x20','eModify','πŸ’€\x20File\x20siz','3|2|0|1|4','🚩\x20Your\x20ses','example','jsonFormat','sizeLimit','\x20\x20β—¦\x20\x20*Upda','yFoYc','\x20by\x20yourse','2PaXdcQ','7770040JcrAYn','cxwgl','api/apk-ge','AEqHQ','β—¦\x20*Size*\x20:','ijkAt','780242UVOzRA','timer','\x20:\x20','VwpqD','IFpkQ','12ilMucm','β—¦\x20*Categor','d\x20apks\x20use','sNOnb','downloader','vJqRm','sendFile','\x20number*\x0a','footer','er*\x20:\x20','r\x20premium\x20','results','\x20\x20β—¦\x20\x20*Size','size','\x20this\x20comm','load\x20files','To\x20downloa','category','ion*\x20:\x20','the\x20maximu','path','ximum\x20size','api/apk','β—¦\x20*Rating*','mount\x20of\x20d','s\x20you\x20want','sender','yaMOQ','\x20MB\x20and\x20fo'];_0x24c2=function(){return _0x437d7e;};return _0x24c2();}function _0x38c2(_0xc6003c,_0x2c1614){const _0x54872f=_0x24c2();return _0x38c2=function(_0x3fbe70,_0x4fb6a4){_0x3fbe70=_0x3fbe70-(-0x88e+-0x3*0xb0f+-0x3*-0xe67);let _0x2edeaf=_0x54872f[_0x3fbe70];return _0x2edeaf;},_0x38c2(_0xc6003c,_0x2c1614);}const _0x41d47b=_0x38c2;(function(_0x503cfe,_0x434093){const _0x258161=_0x38c2,_0x3bf040=_0x503cfe();while(!![]){try{const _0x472b92=parseInt(_0x258161(0x18e))/(-0x192d+-0x1*0x1d0d+0x363b*0x1)*(parseInt(_0x258161(0x187))/(-0xe5c+-0xd3*-0x2e+-0x178c))+parseInt(_0x258161(0x1d1))/(0x10*-0x16a+0x249+0x145a)+parseInt(_0x258161(0x17b))/(-0x204d+-0x22b7+0x4308)+parseInt(_0x258161(0x1df))/(-0x2*-0xd51+0x2*-0x1166+0x82f*0x1)*(-parseInt(_0x258161(0x193))/(-0x379+-0x752+0xd*0xd5))+-parseInt(_0x258161(0x1c6))/(0x6b2*0x2+-0x805*0x3+0x559*0x2)+parseInt(_0x258161(0x1f4))/(-0x570*0x2+-0x18d6+-0x726*-0x5)*(-parseInt(_0x258161(0x1e5))/(-0x1b72+0x3*-0xba0+0x3e5b))+-parseInt(_0x258161(0x188))/(0x2*0x648+-0x8b*0x3+0x1*-0xae5);if(_0x472b92===_0x434093)break;else _0x3bf040['push'](_0x3bf040['shift']());}catch(_0xe1ea7b){_0x3bf040['push'](_0x3bf040['shift']());}}}(_0x24c2,0xa6ec+-0x1eb*-0x1f1+0x1*0x3aa1e),module[_0x41d47b(0x1c1)]={'run':async(_0x58135c,{conn:_0x25304e,usedPrefix:_0x139bb6,command:_0x4f0b21,text:_0x2ebccd,users:_0xb052e9,env:_0x31fef2,Func:_0x4f4e1d})=>{const _0x1de3ef=_0x41d47b,_0x2a74f6={'HHBlJ':function(_0x579154,_0x433a37){return _0x579154+_0x433a37;},'bgvEF':_0x1de3ef(0x1d4),'ijkAt':_0x1de3ef(0x17f),'UdfRP':function(_0x57b00e,_0x48f660){return _0x57b00e+_0x48f660;},'IFpkQ':function(_0x2b3490,_0x38385a){return _0x2b3490+_0x38385a;},'QYyxd':function(_0x4c60b0,_0x35d1e5){return _0x4c60b0+_0x35d1e5;},'deJum':function(_0x2b4462,_0x4d31f1){return _0x2b4462+_0x4d31f1;},'dQjZN':function(_0xfce8bb,_0x53a432){return _0xfce8bb+_0x53a432;},'WYQQm':function(_0x355802,_0x6f7dc3){return _0x355802>_0x6f7dc3;},'jGmKV':function(_0x1ad84d,_0x1401a2){return _0x1ad84d-_0x1401a2;},'WBWeB':_0x1de3ef(0x1c4),'hEkWT':function(_0x606d96,_0xdfcf38){return _0x606d96(_0xdfcf38);},'dPOTM':_0x1de3ef(0x1c0),'WNaNV':_0x1de3ef(0x18a)+'t','VwpqD':function(_0x589e5a,_0x546a63){return _0x589e5a(_0x546a63);},'Xlbdk':function(_0x2fe7f7,_0x5154b9){return _0x2fe7f7+_0x5154b9;},'vJqRm':_0x1de3ef(0x1e2)+_0x1de3ef(0x1ce),'yaMOQ':_0x1de3ef(0x19f)+_0x1de3ef(0x1ce),'fGcsf':function(_0x3cb030,_0x2a4860){return _0x3cb030+_0x2a4860;},'vaFVS':_0x1de3ef(0x1bd)+_0x1de3ef(0x1a5),'BbGqf':function(_0x264826,_0x275fe5){return _0x264826+_0x275fe5;},'cxwgl':function(_0x25a266,_0x5b0974){return _0x25a266+_0x5b0974;},'sNOnb':_0x1de3ef(0x184)+_0x1de3ef(0x1fc),'AEqHQ':_0x1de3ef(0x1a9),'GnxeQ':function(_0x559478,_0x333264){return _0x559478*_0x333264;},'SgIXy':function(_0xbf5257,_0x1be884){return _0xbf5257+_0x1be884;},'AdJqw':function(_0x2a9216,_0x1f4e4b){return _0x2a9216+_0x1f4e4b;},'yFoYc':function(_0x43deca,_0x524015,_0x3ae476){return _0x43deca(_0x524015,_0x3ae476);}};try{_0x25304e[_0x1de3ef(0x1bc)]=_0x25304e[_0x1de3ef(0x1bc)]?_0x25304e[_0x1de3ef(0x1bc)]:[];if(!_0x2ebccd)return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x4f4e1d[_0x1de3ef(0x181)](_0x139bb6,_0x4f0b21,_0x2a74f6[_0x1de3ef(0x1b7)]),_0x58135c);const _0x325d46=_0x25304e[_0x1de3ef(0x1bc)][_0x1de3ef(0x1f1)](_0x53940c=>_0x53940c[_0x1de3ef(0x202)]==_0x58135c[_0x1de3ef(0x1ad)]);if(!_0x325d46&&!_0x2a74f6[_0x1de3ef(0x1b4)](isNaN,_0x2ebccd))return _0x58135c[_0x1de3ef(0x1e0)](_0x4f4e1d[_0x1de3ef(0x1e8)](_0x2a74f6[_0x1de3ef(0x1fd)],_0x1de3ef(0x180)+_0x1de3ef(0x1d3)+_0x1de3ef(0x1cb)+_0x1de3ef(0x1b6)+_0x1de3ef(0x1cd)+_0x1de3ef(0x1de)+_0x1de3ef(0x17a)+_0x1de3ef(0x1e9)+_0x1de3ef(0x1ac)+'.'));if(_0x325d46&&!_0x2a74f6[_0x1de3ef(0x1b4)](isNaN,_0x2ebccd)){if(_0x2a74f6[_0x1de3ef(0x1f9)](_0x2a74f6[_0x1de3ef(0x1b4)](Number,_0x2ebccd),_0x325d46[_0x1de3ef(0x19e)][_0x1de3ef(0x1f7)]))return _0x58135c[_0x1de3ef(0x1e0)](_0x4f4e1d[_0x1de3ef(0x1e8)](_0x2a74f6[_0x1de3ef(0x1fd)],_0x1de3ef(0x1d6)+_0x1de3ef(0x1ab)+_0x1de3ef(0x1f3)));_0x58135c[_0x1de3ef(0x1d9)]('πŸ•’');const _0x22d772=await Api[_0x1de3ef(0x1ec)](_0x2a74f6[_0x1de3ef(0x209)],{'path':_0x325d46[_0x1de3ef(0x19e)][_0x2a74f6[_0x1de3ef(0x1c7)](_0x2a74f6[_0x1de3ef(0x191)](Number,_0x2ebccd),-0xa4+-0x83*0x42+0x226b)]});if(!_0x22d772[_0x1de3ef(0x1dd)])return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x4f4e1d[_0x1de3ef(0x182)](_0x22d772),_0x58135c);let _0x124d8b=_0x1de3ef(0x1db)+'\x0a\x0a';_0x124d8b+=_0x2a74f6[_0x1de3ef(0x1e3)](_0x2a74f6[_0x1de3ef(0x1ba)](_0x2a74f6[_0x1de3ef(0x198)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1ed)]),'\x0a'),_0x124d8b+=_0x2a74f6[_0x1de3ef(0x1e3)](_0x2a74f6[_0x1de3ef(0x192)](_0x2a74f6[_0x1de3ef(0x1ae)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)]),'\x0a'),_0x124d8b+=_0x2a74f6[_0x1de3ef(0x192)](_0x2a74f6[_0x1de3ef(0x1dc)](_0x2a74f6[_0x1de3ef(0x1be)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1f0)]),'\x0a'),_0x124d8b+=_0x2a74f6[_0x1de3ef(0x205)](_0x2a74f6[_0x1de3ef(0x189)](_0x2a74f6[_0x1de3ef(0x196)],_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1d0)]),'\x0a\x0a'),_0x124d8b+=global[_0x1de3ef(0x19b)];const _0x228bfa=_0x4f4e1d[_0x1de3ef(0x183)](_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)],_0xb052e9[_0x1de3ef(0x203)]?_0x31fef2[_0x1de3ef(0x1b8)]:_0x31fef2[_0x1de3ef(0x1b8)+_0x1de3ef(0x1ca)]),_0x50f031=_0xb052e9[_0x1de3ef(0x203)]?_0x1de3ef(0x17e)+_0x1de3ef(0x20b)+_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)]+(_0x1de3ef(0x17c)+_0x1de3ef(0x1a6)+_0x1de3ef(0x208)+_0x1de3ef(0x1b5)+_0x1de3ef(0x186)+_0x1de3ef(0x1ff)+_0x1de3ef(0x1e4))+_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1c9)]:_0x1de3ef(0x1b3)+_0x1de3ef(0x20b)+_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1a0)]+(_0x1de3ef(0x1d2)+_0x1de3ef(0x1bf)+_0x1de3ef(0x1a2)+_0x1de3ef(0x1e6)+_0x1de3ef(0x1a8)+_0x1de3ef(0x1b2))+_0x31fef2[_0x1de3ef(0x1b8)+_0x1de3ef(0x1ca)]+(_0x1de3ef(0x1af)+_0x1de3ef(0x19d)+_0x1de3ef(0x1ef)+_0x1de3ef(0x1fb))+_0x31fef2[_0x1de3ef(0x1b8)]+_0x1de3ef(0x1cf);if(_0x228bfa[_0x1de3ef(0x207)])return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x50f031,_0x58135c);_0x25304e[_0x1de3ef(0x1bb)+_0x1de3ef(0x17d)](_0x58135c[_0x1de3ef(0x201)],_0x124d8b,_0x58135c,{'largeThumb':!![],'thumbnail':_0x22d772[_0x1de3ef(0x1c3)][_0x1de3ef(0x1ee)]})[_0x1de3ef(0x1e1)](()=>{const _0x2b8162=_0x1de3ef;_0x25304e[_0x2b8162(0x199)](_0x58135c[_0x2b8162(0x201)],_0x22d772[_0x2b8162(0x1c3)][_0x2b8162(0x1c9)],_0x2a74f6[_0x2b8162(0x20a)](_0x22d772[_0x2b8162(0x1c3)][_0x2b8162(0x1ed)],_0x2a74f6[_0x2b8162(0x1f6)]),'',_0x58135c);});}else{_0x58135c[_0x1de3ef(0x1d9)]('πŸ•’');const _0x26c823=await Api[_0x1de3ef(0x1ec)](_0x2a74f6[_0x1de3ef(0x18b)],{'q':_0x2ebccd});if(!_0x26c823[_0x1de3ef(0x1dd)])return _0x25304e[_0x1de3ef(0x1e0)](_0x58135c[_0x1de3ef(0x201)],_0x4f4e1d[_0x1de3ef(0x182)](_0x26c823),_0x58135c);if(!_0x325d46)_0x25304e[_0x1de3ef(0x1bc)][_0x1de3ef(0x1fa)]({'jid':_0x58135c[_0x1de3ef(0x1ad)],'query':_0x2ebccd,'results':_0x26c823[_0x1de3ef(0x1c3)][_0x1de3ef(0x1b1)](_0x2033c7=>_0x2033c7[_0x1de3ef(0x1a7)]),'created_at':_0x2a74f6[_0x1de3ef(0x1fe)](new Date(),-0x23a0+0xcb1+0x16f0)});else _0x325d46[_0x1de3ef(0x19e)]=_0x26c823[_0x1de3ef(0x1c3)][_0x1de3ef(0x1b1)](_0x46bf0d=>_0x46bf0d[_0x1de3ef(0x1a7)]);let _0x5fe473=_0x1de3ef(0x1a3)+_0x1de3ef(0x195)+_0x1de3ef(0x1a1)+_0x1de3ef(0x1e7)+_0x2a74f6[_0x1de3ef(0x1b9)](_0x139bb6,_0x4f0b21)+_0x1de3ef(0x19a);_0x5fe473+=_0x1de3ef(0x1c2)+':\x20'+_0x2a74f6[_0x1de3ef(0x200)](_0x139bb6,_0x4f0b21)+_0x1de3ef(0x1eb),_0x26c823[_0x1de3ef(0x1c3)][_0x1de3ef(0x1b1)]((_0x206a9,_0x40f919)=>{const _0x2c358e=_0x1de3ef,_0x29996a=_0x2a74f6[_0x2c358e(0x18d)][_0x2c358e(0x1da)]('|');let _0x38d9d0=0x166f+0x1*0x689+0x73e*-0x4;while(!![]){switch(_0x29996a[_0x38d9d0++]){case'0':_0x5fe473+=_0x2a74f6[_0x2c358e(0x20a)](_0x2a74f6[_0x2c358e(0x20a)](_0x2c358e(0x1aa)+_0x2c358e(0x190),_0x206a9[_0x2c358e(0x1ea)]),'\x0a');continue;case'1':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1e3)](_0x2a74f6[_0x2c358e(0x192)](_0x2c358e(0x194)+_0x2c358e(0x1d7),_0x206a9[_0x2c358e(0x1a4)]),'\x0a');continue;case'2':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1e3)](_0x2a74f6[_0x2c358e(0x192)](_0x2c358e(0x18c)+'\x20',_0x206a9[_0x2c358e(0x1a0)]),'\x0a');continue;case'3':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1d8)](_0x2a74f6[_0x2c358e(0x192)]('*'+_0x2a74f6[_0x2c358e(0x1f2)](_0x40f919,0x2*0x54b+-0x5*0x149+-0x428)+_0x2c358e(0x204),_0x206a9[_0x2c358e(0x1ed)]),'\x0a');continue;case'4':_0x5fe473+=_0x2a74f6[_0x2c358e(0x1d8)](_0x2a74f6[_0x2c358e(0x1f5)](_0x2c358e(0x1b0)+_0x2c358e(0x19c),_0x206a9[_0x2c358e(0x1f8)]),'\x0a\x0a');continue;}break;}})[_0x1de3ef(0x1c5)]('\x0a\x0a'),_0x5fe473+=global[_0x1de3ef(0x19b)],_0x58135c[_0x1de3ef(0x1e0)](_0x5fe473);}_0x2a74f6[_0x1de3ef(0x185)](setInterval,async()=>{const _0x278dcf=_0x1de3ef,_0x3b4969=_0x25304e[_0x278dcf(0x1bc)][_0x278dcf(0x1f1)](_0x2868bb=>_0x2868bb[_0x278dcf(0x202)]==_0x58135c[_0x278dcf(0x1ad)]);_0x3b4969&&_0x2a74f6[_0x278dcf(0x1f9)](_0x2a74f6[_0x278dcf(0x1c7)](new Date(),_0x3b4969[_0x278dcf(0x1cc)]),_0x31fef2[_0x278dcf(0x18f)])&&_0x4f4e1d[_0x278dcf(0x1d5)](_0x25304e[_0x278dcf(0x1bc)],_0x3b4969);},-0xb442+0xb6cf+0xe7d3);}catch(_0x4b1fe4){return console[_0x1de3ef(0x1c8)](_0x4b1fe4),_0x58135c[_0x1de3ef(0x1e0)](_0x4f4e1d[_0x1de3ef(0x182)](_0x4b1fe4));}},'help':[_0x41d47b(0x1bc)],'use':_0x41d47b(0x206),'tags':[_0x41d47b(0x197)],'command':/^(apk)$/i}); \ No newline at end of file diff --git a/plugins/downloader/apkmod.js b/plugins/downloader/apkmod.js index baadd1b..06b4e66 100644 --- a/plugins/downloader/apkmod.js +++ b/plugins/downloader/apkmod.js @@ -1 +1 @@ -function _0x5064(_0x39bbef,_0x116343){const _0x374c3e=_0x1e37();return _0x5064=function(_0x4d8256,_0x5ddc6a){_0x4d8256=_0x4d8256-(0x2029+0x59*0x52+-0x6f*0x8b);let _0x413f4e=_0x374c3e[_0x4d8256];return _0x413f4e;},_0x5064(_0x39bbef,_0x116343);}const _0x274bbf=_0x5064;function _0x1e37(){const _0x5b0deb=['query','TaKcU','8443100XLWQqy','then','ch\x20using\x20t','sion\x20has\x20e','on*\x20:\x20','sendMessag','ist,\x20do\x20an','rEsuo','map','*.\x20','r\x20premium\x20','ximum\x20size','ion*\x20:\x20','),\x20you\x20can','gtiao','*\x20:\x20','\x20of\x20','m\x20limit.','M\x20O\x20D*\x0a\x0a','sFseW','oOTvI','ymrok','premium','d\x20apkmod\x20u','downloader','\x201\x0a\x0a','timeout','OOldM','Qsetu','bold','5866128FFYHOp','results','api/apkmod','RySzy','sendFile','url','rpeiM','mount\x20of\x20d','filename','jgAXY','eModify','status','oversize','\x20MB\x20and\x20fo','\x20\x20β—¦\x20\x20*Size','size','find','IyBxS','chat','RLHig','react','\x20\x20β—¦\x20\x20*Rati','exports','rCRzV','footer','version','2256oPTRyB','FNahj','s\x20you\x20want','πŸ’€\x20File\x20siz','eZPoR','enhwb','noISJ','201606eoalDW','mmand\x20*','AIGwo','apkmod','load\x20files','xpired\x20/\x20d','data','file','uVcPn','🚩\x20Your\x20ses','⚠️\x20File\x20siz','oes\x20not\x20ex','max_upload','sizeLimit','join','ximum\x20of\x20','11035192RBFxiY','QoOOx','users\x20a\x20ma','\x20number*\x0a','HRSzL','\x20only\x20down',')\x20exceeds\x20','\x20MB.','the\x20maximu','e\x20(','\x20with\x20a\x20ma','\x20\x20β—¦\x20\x20*Vers','220314FQeDSq','CAmsq','get','push','\x20\x20β—¦\x20\x20*Mod*','ZOzdc','other\x20sear','*Example*\x20','length','YnABo','texted','\x20β—¦\x20\x20*Mod*\x20','45vqxpjs','-get','To\x20downloa','reply','\x20:\x20','example','10swfgcy','Subway\x20Sur','\x20β—¦\x20\x20*Size*','jsonFormat','thumbnail','\x20β—¦\x20\x20*Versi','log','sender','_free','jid','CXtGd','bBRvT','fSvRk','he\x20keyword','removeItem','🚩\x20Exceed\x20a','UigRW','gyGGB','name','2253459nZpyUK','mod','se\x20this\x20co','ng*\x20:\x20','–\x20\x20*A\x20P\x20K\x20','ata.','\x20\x20β—¦\x20\x20*Name','rating','reWtf','created_at','5415KXqSCX'];_0x1e37=function(){return _0x5b0deb;};return _0x1e37();}(function(_0x41c162,_0x2da6b3){const _0x1b5d8d=_0x5064,_0x1038b5=_0x41c162();while(!![]){try{const _0x5dddba=parseInt(_0x1b5d8d(0x84))/(0x22b*0xa+-0x2ab*-0x8+-0x1*0x2b05)*(-parseInt(_0x1b5d8d(0x72))/(0x7a+0x6*-0x1c3+0xa1a))+-parseInt(_0x1b5d8d(0x97))/(-0x1*0xe5b+-0xd4a+0x1ba8)+parseInt(_0x1b5d8d(0xdc))/(-0xb*0x18d+0x19*-0x167+0x3422*0x1)*(-parseInt(_0x1b5d8d(0xa1))/(-0x23*-0x29+0x25ba+-0x2b50))+-parseInt(_0x1b5d8d(0xe3))/(-0x1a21+0x1*-0x1c69+0x2*0x1b48)+-parseInt(_0x1b5d8d(0x66))/(0x3d*-0x7f+-0xcd3*0x2+0x37f0)+parseInt(_0x1b5d8d(0xc2))/(0x1*-0xfd3+-0x87f+0x185a)+parseInt(_0x1b5d8d(0x7e))/(0x1f44+0x192a+-0x3865)*(parseInt(_0x1b5d8d(0xa4))/(-0xc9c+-0x1df8+-0xa*-0x443));if(_0x5dddba===_0x2da6b3)break;else _0x1038b5['push'](_0x1038b5['shift']());}catch(_0x16b8c8){_0x1038b5['push'](_0x1038b5['shift']());}}}(_0x1e37,-0xffbee*0x1+0x20001*0x7+0xb5*0x15d3),module[_0x274bbf(0xd8)]={'run':async(_0x2ad1c,{conn:_0x17f4e4,usedPrefix:_0x3bf32b,command:_0x1a4e45,text:_0x43112b,users:_0x2a7896,env:_0x16404b,Func:_0x2c7261})=>{const _0x36e67c=_0x274bbf,_0xd91719={'oOTvI':function(_0x474c4f,_0x49aa3c){return _0x474c4f+_0x49aa3c;},'eZPoR':function(_0x9f40ac,_0x44c4f){return _0x9f40ac+_0x44c4f;},'uVcPn':function(_0x2dd7af,_0x38739e){return _0x2dd7af+_0x38739e;},'YnABo':function(_0x48aa9f,_0xf70ffb){return _0x48aa9f+_0xf70ffb;},'reWtf':function(_0x541ef6,_0xb4cf47){return _0x541ef6+_0xb4cf47;},'fSvRk':function(_0x24d785,_0xce131){return _0x24d785+_0xce131;},'gtiao':function(_0x10a9b8,_0x458468){return _0x10a9b8>_0x458468;},'ymrok':function(_0x3e9fd0,_0x16ec66){return _0x3e9fd0-_0x16ec66;},'IyBxS':_0x36e67c(0x85)+'f','QoOOx':function(_0x46ca06,_0xc29676){return _0x46ca06(_0xc29676);},'noISJ':_0x36e67c(0xc1),'HRSzL':function(_0x2ef18c,_0x32a221){return _0x2ef18c(_0x32a221);},'OOldM':function(_0x305ef4,_0x619360){return _0x305ef4(_0x619360);},'bBRvT':_0x36e67c(0xc4)+_0x36e67c(0x7f),'RySzy':function(_0x44ec08,_0x38b868){return _0x44ec08-_0x38b868;},'gyGGB':function(_0x4df343,_0x55d501){return _0x4df343(_0x55d501);},'rpeiM':function(_0x3b3e4b,_0x1e34c6){return _0x3b3e4b+_0x1e34c6;},'rCRzV':_0x36e67c(0x9d)+_0x36e67c(0xb3),'RLHig':_0x36e67c(0xd0)+_0x36e67c(0xb3),'FNahj':function(_0x2a6970,_0x26162b){return _0x2a6970+_0x26162b;},'CAmsq':_0x36e67c(0xd7)+_0x36e67c(0x9a),'ZOzdc':function(_0x54f6fd,_0x4c05ed){return _0x54f6fd+_0x4c05ed;},'rEsuo':function(_0x33da8d,_0x5849cc){return _0x33da8d+_0x5849cc;},'CXtGd':_0x36e67c(0x71)+_0x36e67c(0xb0),'TaKcU':function(_0x2d582f,_0x292552){return _0x2d582f+_0x292552;},'enhwb':_0x36e67c(0x76)+_0x36e67c(0x82),'UigRW':_0x36e67c(0xc4),'sFseW':function(_0x47bb7a,_0xa9d039){return _0x47bb7a*_0xa9d039;},'jgAXY':function(_0xd3ecb7,_0x3478f4){return _0xd3ecb7+_0x3478f4;},'AIGwo':function(_0x582f06,_0x1cb579){return _0x582f06+_0x1cb579;},'Qsetu':function(_0x17b921,_0x1a8972,_0x3de909){return _0x17b921(_0x1a8972,_0x3de909);}};try{_0x17f4e4[_0x36e67c(0xe6)]=_0x17f4e4[_0x36e67c(0xe6)]?_0x17f4e4[_0x36e67c(0xe6)]:[];if(!_0x43112b)return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x2c7261[_0x36e67c(0x83)](_0x3bf32b,_0x1a4e45,_0xd91719[_0x36e67c(0xd3)]),_0x2ad1c);const _0x3e3522=_0x17f4e4[_0x36e67c(0xe6)][_0x36e67c(0xd2)](_0x528fd6=>_0x528fd6[_0x36e67c(0x8d)]==_0x2ad1c[_0x36e67c(0x8b)]);if(!_0x3e3522&&!_0xd91719[_0x36e67c(0x67)](isNaN,_0x43112b))return _0x2ad1c[_0x36e67c(0x81)](_0x2c7261[_0x36e67c(0x7c)](_0xd91719[_0x36e67c(0xe2)],_0x36e67c(0xec)+_0x36e67c(0xa7)+_0x36e67c(0xe8)+_0x36e67c(0xee)+_0x36e67c(0xaa)+_0x36e67c(0x78)+_0x36e67c(0xa6)+_0x36e67c(0x91)+_0x36e67c(0xde)+'.'));if(_0x3e3522&&!_0xd91719[_0x36e67c(0x6a)](isNaN,_0x43112b)){if(_0xd91719[_0x36e67c(0xb2)](_0xd91719[_0x36e67c(0xbf)](Number,_0x43112b),_0x3e3522[_0x36e67c(0xc3)][_0x36e67c(0x7a)]))return _0x2ad1c[_0x36e67c(0x81)](_0x2c7261[_0x36e67c(0x7c)](_0xd91719[_0x36e67c(0xe2)],_0x36e67c(0x93)+_0x36e67c(0xc9)+_0x36e67c(0x9c)));_0x2ad1c[_0x36e67c(0xd6)]('πŸ•’');const _0xa4c7b3=await Api[_0x36e67c(0x74)](_0xd91719[_0x36e67c(0x8f)],{'url':_0x3e3522[_0x36e67c(0xc3)][_0xd91719[_0x36e67c(0xc5)](_0xd91719[_0x36e67c(0x95)](Number,_0x43112b),0x1813+0x2*0xa25+-0x2*0x162e)]});if(!_0xa4c7b3[_0x36e67c(0xcd)])return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x2c7261[_0x36e67c(0x87)](_0xa4c7b3),_0x2ad1c);let _0x2e2fbc=_0x36e67c(0x9b)+_0x36e67c(0xb6);_0x2e2fbc+=_0xd91719[_0x36e67c(0xb8)](_0xd91719[_0x36e67c(0xc8)](_0xd91719[_0x36e67c(0xd9)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x96)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0xb8)](_0xd91719[_0x36e67c(0x90)](_0xd91719[_0x36e67c(0xd5)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0x9f)](_0xd91719[_0x36e67c(0xdd)](_0xd91719[_0x36e67c(0x73)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x9e)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0x77)](_0xd91719[_0x36e67c(0xab)](_0xd91719[_0x36e67c(0x8e)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xdb)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0xa3)](_0xd91719[_0x36e67c(0xb8)](_0xd91719[_0x36e67c(0xe1)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x98)]),'\x0a\x0a'),_0x2e2fbc+=global[_0x36e67c(0xda)];const _0xabd53=_0x2c7261[_0x36e67c(0xf0)](_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)],_0x2a7896[_0x36e67c(0xba)]?_0x16404b[_0x36e67c(0xef)]:_0x16404b[_0x36e67c(0xef)+_0x36e67c(0x8c)]),_0x334183=_0x2a7896[_0x36e67c(0xba)]?_0x36e67c(0xdf)+_0x36e67c(0x6f)+_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)]+(_0x36e67c(0x6c)+_0x36e67c(0x6e)+_0x36e67c(0xb5)):_0x36e67c(0xed)+_0x36e67c(0x6f)+_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)]+(_0x36e67c(0xb1)+_0x36e67c(0x6b)+_0x36e67c(0xe7)+_0x36e67c(0x70)+_0x36e67c(0xaf)+_0x36e67c(0xb4))+_0x16404b[_0x36e67c(0xef)+_0x36e67c(0x8c)]+(_0x36e67c(0xcf)+_0x36e67c(0xae)+_0x36e67c(0x68)+_0x36e67c(0xf2))+_0x16404b[_0x36e67c(0xef)]+_0x36e67c(0x6d);if(_0xabd53[_0x36e67c(0xce)])return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x334183,_0x2ad1c);_0x17f4e4[_0x36e67c(0xa9)+_0x36e67c(0xcc)](_0x2ad1c[_0x36e67c(0xd4)],_0x2e2fbc,_0x2ad1c,{'largeThumb':!![],'thumbnail':_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x88)]})[_0x36e67c(0xa5)](()=>{const _0x42c1a4=_0x36e67c;_0x17f4e4[_0x42c1a4(0xc6)](_0x2ad1c[_0x42c1a4(0xd4)],_0xa4c7b3[_0x42c1a4(0xea)][_0x42c1a4(0xc7)],_0xa4c7b3[_0x42c1a4(0xea)][_0x42c1a4(0xca)],'',_0x2ad1c);});}else{_0x2ad1c[_0x36e67c(0xd6)]('πŸ•’');const _0x3bec1a=await Api[_0x36e67c(0x74)](_0xd91719[_0x36e67c(0x94)],{'q':_0x43112b});if(!_0x3bec1a[_0x36e67c(0xcd)])return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x2c7261[_0x36e67c(0x87)](_0x3bec1a),_0x2ad1c);if(!_0x3e3522)_0x17f4e4[_0x36e67c(0xe6)][_0x36e67c(0x75)]({'jid':_0x2ad1c[_0x36e67c(0x8b)],'query':_0x43112b,'results':_0x3bec1a[_0x36e67c(0xe9)][_0x36e67c(0xac)](_0x1566c4=>_0x1566c4[_0x36e67c(0xc7)]),'created_at':_0xd91719[_0x36e67c(0xb7)](new Date(),0x2642+-0x1eae+-0x793)});else _0x3e3522[_0x36e67c(0xc3)]=_0x3bec1a[_0x36e67c(0xe9)][_0x36e67c(0xac)](_0x1773a2=>_0x1773a2[_0x36e67c(0xc7)]);let _0x39809d=_0x36e67c(0x80)+_0x36e67c(0xbb)+_0x36e67c(0x99)+_0x36e67c(0xe4)+_0xd91719[_0x36e67c(0xcb)](_0x3bf32b,_0x1a4e45)+_0x36e67c(0x69);_0x39809d+=_0x36e67c(0x79)+':\x20'+_0xd91719[_0x36e67c(0xe5)](_0x3bf32b,_0x1a4e45)+_0x36e67c(0xbd),_0x3bec1a[_0x36e67c(0xe9)][_0x36e67c(0xac)]((_0x2a750e,_0x465ac7)=>{const _0x333336=_0x36e67c;_0x39809d+=_0xd91719[_0x333336(0xb8)](_0xd91719[_0x333336(0xe0)]('*'+_0xd91719[_0x333336(0xeb)](_0x465ac7,-0xbcf*0x1+-0x2510+0x30e0)+_0x333336(0xad),_0x2a750e[_0x333336(0x96)]),'\x0a'),_0x39809d+=_0xd91719[_0x333336(0xeb)](_0xd91719[_0x333336(0x7b)](_0x333336(0x86)+_0x333336(0x82),_0x2a750e[_0x333336(0xd1)]),'\x0a'),_0x39809d+=_0xd91719[_0x333336(0xb8)](_0xd91719[_0x333336(0x9f)](_0x333336(0x89)+_0x333336(0xa8),_0x2a750e[_0x333336(0xdb)]),'\x0a'),_0x39809d+=_0xd91719[_0x333336(0xeb)](_0xd91719[_0x333336(0x90)](_0x333336(0x7d)+':\x20',_0x2a750e[_0x333336(0x98)]),'\x0a\x0a');})[_0x36e67c(0xf1)]('\x0a\x0a'),_0x39809d+=global[_0x36e67c(0xda)],_0x2ad1c[_0x36e67c(0x81)](_0x39809d);}_0xd91719[_0x36e67c(0xc0)](setInterval,async()=>{const _0x5ab11f=_0x36e67c,_0x2ce42d=_0x17f4e4[_0x5ab11f(0xe6)][_0x5ab11f(0xd2)](_0x1bbc41=>_0x1bbc41[_0x5ab11f(0x8d)]==_0x2ad1c[_0x5ab11f(0x8b)]);_0x2ce42d&&_0xd91719[_0x5ab11f(0xb2)](_0xd91719[_0x5ab11f(0xb9)](new Date(),_0x2ce42d[_0x5ab11f(0xa0)]),_0x16404b[_0x5ab11f(0xbe)])&&_0x2c7261[_0x5ab11f(0x92)](_0x17f4e4[_0x5ab11f(0xe6)],_0x2ce42d);},-0x2314*0xd+0x13d*0x15b+0x104b5);}catch(_0x50d7e8){return console[_0x36e67c(0x8a)](_0x50d7e8),_0x2ad1c[_0x36e67c(0x81)](_0x2c7261[_0x36e67c(0x87)](_0x50d7e8));}},'help':[_0x274bbf(0xe6)],'use':_0x274bbf(0xa2),'tags':[_0x274bbf(0xbc)],'command':/^(apkmod)$/i}); \ No newline at end of file +function _0x5064(_0x39bbef,_0x116343){const _0x374c3e=_0x1e37();return _0x5064=function(_0x4d8256,_0x5ddc6a){_0x4d8256=_0x4d8256-(0x2029+0x59*0x52+-0x6f*0x8b);let _0x413f4e=_0x374c3e[_0x4d8256];return _0x413f4e;},_0x5064(_0x39bbef,_0x116343);}const _0x274bbf=_0x5064;function _0x1e37(){const _0x5b0deb=['query','TaKcU','8443100XLWQqy','then','ch\x20using\x20t','sion\x20has\x20e','on*\x20:\x20','sendMessag','ist,\x20do\x20an','rEsuo','map','*.\x20','r\x20premium\x20','ximum\x20size','ion*\x20:\x20','),\x20you\x20can','gtiao','*\x20:\x20','\x20of\x20','m\x20limit.','M\x20O\x20D*\x0a\x0a','sFseW','oOTvI','ymrok','premium','d\x20apkmod\x20u','downloader','\x201\x0a\x0a','timeout','OOldM','Qsetu','bold','5866128FFYHOp','results','api/apkmod','RySzy','sendFile','url','rpeiM','mount\x20of\x20d','filename','jgAXY','eModify','status','oversize','\x20MB\x20and\x20fo','\x20\x20β—¦\x20\x20*Size','size','find','IyBxS','chat','RLHig','react','\x20\x20β—¦\x20\x20*Rati','exports','rCRzV','footer','version','2256oPTRyB','FNahj','s\x20you\x20want','πŸ’€\x20File\x20siz','eZPoR','enhwb','noISJ','201606eoalDW','mmand\x20*','AIGwo','apkmod','load\x20files','xpired\x20/\x20d','data','file','uVcPn','🚩\x20Your\x20ses','⚠️\x20File\x20siz','oes\x20not\x20ex','max_upload','sizeLimit','join','ximum\x20of\x20','11035192RBFxiY','QoOOx','users\x20a\x20ma','\x20number*\x0a','HRSzL','\x20only\x20down',')\x20exceeds\x20','\x20MB.','the\x20maximu','e\x20(','\x20with\x20a\x20ma','\x20\x20β—¦\x20\x20*Vers','220314FQeDSq','CAmsq','get','push','\x20\x20β—¦\x20\x20*Mod*','ZOzdc','other\x20sear','*Example*\x20','length','YnABo','texted','\x20β—¦\x20\x20*Mod*\x20','45vqxpjs','-get','To\x20downloa','reply','\x20:\x20','example','10swfgcy','Subway\x20Sur','\x20β—¦\x20\x20*Size*','jsonFormat','thumbnail','\x20β—¦\x20\x20*Versi','log','sender','_free','jid','CXtGd','bBRvT','fSvRk','he\x20keyword','removeItem','🚩\x20Exceed\x20a','UigRW','gyGGB','name','2253459nZpyUK','mod','se\x20this\x20co','ng*\x20:\x20','δΉ‚\x20\x20*A\x20P\x20K\x20','ata.','\x20\x20β—¦\x20\x20*Name','rating','reWtf','created_at','5415KXqSCX'];_0x1e37=function(){return _0x5b0deb;};return _0x1e37();}(function(_0x41c162,_0x2da6b3){const _0x1b5d8d=_0x5064,_0x1038b5=_0x41c162();while(!![]){try{const _0x5dddba=parseInt(_0x1b5d8d(0x84))/(0x22b*0xa+-0x2ab*-0x8+-0x1*0x2b05)*(-parseInt(_0x1b5d8d(0x72))/(0x7a+0x6*-0x1c3+0xa1a))+-parseInt(_0x1b5d8d(0x97))/(-0x1*0xe5b+-0xd4a+0x1ba8)+parseInt(_0x1b5d8d(0xdc))/(-0xb*0x18d+0x19*-0x167+0x3422*0x1)*(-parseInt(_0x1b5d8d(0xa1))/(-0x23*-0x29+0x25ba+-0x2b50))+-parseInt(_0x1b5d8d(0xe3))/(-0x1a21+0x1*-0x1c69+0x2*0x1b48)+-parseInt(_0x1b5d8d(0x66))/(0x3d*-0x7f+-0xcd3*0x2+0x37f0)+parseInt(_0x1b5d8d(0xc2))/(0x1*-0xfd3+-0x87f+0x185a)+parseInt(_0x1b5d8d(0x7e))/(0x1f44+0x192a+-0x3865)*(parseInt(_0x1b5d8d(0xa4))/(-0xc9c+-0x1df8+-0xa*-0x443));if(_0x5dddba===_0x2da6b3)break;else _0x1038b5['push'](_0x1038b5['shift']());}catch(_0x16b8c8){_0x1038b5['push'](_0x1038b5['shift']());}}}(_0x1e37,-0xffbee*0x1+0x20001*0x7+0xb5*0x15d3),module[_0x274bbf(0xd8)]={'run':async(_0x2ad1c,{conn:_0x17f4e4,usedPrefix:_0x3bf32b,command:_0x1a4e45,text:_0x43112b,users:_0x2a7896,env:_0x16404b,Func:_0x2c7261})=>{const _0x36e67c=_0x274bbf,_0xd91719={'oOTvI':function(_0x474c4f,_0x49aa3c){return _0x474c4f+_0x49aa3c;},'eZPoR':function(_0x9f40ac,_0x44c4f){return _0x9f40ac+_0x44c4f;},'uVcPn':function(_0x2dd7af,_0x38739e){return _0x2dd7af+_0x38739e;},'YnABo':function(_0x48aa9f,_0xf70ffb){return _0x48aa9f+_0xf70ffb;},'reWtf':function(_0x541ef6,_0xb4cf47){return _0x541ef6+_0xb4cf47;},'fSvRk':function(_0x24d785,_0xce131){return _0x24d785+_0xce131;},'gtiao':function(_0x10a9b8,_0x458468){return _0x10a9b8>_0x458468;},'ymrok':function(_0x3e9fd0,_0x16ec66){return _0x3e9fd0-_0x16ec66;},'IyBxS':_0x36e67c(0x85)+'f','QoOOx':function(_0x46ca06,_0xc29676){return _0x46ca06(_0xc29676);},'noISJ':_0x36e67c(0xc1),'HRSzL':function(_0x2ef18c,_0x32a221){return _0x2ef18c(_0x32a221);},'OOldM':function(_0x305ef4,_0x619360){return _0x305ef4(_0x619360);},'bBRvT':_0x36e67c(0xc4)+_0x36e67c(0x7f),'RySzy':function(_0x44ec08,_0x38b868){return _0x44ec08-_0x38b868;},'gyGGB':function(_0x4df343,_0x55d501){return _0x4df343(_0x55d501);},'rpeiM':function(_0x3b3e4b,_0x1e34c6){return _0x3b3e4b+_0x1e34c6;},'rCRzV':_0x36e67c(0x9d)+_0x36e67c(0xb3),'RLHig':_0x36e67c(0xd0)+_0x36e67c(0xb3),'FNahj':function(_0x2a6970,_0x26162b){return _0x2a6970+_0x26162b;},'CAmsq':_0x36e67c(0xd7)+_0x36e67c(0x9a),'ZOzdc':function(_0x54f6fd,_0x4c05ed){return _0x54f6fd+_0x4c05ed;},'rEsuo':function(_0x33da8d,_0x5849cc){return _0x33da8d+_0x5849cc;},'CXtGd':_0x36e67c(0x71)+_0x36e67c(0xb0),'TaKcU':function(_0x2d582f,_0x292552){return _0x2d582f+_0x292552;},'enhwb':_0x36e67c(0x76)+_0x36e67c(0x82),'UigRW':_0x36e67c(0xc4),'sFseW':function(_0x47bb7a,_0xa9d039){return _0x47bb7a*_0xa9d039;},'jgAXY':function(_0xd3ecb7,_0x3478f4){return _0xd3ecb7+_0x3478f4;},'AIGwo':function(_0x582f06,_0x1cb579){return _0x582f06+_0x1cb579;},'Qsetu':function(_0x17b921,_0x1a8972,_0x3de909){return _0x17b921(_0x1a8972,_0x3de909);}};try{_0x17f4e4[_0x36e67c(0xe6)]=_0x17f4e4[_0x36e67c(0xe6)]?_0x17f4e4[_0x36e67c(0xe6)]:[];if(!_0x43112b)return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x2c7261[_0x36e67c(0x83)](_0x3bf32b,_0x1a4e45,_0xd91719[_0x36e67c(0xd3)]),_0x2ad1c);const _0x3e3522=_0x17f4e4[_0x36e67c(0xe6)][_0x36e67c(0xd2)](_0x528fd6=>_0x528fd6[_0x36e67c(0x8d)]==_0x2ad1c[_0x36e67c(0x8b)]);if(!_0x3e3522&&!_0xd91719[_0x36e67c(0x67)](isNaN,_0x43112b))return _0x2ad1c[_0x36e67c(0x81)](_0x2c7261[_0x36e67c(0x7c)](_0xd91719[_0x36e67c(0xe2)],_0x36e67c(0xec)+_0x36e67c(0xa7)+_0x36e67c(0xe8)+_0x36e67c(0xee)+_0x36e67c(0xaa)+_0x36e67c(0x78)+_0x36e67c(0xa6)+_0x36e67c(0x91)+_0x36e67c(0xde)+'.'));if(_0x3e3522&&!_0xd91719[_0x36e67c(0x6a)](isNaN,_0x43112b)){if(_0xd91719[_0x36e67c(0xb2)](_0xd91719[_0x36e67c(0xbf)](Number,_0x43112b),_0x3e3522[_0x36e67c(0xc3)][_0x36e67c(0x7a)]))return _0x2ad1c[_0x36e67c(0x81)](_0x2c7261[_0x36e67c(0x7c)](_0xd91719[_0x36e67c(0xe2)],_0x36e67c(0x93)+_0x36e67c(0xc9)+_0x36e67c(0x9c)));_0x2ad1c[_0x36e67c(0xd6)]('πŸ•’');const _0xa4c7b3=await Api[_0x36e67c(0x74)](_0xd91719[_0x36e67c(0x8f)],{'url':_0x3e3522[_0x36e67c(0xc3)][_0xd91719[_0x36e67c(0xc5)](_0xd91719[_0x36e67c(0x95)](Number,_0x43112b),0x1813+0x2*0xa25+-0x2*0x162e)]});if(!_0xa4c7b3[_0x36e67c(0xcd)])return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x2c7261[_0x36e67c(0x87)](_0xa4c7b3),_0x2ad1c);let _0x2e2fbc=_0x36e67c(0x9b)+_0x36e67c(0xb6);_0x2e2fbc+=_0xd91719[_0x36e67c(0xb8)](_0xd91719[_0x36e67c(0xc8)](_0xd91719[_0x36e67c(0xd9)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x96)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0xb8)](_0xd91719[_0x36e67c(0x90)](_0xd91719[_0x36e67c(0xd5)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0x9f)](_0xd91719[_0x36e67c(0xdd)](_0xd91719[_0x36e67c(0x73)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x9e)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0x77)](_0xd91719[_0x36e67c(0xab)](_0xd91719[_0x36e67c(0x8e)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xdb)]),'\x0a'),_0x2e2fbc+=_0xd91719[_0x36e67c(0xa3)](_0xd91719[_0x36e67c(0xb8)](_0xd91719[_0x36e67c(0xe1)],_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x98)]),'\x0a\x0a'),_0x2e2fbc+=global[_0x36e67c(0xda)];const _0xabd53=_0x2c7261[_0x36e67c(0xf0)](_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)],_0x2a7896[_0x36e67c(0xba)]?_0x16404b[_0x36e67c(0xef)]:_0x16404b[_0x36e67c(0xef)+_0x36e67c(0x8c)]),_0x334183=_0x2a7896[_0x36e67c(0xba)]?_0x36e67c(0xdf)+_0x36e67c(0x6f)+_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)]+(_0x36e67c(0x6c)+_0x36e67c(0x6e)+_0x36e67c(0xb5)):_0x36e67c(0xed)+_0x36e67c(0x6f)+_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0xd1)]+(_0x36e67c(0xb1)+_0x36e67c(0x6b)+_0x36e67c(0xe7)+_0x36e67c(0x70)+_0x36e67c(0xaf)+_0x36e67c(0xb4))+_0x16404b[_0x36e67c(0xef)+_0x36e67c(0x8c)]+(_0x36e67c(0xcf)+_0x36e67c(0xae)+_0x36e67c(0x68)+_0x36e67c(0xf2))+_0x16404b[_0x36e67c(0xef)]+_0x36e67c(0x6d);if(_0xabd53[_0x36e67c(0xce)])return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x334183,_0x2ad1c);_0x17f4e4[_0x36e67c(0xa9)+_0x36e67c(0xcc)](_0x2ad1c[_0x36e67c(0xd4)],_0x2e2fbc,_0x2ad1c,{'largeThumb':!![],'thumbnail':_0xa4c7b3[_0x36e67c(0xe9)][_0x36e67c(0x88)]})[_0x36e67c(0xa5)](()=>{const _0x42c1a4=_0x36e67c;_0x17f4e4[_0x42c1a4(0xc6)](_0x2ad1c[_0x42c1a4(0xd4)],_0xa4c7b3[_0x42c1a4(0xea)][_0x42c1a4(0xc7)],_0xa4c7b3[_0x42c1a4(0xea)][_0x42c1a4(0xca)],'',_0x2ad1c);});}else{_0x2ad1c[_0x36e67c(0xd6)]('πŸ•’');const _0x3bec1a=await Api[_0x36e67c(0x74)](_0xd91719[_0x36e67c(0x94)],{'q':_0x43112b});if(!_0x3bec1a[_0x36e67c(0xcd)])return _0x17f4e4[_0x36e67c(0x81)](_0x2ad1c[_0x36e67c(0xd4)],_0x2c7261[_0x36e67c(0x87)](_0x3bec1a),_0x2ad1c);if(!_0x3e3522)_0x17f4e4[_0x36e67c(0xe6)][_0x36e67c(0x75)]({'jid':_0x2ad1c[_0x36e67c(0x8b)],'query':_0x43112b,'results':_0x3bec1a[_0x36e67c(0xe9)][_0x36e67c(0xac)](_0x1566c4=>_0x1566c4[_0x36e67c(0xc7)]),'created_at':_0xd91719[_0x36e67c(0xb7)](new Date(),0x2642+-0x1eae+-0x793)});else _0x3e3522[_0x36e67c(0xc3)]=_0x3bec1a[_0x36e67c(0xe9)][_0x36e67c(0xac)](_0x1773a2=>_0x1773a2[_0x36e67c(0xc7)]);let _0x39809d=_0x36e67c(0x80)+_0x36e67c(0xbb)+_0x36e67c(0x99)+_0x36e67c(0xe4)+_0xd91719[_0x36e67c(0xcb)](_0x3bf32b,_0x1a4e45)+_0x36e67c(0x69);_0x39809d+=_0x36e67c(0x79)+':\x20'+_0xd91719[_0x36e67c(0xe5)](_0x3bf32b,_0x1a4e45)+_0x36e67c(0xbd),_0x3bec1a[_0x36e67c(0xe9)][_0x36e67c(0xac)]((_0x2a750e,_0x465ac7)=>{const _0x333336=_0x36e67c;_0x39809d+=_0xd91719[_0x333336(0xb8)](_0xd91719[_0x333336(0xe0)]('*'+_0xd91719[_0x333336(0xeb)](_0x465ac7,-0xbcf*0x1+-0x2510+0x30e0)+_0x333336(0xad),_0x2a750e[_0x333336(0x96)]),'\x0a'),_0x39809d+=_0xd91719[_0x333336(0xeb)](_0xd91719[_0x333336(0x7b)](_0x333336(0x86)+_0x333336(0x82),_0x2a750e[_0x333336(0xd1)]),'\x0a'),_0x39809d+=_0xd91719[_0x333336(0xb8)](_0xd91719[_0x333336(0x9f)](_0x333336(0x89)+_0x333336(0xa8),_0x2a750e[_0x333336(0xdb)]),'\x0a'),_0x39809d+=_0xd91719[_0x333336(0xeb)](_0xd91719[_0x333336(0x90)](_0x333336(0x7d)+':\x20',_0x2a750e[_0x333336(0x98)]),'\x0a\x0a');})[_0x36e67c(0xf1)]('\x0a\x0a'),_0x39809d+=global[_0x36e67c(0xda)],_0x2ad1c[_0x36e67c(0x81)](_0x39809d);}_0xd91719[_0x36e67c(0xc0)](setInterval,async()=>{const _0x5ab11f=_0x36e67c,_0x2ce42d=_0x17f4e4[_0x5ab11f(0xe6)][_0x5ab11f(0xd2)](_0x1bbc41=>_0x1bbc41[_0x5ab11f(0x8d)]==_0x2ad1c[_0x5ab11f(0x8b)]);_0x2ce42d&&_0xd91719[_0x5ab11f(0xb2)](_0xd91719[_0x5ab11f(0xb9)](new Date(),_0x2ce42d[_0x5ab11f(0xa0)]),_0x16404b[_0x5ab11f(0xbe)])&&_0x2c7261[_0x5ab11f(0x92)](_0x17f4e4[_0x5ab11f(0xe6)],_0x2ce42d);},-0x2314*0xd+0x13d*0x15b+0x104b5);}catch(_0x50d7e8){return console[_0x36e67c(0x8a)](_0x50d7e8),_0x2ad1c[_0x36e67c(0x81)](_0x2c7261[_0x36e67c(0x87)](_0x50d7e8));}},'help':[_0x274bbf(0xe6)],'use':_0x274bbf(0xa2),'tags':[_0x274bbf(0xbc)],'command':/^(apkmod)$/i}); \ No newline at end of file diff --git a/plugins/internet/npm.js b/plugins/internet/npm.js index 2142c12..84e3b64 100644 --- a/plugins/internet/npm.js +++ b/plugins/internet/npm.js @@ -21,7 +21,7 @@ module.exports = { }) if (!json.status) return m.reply(Func.jsonFormat(json)) if (json.data.length == 0) return m.reply(Func.texted('bold', '🚩 Package not found.')) - let teks = `– *N P M J S*\n\n` + let teks = `δΉ‚ *N P M J S*\n\n` json.data.map((v, i) => { teks += '*' + (i + 1) + '. ' + v.package.name + '*\n' teks += ' β—¦ *Version* : ' + v.package.version + '\n' diff --git a/plugins/internet/wallpaper.js b/plugins/internet/wallpaper.js index 736e870..ae1b27a 100644 --- a/plugins/internet/wallpaper.js +++ b/plugins/internet/wallpaper.js @@ -19,7 +19,7 @@ module.exports = { if (!json.status) return m.reply(Func.jsonFormat(json)) for (let i = 0; i < 3; i++) { let ran = Math.floor(json.data.length * Math.random()) - let cap = `– *W A L L P A P E R*\n\n` + let cap = `δΉ‚ *W A L L P A P E R*\n\n` cap += ` ∘ *Size* : ` + json.data[ran].size + `\n` cap += ` ∘ *Dimension* : ` + json.data[ran].size + `\n` cap += ` ∘ *Keyword* : ` + json.data[ran].keywords + `\n\n` diff --git a/plugins/menu.js b/plugins/menu.js index 8ce0784..7f6f516 100644 --- a/plugins/menu.js +++ b/plugins/menu.js @@ -9,7 +9,7 @@ module.exports = { args, env, setting, - plugins, + plugins: plugs, Func }) => { try { @@ -17,52 +17,56 @@ module.exports = { const style = setting.style const local_size = fs.existsSync('./database.json') ? await Func.getSize(fs.statSync('./database.json').size) : '' const message = setting.msg.replace('+tag', `@${m.sender.replace(/@.+/g, '')}`).replace('+name', m.name).replace('+greeting', Func.greeting()).replace('+db', (/mongo/.test(env.databaseurl) ? 'MongoDB' : /postgresql/.test(env.databaseurl) ? 'PostgreSQL' : `Local : ${local_size}`)) + const plugins = Object.fromEntries(Object.entries(plugs).filter(([name, _]) => !setting.pluginDisable.includes(name.split('/').pop()))) if (style === 1) { let filter = Object.entries(plugins).filter(([_, obj]) => obj.help) let cmd = Object.fromEntries(filter) let category = [] - for (let name in cmd) { let obj = cmd[name] if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { category[obj.tags[0]] = [] category[obj.tags[0]].push(obj) } } - const keys = Object.keys(category).sort() let print = message print += '\n' + String.fromCharCode(8206).repeat(4001) - for (let k of keys) { print += '\n\nδΉ‚ *' + k.toUpperCase().split('').join(' ') + '*\n\n' - let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(k)) + let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && !v.disabled && v.tags.includes(k)) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) continue - let commands = [] cmd.map(([_, v]) => { switch (v.help.constructor.name) { case 'Array': - v.help.map(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) - break; - case 'String': - commands.push({ - usage: v.help, - use: v.use ? Func.texted('bold', v.use) : '' + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } }) + break + case 'String': + if (!commands.some(cmd => cmd.usage === v.help)) { + commands.push({ + usage: v.help, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } } }) print += commands.sort((a, b) => a.usage.localeCompare(b.usage)).map(v => ` β—¦ ${_p + v.usage} ${v.use}`).join('\n') } - conn.sendMessageModify(m.chat, print + '\n\n' + global.footer, m, { ads: false, largeThumb: true, @@ -73,57 +77,59 @@ module.exports = { let filter = Object.entries(plugins).filter(([_, obj]) => obj.help) let cmd = Object.fromEntries(filter) let category = {} - for (let name in cmd) { let obj = cmd[name] if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { - category[obj.tags[0]] = [obj] + category[obj.tags[0]] = [] + category[obj.tags[0]].push(obj) } } - const keys = Object.keys(category).sort() let print = message print += '\n' + String.fromCharCode(8206).repeat(4001) - for (let k of keys) { - print += '\n\n – *' + k.toUpperCase().split('').map(v => v).join(' ') + '*\n\n' + print += '\n\n δΉ‚ *' + k.toUpperCase().split('').map(v => v).join(' ') + '*\n\n' let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(k)) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) continue - let commands = [] cmd.map(([_, v]) => { - if (v.help) { // Memastikan v.help ada - switch (v.help.constructor.name) { - case 'Array': - v.help.map(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) - break - case 'String': + switch (v.help.constructor.name) { + case 'Array': + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } + }) + break + case 'String': + if (!commands.some(cmd => cmd.usage === v.help)) { commands.push({ usage: v.help, use: v.use ? Func.texted('bold', v.use) : '' }) - } + } } }) print += commands.sort((a, b) => a.usage.localeCompare(b.usage)).map((v, i) => { if (i == 0) { - return `β”Œ β—¦ ${_p + v.usage} ${v.use}`; + return `β”Œ β—¦ ${_p + v.usage} ${v.use}` } else if (i == commands.length - 1) { - return `β”” β—¦ ${_p + v.usage} ${v.use}`; + return `β”” β—¦ ${_p + v.usage} ${v.use}` } else { - return `β”‚ β—¦ ${_p + v.usage} ${v.use}`; + return `β”‚ β—¦ ${_p + v.usage} ${v.use}` } }).join('\n') } - conn.sendMessageModify(m.chat, print + '\n\n' + global.footer, m, { ads: false, largeThumb: true, @@ -132,23 +138,29 @@ module.exports = { }) } else if (style === 3) { if (text) { - let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !setting.hidden.includes(v.tags[0])) + let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !v.disabled && !setting.hidden.includes(v.tags[0])) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) return let commands = [] cmd.forEach(([_, v]) => { switch (v.help.constructor.name) { case 'Array': - v.help.forEach(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } + }) break case 'String': - commands.push({ - usage: v.help, - use: v.use ? Func.texted('bold', v.use) : '' - }) + if (!commands.some(cmd => cmd.usage === v.help)) { + commands.push({ + usage: v.help, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } } }) let print = commands.sort((a, b) => a.usage.localeCompare(b.usage)).map((v, i) => { @@ -172,9 +184,12 @@ module.exports = { if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { - category[obj.tags[0]] = [obj] + category[obj.tags[0]] = [] + category[obj.tags[0]].push(obj) } } const keys = Object.keys(category).sort() @@ -196,23 +211,29 @@ module.exports = { } } else if (style === 4) { if (text) { - let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !setting.hidden.includes(v.tags[0])) + let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !v.disabled && !setting.hidden.includes(v.tags[0])) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) return - let commands = []; + let commands = [] cmd.forEach(([_, v]) => { switch (v.help.constructor.name) { case 'Array': - v.help.forEach(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } + }) break case 'String': - commands.push({ - usage: v.help, - use: v.use ? Func.texted('bold', v.use) : '' - }) + if (!commands.some(cmd => cmd.usage === v.help)) { + commands.push({ + usage: v.help, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } } }) let print = commands.sort((a, b) => a.usage.localeCompare(b.usage)).map((v, i) => { @@ -235,9 +256,12 @@ module.exports = { if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { - category[obj.tags[0]] = [obj] + category[obj.tags[0]] = [] + category[obj.tags[0]].push(obj) } } const keys = Object.keys(category).sort() @@ -271,48 +295,51 @@ module.exports = { let filter = Object.entries(plugins).filter(([_, obj]) => obj.help) let cmd = Object.fromEntries(filter) let category = [] - for (let name in cmd) { let obj = cmd[name] if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { category[obj.tags[0]] = [] category[obj.tags[0]].push(obj) } } - const keys = Object.keys(category).sort() let print = message print += '\n' + String.fromCharCode(8206).repeat(4001) - for (let k of keys) { print += '\n\nδΉ‚ *' + k.toUpperCase().split('').join(' ') + '*\n\n' let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(k)) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) continue - let commands = [] cmd.map(([_, v]) => { switch (v.help.constructor.name) { case 'Array': - v.help.map(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) - break; - case 'String': - commands.push({ - usage: v.help, - use: v.use ? Func.texted('bold', v.use) : '' + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } }) + break + case 'String': + if (!commands.some(cmd => cmd.usage === v.help)) { + commands.push({ + usage: v.help, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } } }) print += commands.sort((a, b) => a.usage.localeCompare(b.usage)).map(v => ` β—¦ ${_p + v.usage} ${v.use}`).join('\n') } - conn.sendMessageModify(m.chat, Func.Styles(print) + '\n\n' + global.footer, m, { ads: false, largeThumb: true, @@ -323,57 +350,59 @@ module.exports = { let filter = Object.entries(plugins).filter(([_, obj]) => obj.help) let cmd = Object.fromEntries(filter) let category = {} - for (let name in cmd) { let obj = cmd[name] if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { - category[obj.tags[0]] = [obj] + category[obj.tags[0]] = [] + category[obj.tags[0]].push(obj) } } - const keys = Object.keys(category).sort() let print = message print += '\n' + String.fromCharCode(8206).repeat(4001) - for (let k of keys) { - print += '\n\n – *' + k.toUpperCase().split('').map(v => v).join(' ') + '*\n\n' + print += '\n\n δΉ‚ *' + k.toUpperCase().split('').map(v => v).join(' ') + '*\n\n' let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(k)) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) continue - let commands = [] cmd.map(([_, v]) => { - if (v.help) { // Memastikan v.help ada - switch (v.help.constructor.name) { - case 'Array': - v.help.map(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) - break - case 'String': + switch (v.help.constructor.name) { + case 'Array': + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } + }) + break + case 'String': + if (!commands.some(cmd => cmd.usage === v.help)) { commands.push({ usage: v.help, use: v.use ? Func.texted('bold', v.use) : '' }) - } + } } }) print += commands.sort((a, b) => a.usage.localeCompare(b.usage)).map((v, i) => { if (i == 0) { - return `β”Œ β—¦ ${_p + v.usage} ${v.use}`; + return `β”Œ β—¦ ${_p + v.usage} ${v.use}` } else if (i == commands.length - 1) { - return `β”” β—¦ ${_p + v.usage} ${v.use}`; + return `β”” β—¦ ${_p + v.usage} ${v.use}` } else { - return `β”‚ β—¦ ${_p + v.usage} ${v.use}`; + return `β”‚ β—¦ ${_p + v.usage} ${v.use}` } }).join('\n') } - conn.sendMessageModify(m.chat, Func.Styles(print) + '\n\n' + global.footer, m, { ads: false, largeThumb: true, @@ -382,23 +411,29 @@ module.exports = { }) } else if (style === 7) { if (text) { - let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !setting.hidden.includes(v.tags[0])) + let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !v.disabled && !setting.hidden.includes(v.tags[0])) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) return let commands = [] cmd.forEach(([_, v]) => { switch (v.help.constructor.name) { case 'Array': - v.help.forEach(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } + }) break case 'String': - commands.push({ - usage: v.help, - use: v.use ? Func.texted('bold', v.use) : '' - }) + if (!commands.some(cmd => cmd.usage === v.help)) { + commands.push({ + usage: v.help, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } } }) let print = commands.sort((a, b) => a.usage.localeCompare(b.usage)).map((v, i) => { @@ -422,9 +457,12 @@ module.exports = { if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { - category[obj.tags[0]] = [obj] + category[obj.tags[0]] = [] + category[obj.tags[0]].push(obj) } } const keys = Object.keys(category).sort() @@ -446,23 +484,29 @@ module.exports = { } } else if (style === 8) { if (text) { - let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !setting.hidden.includes(v.tags[0])) + let cmd = Object.entries(plugins).filter(([_, v]) => v.help && v.tags && v.tags.includes(text.trim().toLowerCase()) && !v.disabled && !setting.hidden.includes(v.tags[0])) let usage = Object.keys(Object.fromEntries(cmd)) if (usage.length == 0) return let commands = [] cmd.forEach(([_, v]) => { switch (v.help.constructor.name) { case 'Array': - v.help.forEach(x => commands.push({ - usage: x, - use: v.use ? Func.texted('bold', v.use) : '' - })) + v.help.forEach(x => { + if (!commands.some(cmd => cmd.usage === x)) { + commands.push({ + usage: x, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } + }) break case 'String': - commands.push({ - usage: v.help, - use: v.use ? Func.texted('bold', v.use) : '' - }) + if (!commands.some(cmd => cmd.usage === v.help)) { + commands.push({ + usage: v.help, + use: v.use ? Func.texted('bold', v.use) : '' + }) + } } }) let print = commands.sort((a, b) => a.usage.localeCompare(b.usage)).map((v, i) => { @@ -476,7 +520,7 @@ module.exports = { }).join('\n') m.reply(Func.Styles(print)) } else { - let print = message; + let print = message let filter = Object.entries(plugins).filter(([_, obj]) => obj.help) let cmd = Object.fromEntries(filter) let category = {} @@ -485,9 +529,12 @@ module.exports = { if (!obj) continue if (!obj.tags || setting.hidden.includes(obj.tags[0])) continue if (Object.keys(category).includes(obj.tags[0])) { - category[obj.tags[0]].push(obj) + if (!category[obj.tags[0]].some(item => item.help.join(',') === obj.help.join(','))) { + category[obj.tags[0]].push(obj) + } } else { - category[obj.tags[0]] = [obj] + category[obj.tags[0]] = [] + category[obj.tags[0]].push(obj) } } const keys = Object.keys(category).sort() diff --git a/plugins/miscs/checkapi.js b/plugins/miscs/checkapi.js index 1cc5158..81d53c6 100644 --- a/plugins/miscs/checkapi.js +++ b/plugins/miscs/checkapi.js @@ -1,14 +1,21 @@ module.exports = { help: ['checkapi'], tags: ['miscs'], - command: /^(checkapi|checkkey)$/i, + command: /^(checkapi|checkkey|apikey)$/i, run: async (m, { conn, Func }) => { try { let json = await Api.get('/v1/check-key', {}) - conn.reply(m.chat, Func.jsonFormat(json), m) + if (!json.status) return m.reply(Func.jsonFormat(json)) + let caption = 'δΉ‚ *A P I K E Y*\n\n' + caption += ` β—¦ *Limit* : (${json.data.limit} / ${json.data.total})\n` + caption += ` β—¦ *Premium* : ${json.data.premium ? '√' : 'Γ—'}\n` + caption += ` β—¦ *Expired* : ${json.data.expired_at}\n` + caption += ` β—¦ *Joinded* : ${json.data.joined_at}\n\n` + caption += global.footer + conn.reply(m.chat, caption, m) } catch (e) { console.log(e) return conn.reply(m.chat, Func.jsonFormat(e), m) diff --git a/plugins/miscs/feature.js b/plugins/miscs/feature.js index fd02535..792930b 100644 --- a/plugins/miscs/feature.js +++ b/plugins/miscs/feature.js @@ -7,6 +7,7 @@ module.exports = { plugins, Func }) => { - conn.reply(m.chat, Func.texted('bold', 'Total features available : ' + Object.values(plugins).filter((v) => v.help && v.tags).length), m) + const totalHelpItems = Object.values(plugins).filter((v) => v.help).reduce((sum, v) => sum + (Array.isArray(v.help) ? v.help.length : 0), 0) + conn.reply(m.chat, Func.texted('bold', 'Total features available : [ ' + totalHelpItems + ' ]'), m) } } \ No newline at end of file diff --git a/plugins/miscs/hitstat.js b/plugins/miscs/hitstat.js index 3654a89..a6a8496 100644 --- a/plugins/miscs/hitstat.js +++ b/plugins/miscs/hitstat.js @@ -1,25 +1,38 @@ const moment = require('moment-timezone') module.exports = { - command: ['help'], + help: ['hitstat', 'hitdaily'], tags: ['miscs'], - command: /^(hitstat)$/i, + command: /^(hitstat|hitdaily)$/i, run: async (m, { conn, - plugins, - Func + usedPrefix, + plugins }) => { + const today = moment().format('YYYY-MM-DD') let stats = Object.entries(global.db.data.stats).map(([key, val]) => { let name = Array.isArray(plugins[key]?.help) ? plugins[key]?.help?.join(' & ') : plugins[key]?.help || key if (/exec/.test(name)) return + if (name.includes('-') && name.endsWith('.js')) { + name = name.split('-')[1].replace('.js', '') + } + if (!val.total) val.total = 0 + if (!val.hitdaily) val.hitdaily = {} + val.total += val.hitstat || 0 + if (!val.hitdaily[today]) val.hitdaily[today] = 0 + val.hitdaily[today] += val.hitstat || 0 return { name, ...val } }) - stats = stats.sort((a, b) => b.total - a.total) - let txt = stats.slice(0, 10).map(({ name, total, last }, idx) => { - if (name.includes('-') && name.endsWith('.js')) name = name.split('-')[1].replace('.js', '') - return `${idx + 1}. *Command* : ${name}\n *Hit* : ${total}x\n *Last Hit* : ${moment(last).format('DD/MM/YY HH:mm:ss')}` - }).join`\n` - conn.sendMessageModify(m.chat, 'δΉ‚ *H I T S T A T*\n\n' + txt + '\n\n' + global.footer, m, { - largeThumb: true - }) + if (/hitstat/i.test(m.text)) { + let suki = stats.slice(0, 10).map(({ name, total, last }, idx) => { + return ` β”Œ ${idx + 1}. *Command* : ${usedPrefix + name}\n β”‚ *Hit Total* : ${total}x\n β”” *Last Hit* : ${moment(last).format('DD/MM/YY HH:mm:ss')}` + }).join('\n\n') + conn.reply(m.chat, 'δΉ‚ *H I T S T A T*\n\n' + suki + '\n\n' + global.footer, m) + } else if (/hitdaily/i.test(m.text)) { + let txt = stats.slice(0, 10).map(({ name, hitdaily, last }, idx) => { + let dailyHits = hitdaily[today] || 0 + return ` β”Œ ${idx + 1}. *Command* : ${usedPrefix + name}\n β”‚ *Today* : ${dailyHits}x\n β”” *Last Hit* : ${moment(last).format('DD/MM/YY HH:mm:ss')}` + }).join('\n\n') + conn.reply(m.chat, 'δΉ‚ *H I T D A I L Y*\n\n' + txt + '\n\n' + global.footer, m) + } } } \ No newline at end of file diff --git a/plugins/miscs/sc.js b/plugins/miscs/sc.js index baa896c..bfc63c6 100644 --- a/plugins/miscs/sc.js +++ b/plugins/miscs/sc.js @@ -10,18 +10,16 @@ module.exports = { }) => { try { let json = await Func.fetchJson('https://api.github.com/repos/rifnd/moon-bot') - let capt = `– *S C R I P T*\n\n` - capt += ` ∘ *Name* : ${json.name}\n` - capt += ` ∘ *Size* : ${(json.size / 1024).toFixed(2)} MB\n` - capt += ` ∘ *Updated* : ${moment(json.updated_at).format('DD/MM/YY - HH:mm:ss')}\n` - capt += ` ∘ *Url* : ${json.html_url}\n` - capt += ` ∘ *Forks* : ${json.forks_count}\n` - capt += ` ∘ *Stars* : ${json.stargazers_count}\n` - capt += ` ∘ *Issues* : ${json.open_issues_count}\n\n` + let capt = `δΉ‚ *S C R I P T*\n\n` + capt += ` ∘ *Name* : ${json.name}\n` + capt += ` ∘ *Size* : ${(json.size / 1024).toFixed(2)} MB\n` + capt += ` ∘ *Updated* : ${moment(json.updated_at).format('DD/MM/YY - HH:mm:ss')}\n` + capt += ` ∘ *Url* : ${json.html_url}\n` + capt += ` ∘ *Forks* : ${json.forks_count}\n` + capt += ` ∘ *Stars* : ${json.stargazers_count}\n` + capt += ` ∘ *Issues* : ${json.open_issues_count}\n\n` capt += global.footer conn.sendMessageModify(m.chat, capt, m, { - title: 'Moon - Bot', - body: 'hi everybody', largeThumb: true, url: 'https://github.com/rifnd/moon-bot' }) diff --git a/plugins/owner/command.js b/plugins/owner/command.js new file mode 100644 index 0000000..1834793 --- /dev/null +++ b/plugins/owner/command.js @@ -0,0 +1,31 @@ +module.exports = { + help: ['+command', '-command'], + use: 'command', + tags: ['owner'], + command: /^(\+command|\-command)$/i, + run: async (m, { + conn, + usedPrefix, + command, + args, + plugins, + Func + }) => { + let cmd = global.db.data.setting + if (!args || !args[0]) return conn.reply(m.chat, Func.example(usedPrefix, command, 'tiktok'), m) + let commands = Func.arrayJoin(Object.values(Object.fromEntries(Object.entries(plugins).filter(([name, prop]) => prop.help))).map(v => v.help)) + if (!commands.includes(args[0])) return conn.reply(m.chat, Func.texted('bold', `🚩 Command ${usedPrefix + args[0]} does not exist.`), m) + if (command == '-command') { + if (cmd.error.includes(args[0])) return conn.reply(m.chat, Func.texted('bold', `🚩 ${usedPrefix + args[0]} command was previously disabled.`), m) + cmd.error.push(args[0]) + conn.reply(m.chat, Func.texted('bold', `🚩 Command ${usedPrefix + args[0]} disabled successfully.`), m) + } else if (command == '+command') { + if (!cmd.error.includes(args[0])) return conn.reply(m.chat, Func.texted('bold', `🚩 Command ${usedPrefix + args[0]} does not exist.`), m) + cmd.error.forEach((data, index) => { + if (data === args[0]) cmd.error.splice(index, 1) + }) + conn.reply(m.chat, Func.texted('bold', `🚩 Command ${usedPrefix + args[0]} successfully activated.`), m) + } + }, + owner: 1 +} \ No newline at end of file diff --git a/plugins/owner/exec.js b/plugins/owner/exec.js index aad8a5d..38571af 100644 --- a/plugins/owner/exec.js +++ b/plugins/owner/exec.js @@ -4,7 +4,7 @@ const exec = promisify(cp.exec).bind(cp) const syntaxerror = require('syntax-error') let handler = m => m handler.before = async function (m, _2) { - let { conn, args, groupMetadata, isOwner, Func, Scraper } = _2 + let { conn, args, groupMetadata, plugins, isOwner, Func, Scraper } = _2 if (!isOwner) return let _return let _syntax = '' @@ -16,12 +16,12 @@ handler.before = async function (m, _2) { let f = { exports: {}, } - let execFunc = new (async () => { }).constructor('print', 'm', 'handler', 'require', 'conn', 'Func', 'Scraper', 'Array', 'process', 'args', 'groupMetadata', 'module', 'exports', 'argument', txt); + let execFunc = new (async () => { }).constructor('print', 'm', 'handler', 'require', 'conn', 'plugins', 'Func', 'Scraper', 'Array', 'process', 'args', 'groupMetadata', 'module', 'exports', 'argument', txt); _return = await execFunc.call(conn, (...args) => { if (--i < 1) return console.log(...args) return conn.reply(m.chat, format(...args), m) - }, m, handler, require, conn, Func, Scraper, CustomArray, process, args, groupMetadata, f, f.exports, [conn, _2]) + }, m, handler, require, conn, plugins, Func, Scraper, CustomArray, process, args, groupMetadata, f, f.exports, [conn, _2]) } catch (e) { let err = await syntaxerror(txt, 'Execution Function', { allowReturnOutsideFunction: true, diff --git a/plugins/owner/plugin.js b/plugins/owner/plugin.js new file mode 100644 index 0000000..1eeb6a7 --- /dev/null +++ b/plugins/owner/plugin.js @@ -0,0 +1,47 @@ +module.exports = { + help: ['plugen', 'plugdis'], + use: 'plugin name', + tags: ['owner'], + command: /^(plugen|plugdis)$/i, + run: async (m, { + conn, + usedPrefix, + command, + args, + plugins: plugs, + setting, + Func + }) => { + if (!args || !args[0]) return conn.reply(m.chat, Func.example(usedPrefix, command, 'tiktok'), m) + const pluginName = args[0].toLowerCase() + const pluginFile = Object.keys(plugs).find((key) => { + const fileName = key.split('/').pop().replace('.js', '').toLowerCase() + return fileName === pluginName + }) + if (!pluginFile) return conn.reply(m.chat, Func.texted('bold', `🚩 Plugin ${pluginName}.js not found.`), m) + const fileName = pluginFile.split('/').pop() + if (setting.pluginDisable.includes(fileName)) { + if (command === 'plugdis') { + return conn.reply(m.chat, Func.texted('bold', `🚩 Plugin ${fileName} is already disabled.`), m) + } + } + if (command === 'plugdis') { + if (!setting.pluginDisable.includes(fileName)) { + setting.pluginDisable.push(fileName) + global.db.data.setting.pluginDisable = setting.pluginDisable + conn.reply(m.chat, Func.texted('bold', `🚩 Plugin ${fileName} successfully disabled.`), m) + } else { + return conn.reply(m.chat, Func.texted('bold', `🚩 Plugin ${fileName} is already disabled.`), m) + } + } else if (command === 'plugen') { + if (setting.pluginDisable.includes(fileName)) { + setting.pluginDisable = setting.pluginDisable.filter(plugin => plugin !== fileName) + global.db.data.setting.pluginDisable = setting.pluginDisable + conn.reply(m.chat, Func.texted('bold', `🚩 Plugin ${fileName} successfully enabled.`), m) + } else { + return conn.reply(m.chat, Func.texted('bold', `🚩 Plugin ${fileName} is not disabled.`), m) + } + } + }, + owner: true +} \ No newline at end of file diff --git a/plugins/users/me.js b/plugins/users/me.js index 705b37b..21eecfa 100644 --- a/plugins/users/me.js +++ b/plugins/users/me.js @@ -20,19 +20,19 @@ module.exports = { let lastseen = (user.lastseen == 0) ? 'Never' : Func.toDate(now - user.lastseen) let usebot = (user.usebot == 0) ? 'Never' : Func.toDate(now - user.usebot) let caption = `δΉ‚ *U S E R - P R O F I L E*\n\n` - caption += ` β—¦ *Name* : ${m.name}\n` - caption += ` β—¦ *Exp* : ${Func.formatNumber(user.exp)}\n` - caption += ` β—¦ *Money* : ${Func.formatNumber(user.money)}\n` - caption += ` β—¦ *Limit* : ${Func.formatNumber(user.limit)}\n` - caption += ` β—¦ *Hitstat* : ${Func.formatNumber(user.hit)}\n` - caption += ` β—¦ *Warning* : ${((m.isGroup) ? (typeof global.db.data.groups[m.chat].member[m.sender] != 'undefined' ? global.db.data.groups[m.chat].member[m.sender].warning : 0) + ' / 5' : user.warning + ' / 5')}\n\n` + caption += ` β—¦ *Name* : ${m.name}\n` + caption += ` β—¦ *Exp* : ${Func.formatNumber(user.exp)}\n` + caption += ` β—¦ *Money* : ${Func.formatNumber(user.money)}\n` + caption += ` β—¦ *Limit* : ${Func.formatNumber(user.limit)}\n` + caption += ` β—¦ *Hitstat* : ${Func.formatNumber(user.hit)}\n` + caption += ` β—¦ *Warning* : ${((m.isGroup) ? (typeof global.db.data.groups[m.chat].member[m.sender] != 'undefined' ? global.db.data.groups[m.chat].member[m.sender].warning : 0) + ' / 5' : user.warning + ' / 5')}\n\n` caption += `δΉ‚ *U S E R - S T A T U S*\n\n` - caption += ` β—¦ *Blocked* : ${(blocked ? '√' : 'Γ—')}\n` - caption += ` β—¦ *Banned* : ${(new Date - user.ban_temporary < env.timer) ? Func.toTime(new Date(user.ban_temporary + env.timeout) - new Date()) + ' (' + ((env.timeout / 1000) / 60) + ' min)' : user.banned ? '√' : 'Γ—'}\n` - caption += ` β—¦ *Use In Private* : ${(Object.keys(global.db.data.chats).includes(m.sender) ? '√' : 'Γ—')}\n` - caption += ` β—¦ *Premium* : ${(user.premium ? '√' : 'Γ—')}\n` - caption += ` β—¦ *Expired* : ${user.expired == 0 ? '-' : Func.timeReverse(user.expired - new Date() * 1)}\n` - caption += ` β—¦ *Verified* : ${(user.registered ? '√' : 'Γ—')}\n\n` + caption += ` β—¦ *Blocked* : ${(blocked ? '√' : 'Γ—')}\n` + caption += ` β—¦ *Banned* : ${(new Date - user.ban_temporary < env.timer) ? Func.toTime(new Date(user.ban_temporary + env.timeout) - new Date()) + ' (' + ((env.timeout / 1000) / 60) + ' min)' : user.banned ? '√' : 'Γ—'}\n` + caption += ` β—¦ *Use In Private* : ${(Object.keys(global.db.data.chats).includes(m.sender) ? '√' : 'Γ—')}\n` + caption += ` β—¦ *Premium* : ${(user.premium ? '√' : 'Γ—')}\n` + caption += ` β—¦ *Expired* : ${user.expired == 0 ? '-' : Func.timeReverse(user.expired - new Date() * 1)}\n` + caption += ` β—¦ *Verified* : ${(user.registered ? '√' : 'Γ—')}\n\n` caption += global.footer conn.sendMessageModify(m.chat, caption, m, { largeThumb: true, diff --git a/plugins/users/profile.js b/plugins/users/profile.js index fd06158..26eb4bb 100644 --- a/plugins/users/profile.js +++ b/plugins/users/profile.js @@ -34,19 +34,19 @@ module.exports = { let lastseen = (target.lastseen == 0) ? 'Never' : Func.toDate(now - target.lastseen) let usebot = (target.usebot == 0) ? 'Never' : Func.toDate(now - target.usebot) let caption = `δΉ‚ *U S E R - P R O F I L E*\n\n` - caption += ` β—¦ *Name* : ${target.name}\n` - caption += ` β—¦ *Exp* : ${Func.formatNumber(target.exp)}\n` - caption += ` β—¦ *Money* : ${Func.formatNumber(target.money)}\n` - caption += ` β—¦ *Limit* : ${Func.formatNumber(target.limit)}\n` - caption += ` β—¦ *Hitstat* : ${Func.formatNumber(target.hit)}\n` - caption += ` β—¦ *Warning* : ${((m.isGroup) ? (typeof global.db.data.groups[m.chat].member[user] != 'undefined' ? global.db.data.groups[m.chat].member[user].warning : 0) + ' / 5' : target.warning + ' / 5')}\n\n` + caption += ` β—¦ *Name* : ${target.name}\n` + caption += ` β—¦ *Exp* : ${Func.formatNumber(target.exp)}\n` + caption += ` β—¦ *Money* : ${Func.formatNumber(target.money)}\n` + caption += ` β—¦ *Limit* : ${Func.formatNumber(target.limit)}\n` + caption += ` β—¦ *Hitstat* : ${Func.formatNumber(target.hit)}\n` + caption += ` β—¦ *Warning* : ${((m.isGroup) ? (typeof global.db.data.groups[m.chat].member[user] != 'undefined' ? global.db.data.groups[m.chat].member[user].warning : 0) + ' / 5' : target.warning + ' / 5')}\n\n` caption += `δΉ‚ *U S E R - S T A T U S*\n\n` - caption += ` β—¦ *Blocked* : ${(blocked ? '√' : 'Γ—')}\n` - caption += ` β—¦ *Banned* : ${(new Date - target.ban_temporary < env.timer) ? Func.toTime(new Date(target.ban_temporary + env.timeout) - new Date()) + ' (' + ((env.timeout / 1000) / 60) + ' min)' : target.banned ? '√' : 'Γ—'}\n` - caption += ` β—¦ *Use In Private* : ${(Object.keys(global.db.data.chats).includes(user) ? '√' : 'Γ—')}\n` - caption += ` β—¦ *Premium* : ${(target.premium ? '√' : 'Γ—')}\n` - caption += ` β—¦ *Expired* : ${target.expired == 0 ? '-' : Func.timeReverse(target.expired - new Date() * 1)}\n` - caption += ` β—¦ *Verified* : ${(target.registered ? '√' : 'Γ—')}\n\n` + caption += ` β—¦ *Blocked* : ${(blocked ? '√' : 'Γ—')}\n` + caption += ` β—¦ *Banned* : ${(new Date - target.ban_temporary < env.timer) ? Func.toTime(new Date(target.ban_temporary + env.timeout) - new Date()) + ' (' + ((env.timeout / 1000) / 60) + ' min)' : target.banned ? '√' : 'Γ—'}\n` + caption += ` β—¦ *Use In Private* : ${(Object.keys(global.db.data.chats).includes(user) ? '√' : 'Γ—')}\n` + caption += ` β—¦ *Premium* : ${(target.premium ? '√' : 'Γ—')}\n` + caption += ` β—¦ *Expired* : ${target.expired == 0 ? '-' : Func.timeReverse(target.expired - new Date() * 1)}\n` + caption += ` β—¦ *Verified* : ${(target.registered ? '√' : 'Γ—')}\n\n` caption += global.footer conn.sendMessageModify(m.chat, caption, m, { largeThumb: true,