Encrypto27
commited on
Commit
·
7fe02dc
1
Parent(s):
8f7a07e
v3.5 major update
Browse files- plugins/main-alive.js +88 -201
plugins/main-alive.js
CHANGED
|
@@ -1,201 +1,88 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
function _0x1f12(_0x1c34b2,_0x5c8676){const _0x70ba8d=_0x70ba();return _0x1f12=function(_0x1f127c,_0x2a36dd){_0x1f127c=_0x1f127c-0x1bc;let _0x36860b=_0x70ba8d[_0x1f127c];return _0x36860b;},_0x1f12(_0x1c34b2,_0x5c8676);}const _0x1dd55c=_0x1f12;(function(_0x515f58,_0x284a7c){const _0x462a45=_0x1f12,_0x2b63f1=_0x515f58();while(!![]){try{const _0x1b4235=-parseInt(_0x462a45(0x1d6))/0x1*(-parseInt(_0x462a45(0x1c0))/0x2)+-parseInt(_0x462a45(0x1c8))/0x3*(parseInt(_0x462a45(0x1cb))/0x4)+-parseInt(_0x462a45(0x1c4))/0x5*(parseInt(_0x462a45(0x1c2))/0x6)+parseInt(_0x462a45(0x1bd))/0x7*(parseInt(_0x462a45(0x1bf))/0x8)+-parseInt(_0x462a45(0x1d4))/0x9*(-parseInt(_0x462a45(0x1d2))/0xa)+parseInt(_0x462a45(0x1d7))/0xb*(-parseInt(_0x462a45(0x1d1))/0xc)+parseInt(_0x462a45(0x1c1))/0xd;if(_0x1b4235===_0x284a7c)break;else _0x2b63f1['push'](_0x2b63f1['shift']());}catch(_0x5f439f){_0x2b63f1['push'](_0x2b63f1['shift']());}}}(_0x70ba,0xd1352));function hi(){const _0x4416a0=_0x1f12;console['log'](_0x4416a0(0x1cf));}hi();const {cmd,commands}=require('../command'),os=require('os'),{runtime}=require(_0x1dd55c(0x1c9));function _0x70ba(){const _0x4fdb1a=['47059662fJGVkt','4111056cftSRc','toFixed','10YSAtHU','heapUsed','error','uptime','66NsbtEL','../lib/functions','120363304325601080@newsletter','192476gAkgIw','https://i.postimg.cc/7hL6R7NH/White-and-Green-Simple-Professional-Business-Project-Presentation-1.jpg','╭━━〔\x20*ENCRYPTO-27-AI\x20MD*\x20〕━━┈⊷\x0a\x0a┃◈╭─────────────·๏\x0a\x0a┃◈┃•\x20*⏳Uptime*:\x20\x20','alive','Hello\x20World!','hostname','20205144KKblOH','3402130dnfSyj','runtime','9ypYGld','main','470521KdLSCi','11fYTtXe','\x0a\x0a┃◈┃•\x20*👨💻\x20Owner*:\x20𝙳𝚄𝙳𝙰𝚂\x0a\x0a┃◈┃•\x20*📂\x20Version*:\x20v3.4\x0a\x0a┃◈└───────────┈⊷\x0a\x0a╰──────────────┈⊷\x0a\x0a>\x20©\x20ᴘᴏᴡᴇʀᴇᴅ\x20ʙʏ\x20𝔼𝕟𝕔𝕣𝕪𝕡𝕥𝕠-𝟚𝟟-𝔸𝕀\','MB\x0a\x0a┃◈┃•\x20*⚙️\x20HostName*:\x20','3318zGxsZv','sendMessage','9096FADekQ','2YlqPgz'];_0x70ba=function(){return _0x4fdb1a;};return _0x70ba();}cmd({'pattern':_0x1dd55c(0x1ce),'alias':['status',_0x1dd55c(0x1d3),_0x1dd55c(0x1c7)],'desc':'Check\x20uptime\x20and\x20system\x20status','category':_0x1dd55c(0x1d5),'react':'📟','filename':__filename},async(_0x41fdca,_0x4452d9,_0x4c213f,{from:_0x24d99b,quoted:_0x33a77a,body:_0x1fd20f,isCmd:_0x5b3437,command:_0x575fa3,args:_0x4b3e13,q:_0x142fce,isGroup:_0x4f0d7b,sender:_0xef73a9,senderNumber:_0x556dcd,botNumber2:_0x122dd9,botNumber:_0x294404,pushname:_0x40f485,isMe:_0x47ba9c,isOwner:_0x20ed13,groupMetadata:_0x36d695,groupName:_0x53c692,participants:_0x38cf4f,groupAdmins:_0x301142,isBotAdmins:_0x4b4e84,isAdmins:_0x111719,reply:_0x2c7dc6})=>{const _0x4af078=_0x1dd55c;try{const _0x54a5ab=_0x4af078(0x1cd)+runtime(process[_0x4af078(0x1c7)]())+'\x20\x0a\x0a┃◈┃•\x20*📟\x20Ram\x20usage*:\x20'+(process['memoryUsage']()[_0x4af078(0x1c5)]/0x400/0x400)['toFixed'](0x2)+'MB\x20/\x20'+(os['totalmem']()/0x400/0x400)[_0x4af078(0x1c3)](0x2)+_0x4af078(0x1bc)+os[_0x4af078(0x1d0)]()+_0x4af078(0x1d8);await _0x41fdca[_0x4af078(0x1be)](_0x24d99b,{'image':{'url':_0x4af078(0x1cc)},'caption':_0x54a5ab,'contextInfo':{'mentionedJid':[_0x4c213f['sender']],'forwardingScore':0x3e7,'isForwarded':!![],'forwardedNewsletterMessageInfo':{'newsletterJid':_0x4af078(0x1ca),'newsletterName':'『\x20☆༺€ռɕɾყρŧσ27༻☆\x20』','serverMessageId':0x8f}}},{'quoted':_0x4452d9});}catch(_0x454bf1){console[_0x4af078(0x1c6)]('Error\x20in\x20alive\x20command:',_0x454bf1),_0x2c7dc6('An\x20error\x20occurred:\x20'+_0x454bf1['message']);}});
|
|
|
|
| 1 |
+
function _0x1f12(_0x1c34b2, _0x5c8676) {
|
| 2 |
+
const _0x70ba8d = _0x70ba();
|
| 3 |
+
return _0x1f12 = function (_0x1f127c, _0x2a36dd) {
|
| 4 |
+
_0x1f127c = _0x1f127c - 0x1bc;
|
| 5 |
+
let _0x36860b = _0x70ba8d[_0x1f127c];
|
| 6 |
+
return _0x36860b;
|
| 7 |
+
}, _0x1f12(_0x1c34b2, _0x5c8676);
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
const _0x1dd55c = _0x1f12;
|
| 11 |
+
|
| 12 |
+
(function (_0x515f58, _0x284a7c) {
|
| 13 |
+
const _0x462a45 = _0x1f12, _0x2b63f1 = _0x515f58();
|
| 14 |
+
while (!![]) {
|
| 15 |
+
try {
|
| 16 |
+
const _0x1b4235 = -parseInt(_0x462a45(0x1d6)) / 0x1 * (-parseInt(_0x462a45(0x1c0)) / 0x2) + -parseInt(_0x462a45(0x1c8)) / 0x3 * (parseInt(_0x462a45(0x1cb)) / 0x4) + -parseInt(_0x462a45(0x1c4)) / 0x5 * (parseInt(_0x462a45(0x1c2)) / 0x6) + parseInt(_0x462a45(0x1bd)) / 0x7 * (parseInt(_0x462a45(0x1bf)) / 0x8) + -parseInt(_0x462a45(0x1d4)) / 0x9 * (-parseInt(_0x462a45(0x1d2)) / 0xa) + parseInt(_0x462a45(0x1d7)) / 0xb * (-parseInt(_0x462a45(0x1d1)) / 0xc) + parseInt(_0x462a45(0x1c1)) / 0xd;
|
| 17 |
+
if (_0x1b4235 === _0x284a7c) break;
|
| 18 |
+
else _0x2b63f1.push(_0x2b63f1.shift());
|
| 19 |
+
} catch (_0x5f439f) {
|
| 20 |
+
_0x2b63f1.push(_0x2b63f1.shift());
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}(_0x70ba, 0xd1352));
|
| 24 |
+
|
| 25 |
+
function hi() {
|
| 26 |
+
const _0x4416a0 = _0x1f12;
|
| 27 |
+
console.log(_0x4416a0(0x1cf));
|
| 28 |
+
}
|
| 29 |
+
hi();
|
| 30 |
+
|
| 31 |
+
const { cmd, commands } = require('../command'),
|
| 32 |
+
os = require('os'),
|
| 33 |
+
{ runtime } = require('../lib/functions');
|
| 34 |
+
|
| 35 |
+
function _0x70ba() {
|
| 36 |
+
const _0x4fdb1a = ['47059662fJGVkt', '4111056cftSRc', 'toFixed', '10YSAtHU', 'heapUsed', 'error', 'uptime', '66NsbtEL', '../lib/functions', '120363304325601080@newsletter', '192476gAkgIw', 'https://i.postimg.cc/7hL6R7NH/White-and-Green-Simple-Professional-Business-Project-Presentation-1.jpg', 'alive', 'Hello World!', 'hostname', 'runtime', 'sendMessage'];
|
| 37 |
+
_0x70ba = function () { return _0x4fdb1a; };
|
| 38 |
+
return _0x70ba();
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
cmd({
|
| 42 |
+
'pattern': _0x1dd55c(0x1ce),
|
| 43 |
+
'alias': ['status', _0x1dd55c(0x1d3), _0x1dd55c(0x1c7)],
|
| 44 |
+
'desc': 'Check uptime and system status',
|
| 45 |
+
'category': _0x1dd55c(0x1d5),
|
| 46 |
+
'react': '📟',
|
| 47 |
+
'filename': __filename
|
| 48 |
+
}, async (_0x41fdca, _0x4452d9, _0x4c213f, {
|
| 49 |
+
from: _0x24d99b,
|
| 50 |
+
quoted: _0x33a77a,
|
| 51 |
+
body: _0x1fd20f,
|
| 52 |
+
isCmd: _0x5b3437,
|
| 53 |
+
command: _0x575fa3,
|
| 54 |
+
args: _0x4b3e13,
|
| 55 |
+
q: _0x142fce,
|
| 56 |
+
isGroup: _0x4f0d7b,
|
| 57 |
+
sender: _0xef73a9,
|
| 58 |
+
senderNumber: _0x556dcd,
|
| 59 |
+
botNumber2: _0x122dd9,
|
| 60 |
+
botNumber: _0x294404,
|
| 61 |
+
pushname: _0x40f485,
|
| 62 |
+
isMe: _0x47ba9c,
|
| 63 |
+
isOwner: _0x20ed13,
|
| 64 |
+
groupMetadata: _0x36d695,
|
| 65 |
+
groupName: _0x53c692,
|
| 66 |
+
participants: _0x38cf4f,
|
| 67 |
+
groupAdmins: _0x301142,
|
| 68 |
+
isBotAdmins: _0x4b4e84,
|
| 69 |
+
isAdmins: _0x111719,
|
| 70 |
+
reply: _0x2c7dc6
|
| 71 |
+
}) => {
|
| 72 |
+
const _0x4af078 = _0x1dd55c;
|
| 73 |
+
try {
|
| 74 |
+
const _0x54a5ab = _0x4af078(0x1cd) + runtime(process[_0x4af078(0x1c7)]()) + ' RAM usage: ' + (process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2) + 'MB / ' + (os.totalmem() / 1024 / 1024).toFixed(2) + 'MB HostName: ' + os.hostname();
|
| 75 |
+
await _0x41fdca.sendMessage(_0x24d99b, {
|
| 76 |
+
image: { url: 'https://i.postimg.cc/7hL6R7NH/White-and-Green-Simple-Professional-Business-Project-Presentation-1.jpg' },
|
| 77 |
+
caption: _0x54a5ab,
|
| 78 |
+
contextInfo: {
|
| 79 |
+
mentionedJid: [_0x4c213f.sender],
|
| 80 |
+
forwardingScore: 999,
|
| 81 |
+
isForwarded: true
|
| 82 |
+
}
|
| 83 |
+
}, { quoted: _0x4452d9 });
|
| 84 |
+
} catch (_0x454bf1) {
|
| 85 |
+
console.error('Error in alive command:', _0x454bf1);
|
| 86 |
+
_0x2c7dc6('An error occurred: ' + _0x454bf1.message);
|
| 87 |
+
}
|
| 88 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|