SUBZERO-MD / plugins /main-repo.js
mrfrank-ofc's picture
Upload 63 files
8d8b0ad verified
raw
history blame
1.55 kB
const { cmd, commands } = require('../command');
const config = require('../config');
// repo info
cmd({
pattern: "repo",
alias: ["sc", "script", "info"],
desc: "Info about the bot repository",
category: "main",
react: "πŸ—‚οΈ",
filename: __filename
},
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 }) => {
try {
let dec = `*Hello There SUBZERO W.A BOT User! πŸ˜„πŸ‘‹*
> Simple, Icy, Cold & Rich Loaded Bot With Amazing Features, SubZero WhatsApp Bot. ❄️
*Thanks for using SubZero MD🌹🫢*
> Don't forget to star & fork the repo🌟🍴
https://github.com/mrfrank-ofc/SUBZERO-MD`;
await conn.sendMessage(from, { image: { url: `https://i.postimg.cc/yNf7rQFw/prn.jpg` }, caption: dec, contextInfo: { mentionedJid: [m.sender], forwardingScore: 999, isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363304325601080@newsletter', newsletterName: 'γ€Ž sα΄œΚ™α΄’α΄‡Κ€α΄ ᴍᴅ 』', serverMessageId: 143 } } }, { quoted: mek });
// Send audio
await conn.sendMessage(from, {
audio: { url: 'https://github.com/mrfrank-ofc/SUBZERO-MD-DATABASE/raw/refs/heads/main/audios/subzero-menu.mp3' },
mimetype: 'audio/mp4',
ptt: true
}, { quoted: mek });
} catch (e) {
console.log(e);
reply(`${e}`);
}
});