Skip to content

NUGOS/DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordBot

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.

What It Does

  • Starts a Discord bot with JDA
  • Listens for the !serverstatus command
  • 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

Tech Stack

  • Java 17
  • Spring Boot 3
  • JDA Discord API
  • Gradle

Configuration

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_ID

Do not commit real bot tokens.

Run

./gradlew bootRun

Status

Pet project / automation practice. Useful next steps would be a Dockerfile, cleaner command handling, tests around status checks, and a safer deployment example.

About

Java/Spring Boot bot for Discord notifications and server status monitoring.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages