| 1 | require("dotenv").config(); |
| 2 | const { Client, GatewayIntentBits, EmbedBuilder } = require("discord.js"); |
| 3 | const client = new Client({ intents: [GatewayIntentBits.Guilds] }); |
| 4 | |
| 5 | client.on("ready", async () => { |
| 6 | console.log("[OSIRIS] Preparing to send announcement..."); |
| 7 | const guild = client.guilds.cache.first(); |
| 8 | if (!guild) { |
| 9 | console.log("No guild found."); |
| 10 | process.exit(1); |
| 11 | } |
| 12 | |
| 13 | try { |
| 14 | let targetChannel = guild.channels.cache.find(c => c.name.includes("announce") || c.name === "general" || c.type === 0); |
| 15 | |
| 16 | if (!targetChannel) { |
| 17 | console.log("No suitable text channel found."); |
| 18 | process.exit(1); |
| 19 | } |
| 20 | |
| 21 | const embed = new EmbedBuilder() |
| 22 | .setColor("#D4AF37") |
| 23 | .setTitle("🚀 MASSIVE RECON TOOLKIT UPGRADE DEPLOYED") |
| 24 | .setDescription("**Attention @everyone!**\n\nWe just deployed a huge update to the OSIRIS OSINT Platform, and the Recon Toolkit is now vastly more powerful.\n\n**Here is what is new in the toolkit:**\n\n📱 **Phone Intel Node**: Perform carrier and region lookups globally.\n🏴☠️ **Data Leaks Node**: Scan massive databases to see if emails have been exposed.\n🐙 **GitHub Recon**: Pull deep intelligence and language stats on target developers.\n🔍 **Shodan Integration**: We have implemented a slick new integration for host scanning.\n🌐 **BGP & MAC**: Major upgrades to networking and hardware tracing accuracy.\n\nThe server has been fully updated with zero downtime, and all scanners are live now. Go test them out!\n\nStay sharp, team. 👁️") |
| 25 | .setFooter({ text: "OSIRIS Core Systems" }) |
| 26 | .setTimestamp(); |
| 27 | |
| 28 | await targetChannel.send({ content: "@everyone", embeds: [embed] }); |
| 29 | console.log("[OSIRIS] Announcement sent successfully!"); |
| 30 | |
| 31 | setTimeout(() => process.exit(0), 3000); |
| 32 | |
| 33 | } catch (e) { |
| 34 | console.error("Failed to send announcement:", e); |
| 35 | process.exit(1); |
| 36 | } |
| 37 | }); |
| 38 | |
| 39 | client.login(process.env.DISCORD_TOKEN); |