mirror of
https://github.com/BrenBroZAYT/uptime-kuma-discord-bot.git
synced 2026-06-13 16:40:03 +00:00
3.5 KiB
3.5 KiB
Quick Start Guide
Want to deploy to Fly.io instead? See FLY_DEPLOY.md for one-click deployment.
Prerequisites
- Docker installed (or Node.js 18+)
- Discord bot created
- Uptime Kuma instance running
Step 1: Create Discord Bot (2 minutes)
- Go to https://discord.com/developers/applications
- Click "New Application" and name it
- Go to "Bot" tab, click "Add Bot", then "Reset Token" and copy it
- Go to "OAuth2" → "URL Generator"
- Select scopes:
bot+applications.commands - Select permissions:
Send Messages,Embed Links,Read Message History,Use Slash Commands - Open the generated URL to invite bot to your server
Step 2: Setup Bot (2 minutes)
git clone https://github.com/jakedev796/uptime-kuma-discord-bot
cd uptime-kuma-discord-bot
cp .env.example .env
Edit .env (only 3 required):
DISCORD_BOT_TOKEN=your_discord_bot_token
UPTIME_KUMA_URL=http://uptime-kuma:3001
UPTIME_KUMA_USERNAME=admin
UPTIME_KUMA_PASSWORD=your_password
ADMIN_USER_IDS=your_discord_user_id
Start it:
docker-compose up -d
# or: npm install && npm run build && npm start
Step 3: Configure in Discord (1 minute)
Type these commands in Discord:
/set-channel #status # Pick channel from dropdown
/set-title Production Services # Custom title (optional)
/track # Type to search, select monitor
/track # Repeat for more monitors!
# Or just:
/track-all # Track everything
Done!
Using the bot in multiple servers?
The bot supports multiple Discord servers independently! Each server has its own configuration. Just repeat the /set-channel setup in each server.
What's Next?
Organize with Groups
/group-create Media Servers # Create a group
/group-add-monitor # Group dropdown, then monitor dropdown
→ Select: Your Group Name
→ Type: Your Monitor Name
→ Repeat for more monitors
/groups # See your organization
/config # See full status
Quick Operations
/track # Type monitor name, select from dropdown
/untrack # Type monitor name, remove it
/group-remove-monitor # Remove monitor from its group
/group-delete # Delete entire group
/reset-config # Reset all settings (deletes embeds, clears everything)
Troubleshooting
Commands don't appear
- Wait 5-10 minutes
- Kick and re-invite bot
- Restart Discord
Bot won't connect
- Check
.envcredentials - View logs:
docker-compose logs -f - Try
/configin Discord
Permission denied
- Add your Discord user ID to
ADMIN_USER_IDSin.env - Get ID: Right-click username → Copy ID
- Restart bot
Commands Cheat Sheet
| Command | What it does |
|---|---|
/set-channel |
Choose status channel |
/set-title |
Customize embed title |
/track |
Add monitor |
/untrack |
Remove monitor |
/track-all |
Track everything |
/group-create |
Create new group |
/group-delete |
Delete group |
/group-add-monitor |
Add to group |
/group-remove-monitor |
Remove from group |
/groups |
List all groups |
/config |
See full status |
/reset-config |
Reset all settings (per guild) |
Pro Tips
- Create groups first, then assign monitors
- Use
/configto see everything at a glance - Start with
/track-allthen organize into groups
Need help? Check README.md or open a GitHub issue.