diff --git a/index.js b/index.js index 1388ac339..6c1375416 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ /** - * Knight Bot - A WhatsApp Bot - * Copyright (c) 2024 Professor + * Seba tech- A WhatsApp Bot + * Copyright (c) 2025 by king * * This program is free software: you can redistribute it and/or modify * it under the terms of the MIT License. @@ -70,17 +70,17 @@ setInterval(() => { } }, 30_000) // check every 30 seconds -let phoneNumber = "911234567890" +let phoneNumber = "255744134356" let owner = JSON.parse(fs.readFileSync('./data/owner.json')) -global.botname = "KNIGHT BOT" +global.botname = "Sebastian Tech" global.themeemoji = "•" const pairingCode = !!phoneNumber || process.argv.includes("--pairing-code") const useMobile = process.argv.includes("--mobile") // Only create readline interface if we're in an interactive environment const rl = process.stdin.isTTY ? readline.createInterface({ input: process.stdin, output: process.stdout }) : null -const question = (text) => { +const question = (text)'KnightBot if (rl) { return new Promise((resolve) => rl.question(text, resolve)) } else { @@ -249,7 +249,7 @@ async function startXeonBotInc() { isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363161513685998@newsletter', - newsletterName: 'KnightBot MD', + newsletter'seba MD', serverMessageId: -1 } } @@ -361,4 +361,4 @@ fs.watchFile(file, () => { console.log(chalk.redBright(`Update ${__filename}`)) delete require.cache[file] require(file) -}) \ No newline at end of file +})