Skip to content

Commit 7e12331

Browse files
authored
💖SILVA MD BOT💖
1 parent ccb4388 commit 7e12331

File tree

1 file changed

+11
-29
lines changed

1 file changed

+11
-29
lines changed

sylivanus.js

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ import path, { join } from 'path'
88
import { platform } from 'process'
99
import { fileURLToPath, pathToFileURL } from 'url'
1010
import * as ws from 'ws'
11-
import { readdirSync } from 'fs'
12-
import chalk from 'chalk'
1311
import processTxtAndSaveCredentials from './lib/makesession.js'
1412
import clearTmp from './lib/tempclear.js'
1513
global.__filename = function filename(pathURL = import.meta.url, rmPrefix = platform !== 'win32') {
@@ -385,33 +383,13 @@ async function connectionUpdate(update) {
385383
}
386384

387385
if (connection === 'open') {
388-
const { jid, name } = conn.user
389-
const pluginCount = readdirSync('./SilvaXlab').filter(file => file.endsWith('.js')).length
390-
const prefix = global.prefix || global.opts?.prefix || '.' // fallback to '.'
391-
392-
const msg = `╭━━ 💖 *Silva MD Bot Activated* 💖 ━━╮
393-
┃ 👋 Hello ${name}, your bot is now *Live*!
394-
395-
┃ ✅ Status: *Connected & Running*
396-
┃ 🧩 Plugins Installed: *${pluginCount}*
397-
┃ ⚙️ Prefix: *${prefix}*
398-
┃ 🏢 Organization: *Silva Tech Inc.*
399-
┃ 🗓️ Created: *September 2024*
400-
401-
┃ 📩 Test message auto-sent to *254743706010*
402-
┃ 🔁 Not received? Use *Silva Tech Session Gen* to relink.
403-
404-
┃ 📣 Stay Updated:
405-
┃ https://whatsapp.com/channel/0029VaAkETLLY6d8qhLmZt2v
406-
407-
┃ 👨‍💻 Developer: Sylivanus Momanyi
408-
┃ 💼 Founder: *Silva Tech Inc.*
409-
╰━━━━━━━━━━━━━━━━━━━━━━━━━━━━╯`
410-
411-
await conn.sendMessage(jid, { text: msg, mentions: [jid] }, { quoted: null })
412-
413-
conn.logger.info(chalk.green('\n✅ Silva MD Bot is fully connected and working!'))
414-
}
386+
const { jid, name } = conn.user
387+
const msg = `💖𝑺𝑰𝑳𝑽𝑨 𝑴𝑫 𝑩𝑶𝑻💖 \n\nGreetings ${name}, ✅ Congrats you have successfully deployed *Silva MD Bot* \n\n if your bot sent a message to 254743706010 it is running perfect\n if not relink using silva tech session gen\n ⚙️ *Prefix:*\n 🏢 *Organization:* *Silva Tech Inc.* \n 🗓️ *CREATED:* *Sep 2024* \n\n 🌟 *Follow our WhatsApp Channel for updates:* \n https://whatsapp.com/channel/0029VaAkETLLY6d8qhLmZt2v \n\n 🔄 *New features coming soon. Stay tuned!* \n\n Developer Sylivanus Momanyi\nfounder of Silva Tech Inc`
388+
389+
await conn.sendMessage(jid, { text: msg, mentions: [jid] }, { quoted: null })
390+
391+
conn.logger.info(chalk.yellow('\nSilva is on 𝖶𝖮𝖱𝖪'))
392+
}
415393

416394
if (connection === 'close') {
417395
conn.logger.error(chalk.yellow(`\nConnection closed... Get a new session`))
@@ -607,3 +585,7 @@ setInterval(saafsafai, 10 * 60 * 1000)
607585
_quickTest().catch(console.error)
608586

609587
//..
588+
//silva tech inc product
589+
590+
591+
// code crafted by silva

0 commit comments

Comments
 (0)