Skip to content

Commit

Permalink
© Powered By Sunlight Team ⚡︎
Browse files Browse the repository at this point in the history
  • Loading branch information
patito-ofc authored Aug 28, 2024
1 parent ea774dd commit b14bf9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/_welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ export async function before(m, {conn, participants, groupMetadata}) {

if (chat.welcome && m.messageStubType == 27) {
let welcome = `┌─★ 𝚈𝚊𝚎𝚖𝚘𝚛𝚒𝙱𝚘𝚝-𝙼𝙳 🌱 \n│「 𝗕𝗶𝗲𝗻𝘃𝗲𝗻𝗶𝗱𝗼 ☁ 」\n└┬★ 「 @${m.messageStubParameters[0].split`@`[0]} 」\n │🌺 𝗕𝗶𝗲𝗻𝘃𝗲𝗻𝗶𝗱𝗼/𝗮\n │🌺 ${groupMetadata.subject}\n └───────────────┈ ⳹`
await conn.sendIan(m.chat, packname, dev, welcome, img, img, channel, fkontak)
await conn.sendMini(m.chat, packname, dev, welcome, img, img, channel, fkontak)
}

if (chat.welcome && m.messageStubType == 28)= `┌─★ 𝚈𝚊𝚎𝚖𝚘𝚛𝚒𝙱𝚘𝚝-𝙼𝙳 🌱 \n│「 𝗔𝗗𝗜𝗢𝗦 🌸 」\n└┬★ 「 @${m.messageStubParameters[0].split`@`[0]} 」\n │🌺 𝗦𝗲 𝗳𝘂𝗲\n │🌺 𝗡𝘂𝗻𝗰𝗮 𝘁𝗲 𝗾𝘂𝗶𝘀𝗶𝗺𝗼𝘀 𝗮𝗾𝘂𝗶\n └───────────────┈ ⳹`
await conn.sendIan(m.chat, packname, dev, bye, img2, img2, channel, fkontak)
await conn.sendMini(m.chat, packname, dev, bye, img2, img2, channel, fkontak)
}

if (chat.welcome && m.messageStubType == 32) {
let kick = `┌─★ 𝚈𝚊𝚎𝚖𝚘𝚛𝚒𝙱𝚘𝚝-𝙼𝙳 🌱 \n│「 𝗔𝗗𝗜𝗢𝗦 🌸 」\n└┬★ 「 @${m.messageStubParameters[0].split`@`[0]} 」\n │🌺 𝗦𝗲 𝗳𝘂𝗲\n │🌺 𝗡𝘂𝗻𝗰𝗮 𝘁𝗲 𝗾𝘂𝗶𝘀𝗶𝗺𝗼𝘀 𝗮𝗾𝘂𝗶\n └───────────────┈ ⳹`
await conn.sendIan(m.chat, packname, dev, kick, img2, img2, channel, fkontak)
await conn.sendMini(m.chat, packname, dev, kick, img2, img2, channel, fkontak)
}}

/*import { WAMessageStubType } from '@whiskeysockets/baileys';
Expand Down

0 comments on commit b14bf9e

Please sign in to comment.