Spaces:
Paused
Paused
𝐃𝐀𝐑𝐑𝐄𝐋𝐋 𝐌𝐔𝐂𝐇𝐄𝐑𝐈 ⚡
commited on
Update main-menu.js
Browse files- plugins/main-menu.js +2 -2
plugins/main-menu.js
CHANGED
|
@@ -147,7 +147,7 @@ const axios = require('axios');
|
|
| 147 |
const more = String.fromCharCode(8206)
|
| 148 |
const readMore = more.repeat(4001)
|
| 149 |
const packageName = require('../package.json');
|
| 150 |
-
|
| 151 |
|
| 152 |
const apiUrl = 'https://raw.githubusercontent.com/mrfrank-ofc/SUBZERO-MD/master/package.json';
|
| 153 |
const response = await axios.get(apiUrl);
|
|
@@ -173,7 +173,7 @@ let dec = `
|
|
| 173 |
▧ *ᴍᴏᴅᴇ* : *${config.MODE}*
|
| 174 |
▧ *ᴘʀᴇғɪx* : *${config.PREFIX}*
|
| 175 |
▧ *ʀᴀᴍ* : ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
|
| 176 |
-
▧ *ᴠᴇʀsɪᴏɴ* : *${
|
| 177 |
▧ *ᴜᴘᴛɪᴍᴇ* : ${runtime(process.uptime())}
|
| 178 |
|
| 179 |
⟣──────────────────⟢
|
|
|
|
| 147 |
const more = String.fromCharCode(8206)
|
| 148 |
const readMore = more.repeat(4001)
|
| 149 |
const packageName = require('../package.json');
|
| 150 |
+
const currentVersion = packageName.version;
|
| 151 |
|
| 152 |
const apiUrl = 'https://raw.githubusercontent.com/mrfrank-ofc/SUBZERO-MD/master/package.json';
|
| 153 |
const response = await axios.get(apiUrl);
|
|
|
|
| 173 |
▧ *ᴍᴏᴅᴇ* : *${config.MODE}*
|
| 174 |
▧ *ᴘʀᴇғɪx* : *${config.PREFIX}*
|
| 175 |
▧ *ʀᴀᴍ* : ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
|
| 176 |
+
▧ *ᴠᴇʀsɪᴏɴ* : *${latestVersion}* ⚡
|
| 177 |
▧ *ᴜᴘᴛɪᴍᴇ* : ${runtime(process.uptime())}
|
| 178 |
|
| 179 |
⟣──────────────────⟢
|