Skip to content

Kwandes/BobTheDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bob-The-Discord-Bot

Bob The Discord Bot

A simple Discord bot made in Java for learning purposes

###Technologies Used

  • Java 11
  • JDA
  • SLF4j
  • JDBC
  • JUnit
  • Maven
  • Docker
  • Git
  • IntelliJ (Development Environment)

Installation

The provided source code has been written and tested in Jetbrains IntelliJ. It is not guaranteed to work as-is when imported with other IDEs

The program is docker-compatible and that is the suggested deployment method. Navigate over to the program directory and run:

docker build -t discord-bot-X.X.X .

For raspberry Pi and ARM architecture compatibility use Dockerfile-arm

docker build -t discord-bot-X.X.X -f Dockerfile-arm .

This will compile the project and create an image. After that you can start the image with:

docker run --name discord-bot-X.X.X -e DISCORD_BOT_TOKEN -e DISCORD_BOT_JDBC_URL -d discord-bot-X.X.X

Make sure to you have a bot application token setup as an environment variable with that exact name, otherwise the bot will shutdown immediately.

You also need a database connection url that includes the username and password, example is in the jdbc.properties file

###License This Software is released under an MIT license

About

A simple Java Discord bot made for learning purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors