|
|
|
|
|
const { cmd } = require('../command'); |
|
let antideleteStatus = {}; |
|
|
|
|
|
cmd({ |
|
pattern: "channel", |
|
desc: "Get the link to the official WhatsApp channel.", |
|
react: "📢", |
|
category: "utility", |
|
use: ".channel", |
|
filename: __filename, |
|
}, async (conn, mek, m, { reply }) => { |
|
try { |
|
|
|
const channelLink = "https://whatsapp.com/channel/0029VaoRxGmJpe8lgCqT1T2h"; |
|
|
|
|
|
reply(`*ʜᴇʀᴇ's ᴛʜᴇ ʟɪɴᴋ ᴛᴏ ᴏᴜʀ ᴏғғɪᴄɪᴀʟ ᴡʜᴀᴛsᴀᴘᴘ ᴀʟɪ ᴄʜᴀɴɴᴇʟ*:\n\n${channelLink}\n\n> *ᴊᴏɪɴ ᴜs ᴛᴏ sᴛᴀʏ ᴜᴘᴅᴀᴛᴇᴅ ᴡɪᴛʜ ᴛʜᴇ ʟᴀᴛᴇsᴛ ɴᴇᴡs ᴀɴᴅ ᴀɴɴᴏᴜɴᴄᴇᴍᴇɴᴛs🧞♂️.*`); |
|
} catch (error) { |
|
|
|
console.error("Error sending channel link:", error.message); |
|
reply("❌ Sorry, an error occurred while trying to send the channel link."); |
|
} |
|
}); |
|
|
|
cmd({ |
|
pattern: "support", |
|
desc: "Get the link to the support group or page.", |
|
react: "🛠️", |
|
category: "utility", |
|
use: ".support", |
|
filename: __filename, |
|
}, async (conn, mek, m, { reply }) => { |
|
try { |
|
|
|
const supportLink = "https://chat.whatsapp.com/Lx7sDv7jSy0CCTm5AliPdq"; |
|
|
|
|
|
reply(`*ɴᴇᴇᴅ ʜᴇʟᴘ ᴏʀ ʜᴀᴠᴇ ǫᴜᴇsᴛɪᴏɴs ? ᴊᴏɪɴ ᴀʟɪ sᴜᴘᴘᴏʀᴛ ɢʀᴏᴜᴘ🪀*\n\n${supportLink}\n\n |
|
> *ғᴇᴇʟ ғʀᴇᴇ ᴛᴏ ᴀsᴋ ʏᴏᴜʀ ǫᴜᴇsᴛɪᴏɴs ᴏʀ ʀᴇᴘᴏʀᴛ ɪssᴜᴇs🙇🏻♂️.*.`); |
|
} catch (error) { |
|
|
|
console.error("Error sending support link:", error.message); |
|
reply("❌ Sorry, an error occurred while trying to send the support link."); |
|
} |
|
}); |
|
|