Spaces:
Runtime error
Runtime error
File size: 1,548 Bytes
8d8b0ad |
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 |
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}`);
}
});
|