A Splatoon bot for the chat app Discord with actually unique features.
moonleay
95321b4895
Some checks failed
Build Gradle project / build-gradle-project (push) Has been cancelled
Signed-off-by: moonleay <contact@moonleay.net> |
||
---|---|---|
.forgejo/workflows | ||
gradle/wrapper | ||
src/main | ||
.dockerignore | ||
.gitignore | ||
.gitlab-ci.yml | ||
build.gradle.kts | ||
docker-compose.yml | ||
Dockerfile | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle.kts |
li'l Judd version 2
"Oh boy, here we go again" ~ me
A Discord Bot for Splatoon Teams.
Contributors
Known issues
If you encounter any bugs, message me on Discord (@moonleay) or email me (issues@moonleay.net). You can also open a ticket on the support server.
Commands & Features
- Commands
- version -- Show the versions of the bot and the most important dependencies
- feature -- Manage bot features
- match -- Create a new match
- updateroles -- Update the roles of all users
- sendplanner -- Send the planner message
- rotation -- See the current rotation
- Features
- Time Planner -- Make the bot send messages and reactions into a selected channel in order to make planning easier
- Availability Manager -- Make the bot assign users roles every day, so it is possible to notify available people
- Match Planner -- Make a match, for which players can sign up and the bot will assign teams and roles to them
The todo list
See the todo list for more information.
How to self-host (using the Docker container)
- Copy the docker-compose.yml file from the repository.
- Install docker and docker-compose.
- Create a directory called "data" in the same directory as the docker-compose.yml file.
- Create a directory called "config" in the same directory as the docker-compose.yml file.
- Start the bot once.
- After 10 seconds, stop the bot.
- Open the config file "credentials.nils" in the config directory.
- Put in your credentials.
- token: your Discord bot token
- dbDomain: the domain and port of your postgresql database (e.g.: "postgresql", when using the docker-compose.yml file)
- dbName: the name of the database
- dbUser: the username of the database
- dbPassword: the password to the db user
- Start the bot again.
- The bot should now be up and running.
How to self-host (using the JAR)
- Download the latest release from the Releases page.
- Place it anywhere you want.
- Run the following command:
java -jar lilJudd.jar
- The bot should start and create a config file named "credentials.nils" in a folder called "data"
- Open it and put in your credentials.
- token: your Discord bot token
- dbDomain: the domain and port of your postgresql database (e.g.: 192.168.178.1:5432)
- dbName: the name of the database
- dbUser: the username of the database
- dbPassword: the password to the db user
- Rerun the command
java -jar lilJudd.jar
- The bot should now be up and running.
How to set up workspace
Install IntellJ and import the project from git. Done.
Docker commands 4 me
- docker build -t limiteddev/liljudd:x.x.x .
- docker push limiteddev/liljudd:x.x.x