diff --git a/commands/github.js b/commands/github.js index 770f557b6..6766af3de 100644 --- a/commands/github.js +++ b/commands/github.js @@ -6,11 +6,11 @@ const path = require('path'); async function githubCommand(sock, chatId, message) { try { - const res = await fetch('https://api.github.com/repos/mruniquehacker/Knightbot-md'); + const res = await fetch(''); if (!res.ok) throw new Error('Error fetching repository data'); const json = await res.json(); - let txt = `*乂 Knight Bot MD 乂*\n\n`; + let txt = `*乂 KELIN 乂*\n\n`; txt += `✩ *Name* : ${json.name}\n`; txt += `✩ *Watchers* : ${json.watchers_count}\n`; txt += `✩ *Size* : ${(json.size / 1024).toFixed(2)} MB\n`; @@ -18,7 +18,7 @@ async function githubCommand(sock, chatId, message) { txt += `✩ *URL* : ${json.html_url}\n`; txt += `✩ *Forks* : ${json.forks_count}\n`; txt += `✩ *Stars* : ${json.stargazers_count}\n\n`; - txt += `💥 *KnightBot MD*`; + txt += `💥 *KELIN MD*`; // Use the local asset image const imgPath = path.join(__dirname, '../assets/bot_image.jpg'); diff --git a/commands/help.js b/commands/help.js index b25e0139a..5397ea90e 100644 --- a/commands/help.js +++ b/commands/help.js @@ -5,156 +5,156 @@ const path = require('path'); async function helpCommand(sock, chatId, message) { const helpMessage = ` ╔═══════════════════╗ - *🤖 ${settings.botName || 'KnightBot-MD'}* - Version: *${settings.version || '2.0.5'}* - by ${settings.botOwner || 'Mr Unique Hacker'} - YT : ${global.ytch} + * ${settings.botName || 'KELIN'}* + The Crib Bot + by ${settings.botOwner || 'KELIN'} + ╚═══════════════════╝ -*Available Commands:* +*COMMANDS* ╔═══════════════════╗ -🌐 *General Commands*: -║ ➤ .help or .menu + *Utility*: +║ ➤ .help ║ ➤ .ping ║ ➤ .alive -║ ➤ .tts +║ ➤ .tts ║ ➤ .owner ║ ➤ .joke ║ ➤ .quote ║ ➤ .fact -║ ➤ .weather +║ ➤ .weather ║ ➤ .news -║ ➤ .attp -║ ➤ .lyrics -║ ➤ .8ball +║ ➤ .attp +║ ➤ .lyrics +║ ➤ .8ball ║ ➤ .groupinfo -║ ➤ .staff or .admins +║ ➤ .admins ║ ➤ .vv -║ ➤ .trt -║ ➤ .ss +║ ➤ .trt +║ ➤ .ss ║ ➤ .jid ╚═══════════════════╝ ╔═══════════════════╗ -👮‍♂️ *Admin Commands*: -║ ➤ .ban @user -║ ➤ .promote @user -║ ➤ .demote @user -║ ➤ .mute + *Group*: +║ ➤ .ban +║ ➤ .promote +║ ➤ .demote +║ ➤ .mute ║ ➤ .unmute -║ ➤ .delete or .del -║ ➤ .kick @user -║ ➤ .warnings @user -║ ➤ .warn @user +║ ➤ .delete +║ ➤ .kick +║ ➤ .warnings +║ ➤ .warn ║ ➤ .antilink ║ ➤ .antibadword ║ ➤ .clear -║ ➤ .tag +║ ➤ .tag ║ ➤ .tagall ║ ➤ .chatbot ║ ➤ .resetlink -║ ➤ .welcome -║ ➤ .goodbye -╚═══════════════════╝ +║ ➤ .welcome +║ ➤ .goodbye +╚═══════════════════ -╔═══════════════════╗ -🔒 *Owner Commands*: +╔═══════════════════ + *Owner*: ║ ➤ .mode ║ ➤ .autostatus ║ ➤ .clearsession ║ ➤ .antidelete ║ ➤ .cleartmp -║ ➤ .setpp +║ ➤ .setpp ║ ➤ .autoreact ╚═══════════════════╝ ╔═══════════════════╗ -🎨 *Image/Sticker Commands*: -║ ➤ .blur -║ ➤ .simage -║ ➤ .sticker -║ ➤ .tgsticker + *Sticker*: +║ ➤ .blur +║ ➤ .simage +║ ➤ .sticker +║ ➤ .tgsticker ║ ➤ .meme -║ ➤ .take -║ ➤ .emojimix + +║ ➤ .take +║ ➤ .emojimix ╚═══════════════════╝ ╔═══════════════════╗ -🎮 *Game Commands*: -║ ➤ .tictactoe @user + *Games*: +║ ➤ .tictactoe ║ ➤ .hangman -║ ➤ .guess +║ ➤ .guess ║ ➤ .trivia -║ ➤ .answer +║ ➤ .answer ║ ➤ .truth ║ ➤ .dare -╚═══════════════════╝ +╚═══════════════════ -╔═══════════════════╗ -🤖 *AI Commands*: -║ ➤ .gpt -║ ➤ .gemini -║ ➤ .imagine -║ ➤ .flux -╚═══════════════════╝ +╔═══════════════════ + *AI Commands*: +║ ➤ .gpt +║ ➤ .gemini +║ ➤ .imagine +║ ➤ .flux +╚═══════════════════ -╔═══════════════════╗ -🎯 *Fun Commands*: -║ ➤ .compliment @user -║ ➤ .insult @user +╔═══════════════════ + *Fun* +║ ➤ .compliment +║ ➤ .insult ║ ➤ .flirt ║ ➤ .shayari ║ ➤ .goodnight ║ ➤ .roseday -║ ➤ .character @user -║ ➤ .wasted @user -║ ➤ .ship @user -║ ➤ .simp @user -║ ➤ .stupid @user [text] -╚═══════════════════╝ +║ ➤ .character +║ ➤ .wasted +║ ➤ .ship +║ ➤ .simp +║ ➤ .stupid +╚═══════════════════ -╔═══════════════════╗ -🔤 *Textmaker*: -║ ➤ .metallic -║ ➤ .ice -║ ➤ .snow -║ ➤ .impressive -║ ➤ .matrix -║ ➤ .light -║ ➤ .neon -║ ➤ .devil -║ ➤ .purple -║ ➤ .thunder -║ ➤ .leaves -║ ➤ .1917 -║ ➤ .arena -║ ➤ .hacker -║ ➤ .sand -║ ➤ .blackpink -║ ➤ .glitch -║ ➤ .fire -╚═══════════════════╝ +╔═══════════════════ + *Textmaker*: +║ ➤ .metallic +║ ➤ .ice +║ ➤ .snow +║ ➤ .impressive +║ ➤ .matrix +║ ➤ .light +║ ➤ .neon +║ ➤ .devil +║ ➤ .purple +║ ➤ .thunder +║ ➤ .leaves +║ ➤ .1917 +║ ➤ .arena +║ ➤ .hacker +║ ➤ .sand +║ ➤ .blackpink +║ ➤ .glitch +║ ➤ .fire +╚═══════════════════ -╔═══════════════════╗ -📥 *Downloader*: -║ ➤ .play -║ ➤ .song -║ ➤ .instagram -║ ➤ .facebook -║ ➤ .tiktok -║ ➤ .video -║ ➤ .ytmp4 -╚═══════════════════╝ +╔═══════════════════ + *Dl*: +║ ➤ .play +║ ➤ .song +║ ➤ .instagram +║ ➤ .facebook +║ ➤ .tiktok +║ ➤ .video +║ ➤ .ytmp4 +╚═══════════════════ -╔═══════════════════╗ -💻 *Github Commands:* +╔═══════════════════ +*Github* ║ ➤ .git ║ ➤ .github ║ ➤ .sc ║ ➤ .script ║ ➤ .repo -╚═══════════════════╝ +╚═══════════════════ Join our channel for updates:`; @@ -171,8 +171,8 @@ Join our channel for updates:`; forwardingScore: 1, isForwarded: true, forwardedNewsletterMessageInfo: { - newsletterJid: '120363161513685998@newsletter', - newsletterName: 'KnightBot MD', + newsletterJid: '', + newsletterName: 'KELIN MD', serverMessageId: -1 } } @@ -186,7 +186,7 @@ Join our channel for updates:`; isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363161513685998@newsletter', - newsletterName: 'KnightBot MD by Mr Unique Hacker', + newsletterName: 'KELIN MD', serverMessageId: -1 } } diff --git a/commands/textmaker.js b/commands/textmaker.js index bdd30be10..e369d1787 100644 --- a/commands/textmaker.js +++ b/commands/textmaker.js @@ -7,7 +7,7 @@ const channelInfo = { isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363161513685998@newsletter', - newsletterName: 'KnightBot MD', + newsletterName: 'KELIN MD', serverMessageId: -1 } }; @@ -20,7 +20,7 @@ const messageTemplates = { }), success: (text, imageUrl) => ({ image: { url: imageUrl }, - caption: "GENERATED BY KNIGHT-BOT", + caption: "GENERATED BY KELIN BOT", contextInfo: channelInfo }) }; diff --git a/index.js b/index.js index 5f707a6f6..622f58155 100644 --- a/index.js +++ b/index.js @@ -83,8 +83,8 @@ const store = { let phoneNumber = "911234567890" let owner = JSON.parse(fs.readFileSync('./data/owner.json')) -global.botname = "KNIGHT BOT" -global.themeemoji = "•" +global.botname = "KELIN MD" +global.themeemoji = "," const settings = require('./settings') const pairingCode = !!phoneNumber || process.argv.includes("--pairing-code") @@ -248,7 +248,7 @@ async function startXeonBotInc() { const botNumber = XeonBotInc.user.id.split(':')[0] + '@s.whatsapp.net'; await XeonBotInc.sendMessage(botNumber, { - text: `🤖 Bot Connected Successfully!\n\n⏰ Time: ${new Date().toLocaleString()}\n✅ Status: Online and Ready! + text: ` Bot Connected Successfully!\n\n⏰ Time: ${new Date().toLocaleString()}\n✅ Status: Online and Ready! \n✅Make sure to join below channel`, contextInfo: { forwardingScore: 1, diff --git a/lib/index.js b/lib/index.js index 0c1e6f4a1..3e3419799 100644 --- a/lib/index.js +++ b/lib/index.js @@ -147,7 +147,7 @@ async function addWelcome(jid, enabled, message) { data.welcome[jid] = { enabled: enabled, message: message || '╔═⚔️ WELCOME ⚔️═╗\n║ 🛡️ User: {user}\n║ 🏰 Kingdom: {group}\n╠═══════════════╣\n║ 📜 Message:\n║ {description}\n╚═══════════════╝', - channelId: '120363161513685998@newsletter' + }; saveUserGroupData(data); diff --git a/main.js b/main.js index 99858db5f..c6549a22f 100644 --- a/main.js +++ b/main.js @@ -99,8 +99,8 @@ const videoCommand = require('./commands/video'); // Global settings global.packname = settings.packname; global.author = settings.author; -global.channelLink = "https://whatsapp.com/channel/0029Va90zAnIHphOuO8Msp3A"; -global.ytch = "Mr Unique Hacker"; +global.channelLink = "https://whatsapp.com/channel/0029VapCMAkBPzjaNnlx4k0c"; +global.ytch = "KELIN MD"; // Add this near the top of main.js with other global configurations const channelInfo = { @@ -108,8 +108,8 @@ const channelInfo = { forwardingScore: 1, isForwarded: true, forwardedNewsletterMessageInfo: { - newsletterJid: '120363161513685998@newsletter', - newsletterName: 'KnightBot MD', + newsletterJid: '', + newsletterName: 'KELIN MD', serverMessageId: -1 } }