Skip to content

DerpyWasHere/OnePieceBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OnePieceBot

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.

Compilation / Testing

Simply run

mvn -B package

and a jar file will be created in the target directory.

Running the bot

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.

About

Simple Discord bot that posts images from One Piece

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published