This program handles requests to join your lichess team.
General build:
cargo build --release
If you want more logs while running:
cargo build --release --features full_info
This program needs authorization token, created by an admin or manager of your lichess team.
Use this link to open lichess auth token creation page with prefilled form.
To create auth token, go to Preferences -> API token access -> New access token
You token will need these rights:
- Read private team information
- Manage teams you lead: send PMs, kick members
Although you can add other rights too, I highly recommend to limit yourself to those two only.
You can find more info on lichess auth tokens here
This program needs config.json
file with the next fields:
blacklistFile
-- path to the blacklist fileteam
-- your team id. You can find it in your club url address (https://lichess.org/team/{team-id}
)authorizationToken
-- your authorization token. How to create authorization token
If you need an example, see config-example.json
Blacklist file -- file with one user per line, whose join request you want to decline.
Just fill it with one user non-grata per line (see blacklist-example
file)