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
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
/*
|
| 3 |
+
|
| 4 |
+
$$$$$$\ $$\
|
| 5 |
+
$$ __$$\ $$ |
|
| 6 |
+
$$ / \__|$$\ $$\ $$$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\
|
| 7 |
+
\$$$$$$\ $$ | $$ |$$ __$$\ \____$$ |$$ __$$\ $$ __$$\ $$ __$$\
|
| 8 |
+
\____$$\ $$ | $$ |$$ | $$ | $$$$ _/ $$$$$$$$ |$$ | \__|$$ / $$ |
|
| 9 |
+
$$\ $$ |$$ | $$ |$$ | $$ | $$ _/ $$ ____|$$ | $$ | $$ |
|
| 10 |
+
\$$$$$$ |\$$$$$$ |$$$$$$$ |$$$$$$$$\ \$$$$$$$\ $$ | \$$$$$$ |
|
| 11 |
+
\______/ \______/ \_______/ \________| \_______|\__| \______/
|
| 12 |
+
|
| 13 |
+
Project Name : SubZero MD
|
| 14 |
+
Creator : Darrell Mucheri ( Mr Frank OFC )
|
| 15 |
+
Repo : https//github.com/mrfrank-ofc/SUBZERO-MD
|
| 16 |
+
Support : wa.me/18062212660
|
| 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 |
+
const config = require('../config');
|
| 73 |
+
const { cmd, commands } = require('../command');
|
| 74 |
+
const os = require("os");
|
| 75 |
+
const { runtime } = require('../lib/functions');
|
| 76 |
+
const axios = require('axios');
|
| 77 |
+
const more = String.fromCharCode(8206)
|
| 78 |
+
const readMore = more.repeat(4001)
|
| 79 |
+
|
| 80 |
+
cmd({
|
| 81 |
+
pattern: "support",
|
| 82 |
+
desc: "subzero menu",
|
| 83 |
+
category: "menu",
|
| 84 |
+
react: "๐",
|
| 85 |
+
filename: __filename
|
| 86 |
+
},
|
| 87 |
+
async (conn, mek, m, { from, quoted, body, isCmd, command, args, q, isGroup, sender, senderNumber, botNumber2, botNumber, pushname, isMe, isOwner, groupMetadata, groupName, participants, groupAdmins, isBotAdmins, isAdmins, reply }) => {
|
| 88 |
+
try {
|
| 89 |
+
|
| 90 |
+
let dec = `
|
| 91 |
+
โฃโโโโโโโโโโโโโโโโโโโข
|
| 92 |
+
โง *แดสแดแดแดแดส* : *แดส าสแดษดแด (๐ฟ๐ผ)*
|
| 93 |
+
โง *แดแดแด
แด* : *${config.MODE}*
|
| 94 |
+
โง *แดสแดาษชx* : *${config.PREFIX}*
|
| 95 |
+
โง *สแดแด* : ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB
|
| 96 |
+
โง *แด แดสsษชแดษด* : *1.0.4* โก
|
| 97 |
+
โง *แดแดแดษชแดแด* : ${runtime(process.uptime())}
|
| 98 |
+
|
| 99 |
+
โฃโโโโโโโโโโโโโโโโโโโข
|
| 100 |
+
> ๏ผณ๏ผต๏ผข๏ผบ๏ผฅ๏ผฒ๏ผฏ - ๏ผญ๏ผค- ๏ผข๏ผฏ๏ผด
|
| 101 |
+
|
| 102 |
+
โฃโโโโโโโโโโโโโโโโโโโข
|
| 103 |
+
${readMore}
|
| 104 |
+
*CHANNEL*
|
| 105 |
+
https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D
|
| 106 |
+
${readMore}
|
| 107 |
+
*GROUP*
|
| 108 |
+
https://chat.whatsapp.com/InsR5qk3cBsG2781A6uxcO
|
| 109 |
+
${readMore}
|
| 110 |
+
*Mr Frank OFC*
|
| 111 |
+
wa.me/263719647303?text=Support!
|
| 112 |
+
|
| 113 |
+
โฃโโโโโโโโโโโโโโโโโโโข
|
| 114 |
+
|
| 115 |
+
`;
|
| 116 |
+
|
| 117 |
+
await conn.sendMessage(
|
| 118 |
+
from,
|
| 119 |
+
{
|
| 120 |
+
image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` },
|
| 121 |
+
caption: dec,
|
| 122 |
+
contextInfo: {
|
| 123 |
+
mentionedJid: [m.sender],
|
| 124 |
+
forwardingScore: 999,
|
| 125 |
+
isForwarded: true,
|
| 126 |
+
forwardedNewsletterMessageInfo: {
|
| 127 |
+
newsletterJid: '120363304325601080@newsletter',
|
| 128 |
+
newsletterName: 'โ๏ธใ ๐๐๐๐๐๐๐ ๐๐ ใโ๏ธ ',
|
| 129 |
+
serverMessageId: 143
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{ quoted: mek }
|
| 134 |
+
);
|
| 135 |
+
|
| 136 |
+
// Send audio //https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3
|
| 137 |
+
await conn.sendMessage(from, { //https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/blob/main/audios/subzero-menu.mp3
|
| 138 |
+
audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },
|
| 139 |
+
mimetype: 'audio/mp4',
|
| 140 |
+
ptt: true
|
| 141 |
+
}, { quoted: mek });
|
| 142 |
+
|
| 143 |
+
} catch (e) {
|
| 144 |
+
console.log(e);
|
| 145 |
+
reply(`${e}`);
|
| 146 |
+
}
|
| 147 |
+
});
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
// SUBZERO SC BY MR FRANK
|