Spaces:
Paused
Paused
πππππππ πππππππ β‘ commited on
Update x-version.js
Browse files- plugins/x-version.js +3 -3
plugins/x-version.js
CHANGED
|
@@ -50,9 +50,9 @@ cmd({
|
|
| 50 |
|
| 51 |
let message = '';
|
| 52 |
if (currentVersion === latestVersion) {
|
| 53 |
-
message = `Your bot is up-to-date! Current version: ${currentVersion}`;
|
| 54 |
} else {
|
| 55 |
-
message = `Your bot is outdated
|
| 56 |
}
|
| 57 |
|
| 58 |
// await reply(message);
|
|
@@ -64,7 +64,7 @@ cmd({
|
|
| 64 |
//});
|
| 65 |
// Send the status message with an image
|
| 66 |
await conn.sendMessage(from, {
|
| 67 |
-
image: { url: `https://i.
|
| 68 |
caption: message,
|
| 69 |
contextInfo: {
|
| 70 |
mentionedJid: [m.sender],
|
|
|
|
| 50 |
|
| 51 |
let message = '';
|
| 52 |
if (currentVersion === latestVersion) {
|
| 53 |
+
message = `Your Subzero bot is up-to-date! π\n Current version is: ${currentVersion}`;
|
| 54 |
} else {
|
| 55 |
+
message = `Your Subzero bot is outdated π΅!\n\n Current version: ${currentVersion} \n Latest version: ${latestVersion}`;
|
| 56 |
}
|
| 57 |
|
| 58 |
// await reply(message);
|
|
|
|
| 64 |
//});
|
| 65 |
// Send the status message with an image
|
| 66 |
await conn.sendMessage(from, {
|
| 67 |
+
image: { url: `https://i.ibb.co/nzGyYCk/mrfrankofc.jpg` }, // Image URL
|
| 68 |
caption: message,
|
| 69 |
contextInfo: {
|
| 70 |
mentionedJid: [m.sender],
|