UNPKG

discord-live-bot-status-advanced

Version:

Advanced real-time Discord bot status tracker with embed dashboard and pagination

121 lines (78 loc) โ€ข 3.26 kB
# ๐ŸŸข LiveBotStatus โ€” Real-Time Discord Bot Monitoring **LiveBotStatus** is a plug-and-play module to track and display **real-time status** of your own Discord bot (uptime, ping, status, guild/user count, etc.) using a beautiful embed sent to a channel of your choice. > โœ… Self-contained. No external dashboard needed. > โœ… Fully real-time & auto-updating every 15 seconds. > โœ… Includes manual `/refreshbotstatus` command. --- ## ๐Ÿ“ฆ Installation ```bash npm i discord-live-bot-status-advanced ``` --- ## ๐Ÿš€ Usage In your bot's entry file (e.g., `index.js`): ```js const LiveBotStatus = require('discord-live-bot-status-advanced'); const token = process.env.DISCORD_TOKEN; const channelId = process.env.DISCORD_CHANNEL_ID; LiveBotStatus({ token, channelId }); ``` --- ## ๐Ÿ“Š Live Embed Preview Once your bot goes online, it will post an embed like: ``` ๐Ÿค– Live Bot Status Dashboard ๐ŸŸข YourBotName Status: online Servers: 34 Users: 8,432 Ping: 42ms Uptime: 2d 3h 15m 12s Commands: 0 Last Updated: 10 June 2025, 6:30 PM ``` The embed automatically refreshes every **15 seconds**. --- ## ๐Ÿ›  Features | Feature | Description | |----------------------|-------------------------------------------------| | ๐Ÿ” Auto Refresh | Embed updates every 15 seconds with live data | | ๐Ÿ’ฌ Slash Command | Use `/refreshbotstatus` to manually update | | ๐Ÿ“ถ Ping | Live WebSocket ping of your bot | | ๐Ÿ“ก Status | Online, idle, dnd, offline | | ๐Ÿ•’ Uptime | Automatically tracks bot uptime | | ๐Ÿ‘ฅ Guild & User Count | Live stats from your bot's guilds and users | | ๐Ÿง  Command Count | (Optional) You can update this manually later | --- ## ๐Ÿงฉ Slash Commands Setup This module automatically registers the `/refreshbotstatus` command. > No additional setup required. --- ## ๐Ÿงช Development Notes - Built with [discord.js v14](https://discord.js.org). - Works perfectly in Pterodactyl, Render, Railway, VPS, or even local. - Supports 100% uptime environments. --- ## ๐Ÿค Discord Server Join **Join: For support, discussions, or to stay updated, join our** [Discord Server](https://discord.gg/GwQrc2rDyg). --- ## โ“ FAQ **Q: Will this track other bots in my server?** A: No. This module is designed to **track only the bot that installs it**, ensuring data privacy and reliability. **Q: Can I track multiple bots?** A: This version is single-bot only by design. Multi-bot dashboard support may come in a future version. **Q: Can I customize the embed?** A: Absolutely! Fork the module and adjust the `_createEmbed()` method for your style. **Q: Who Made This Package?** A: This package was created by HJGaming (also known as Arbotix Codez). If you use this code or package in any form, you must give proper credit to the original creator. Failure to do so may result in copyright claims or takedown notices. Respect open-source contributions!. --- ## ๐Ÿ’ก To-Do / Ideas - [ ] Web dashboard (optional) - [ ] Historical data/logs - [ ] Bot restart detection - [ ] Command tracking API --- ## ๐Ÿ“„ License MIT License ยฉ 2025