2023-05-18 19:00:37 +00:00
# li'l Judd version 2
"Oh boy, here we go again" ~ me
2023-09-17 11:20:41 +00:00
A Discord Bot for Splatoon Teams.
2023-05-18 19:00:37 +00:00
## Contributors
2023-05-21 13:21:00 +00:00
[![Developer ](https://img.shields.io/badge/moonleay-Developer-red )](https://gitlab.com/moonleay)
2023-05-18 19:00:37 +00:00
## Known issues
2024-01-21 00:58:25 +00:00
##### 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](https://discord.gg/HTZRktfH4A).
2023-05-18 19:00:37 +00:00
## Commands & Features
- Commands
- version -- Show the versions of the bot and the most important dependencies
- feature -- Manage bot features
2023-09-17 11:20:41 +00:00
- match -- Create a new match
- updateroles -- Update the roles of all users
- sendplanner -- Send the planner message
2024-01-21 00:58:25 +00:00
- rotation -- See the current rotation
2023-05-18 19:00:37 +00:00
- Features
- Time Planner -- Make the bot send messages and reactions into a selected channel in order to make planning easier
2023-06-28 22:05:12 +00:00
- Availability Manager -- Make the bot assign users roles every day, so it is possible to notify available people
2023-09-17 11:20:41 +00:00
- Match Planner -- Make a match, for which players can sign up and the bot will assign teams and roles to them
2023-05-18 19:00:37 +00:00
2024-01-21 00:58:25 +00:00
## The todo list
2023-05-29 11:58:16 +00:00
2023-12-06 15:02:32 +00:00
##### See the [todo list](https://todo.moonleay.net/share/OmisuzgPDdsrCAXKjGrTfYzWwqNDNclOMGJWeMsi/auth?view=kanban) for more information.
2023-05-29 11:58:16 +00:00
2023-05-18 19:00:37 +00:00
## How to self-host (using the Docker container)
2023-08-04 19:17:52 +00:00
1. Copy the docker-compose.yml file from the repository.
2. Install docker and docker-compose.
3. Create a directory called "data" in the same directory as the docker-compose.yml file.
4. Create a directory called "config" in the same directory as the docker-compose.yml file.
5. Start the bot once.
6. After 10 seconds, stop the bot.
7. Open the config file "credentials.nils" in the config directory.
8. Put in your credentials.
1. token: your Discord bot token
2. dbDomain: the domain and port of your postgresql database (e.g.: "postgresql", when using the docker-compose.yml
file)
3. dbName: the name of the database
4. dbUser: the username of the database
5. dbPassword: the password to the db user
9. Start the bot again.
10. The bot should now be up and running.
2023-05-18 19:00:37 +00:00
## How to self-host (using the JAR)
2023-09-17 11:17:14 +00:00
1. Download the latest release from the Releases page.
2023-05-18 19:00:37 +00:00
2. Place it anywhere you want.
3. Run the following command:
2023-09-17 11:17:14 +00:00
> java -jar lilJudd.jar
2023-05-18 19:00:37 +00:00
4. The bot should start and create a config file named "credentials.nils" in a folder called "data"
5. Open it and put in your credentials.
1. token: your Discord bot token
2. dbDomain: the domain and port of your postgresql database (e.g.: 192.168.178.1:5432)
2023-09-17 11:17:14 +00:00
3. dbName: the name of the database
2023-05-18 19:00:37 +00:00
4. dbUser: the username of the database
2023-09-17 11:17:14 +00:00
5. dbPassword: the password to the db user
2023-05-18 19:00:37 +00:00
6. Rerun the command
2023-09-17 11:17:14 +00:00
> java -jar lilJudd.jar
2023-05-18 19:00:37 +00:00
7. 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