A Discord bot that responds with an image of the popular character Luffy from One Piece when a message contains "one" or "piece" in any configuration.
Simply run
mvn -B package
and a jar file will be created in the target
directory.
A Dockerfile is provided for containerization, and is hosted here.
Simply run
docker run --name OnePieceBot -d --rm derpywashere/onepiecebot:main java -jar app/OnePieceBot.jar {API_KEY} {DATABASE_USER} {DATABASE_PASSWORD} {DATABASE_IP}
for Docker containerization, or
java -jar target/*with-dependencies.jar {API_KEY} {DATABASE_USER} {DATABASE_PASSWORD} {DATABASE_IP}
This assumes that you have a MySQL database running with appropriate permissions.