Java/Spring Boot pet project for Discord notifications and basic server status monitoring.
This is a small automation project, not a commercial product. It is useful for showing practical integration work: connecting to an external platform, handling commands, reading configuration, and checking a remote server from a bot.
- Starts a Discord bot with JDA
- Listens for the
!serverstatuscommand - Checks whether a configured server IP is reachable
- Sends server online/offline messages to a configured Discord channel
- Keeps token, channel ID, and server IP in configuration instead of code
- Java 17
- Spring Boot 3
- JDA Discord API
- Gradle
Create src/main/resources/application.properties locally:
discord.bot.token=YOUR_DISCORD_BOT_TOKEN
discord.bot.server-ip=127.0.0.1
discord.bot.channel-id=YOUR_CHANNEL_IDDo not commit real bot tokens.
./gradlew bootRunPet project / automation practice. Useful next steps would be a Dockerfile, cleaner command handling, tests around status checks, and a safer deployment example.