This queries the Riot Game's API to get the current free champion rotation, then sends it to a discord server (in Kotlin ❤)
Configure these (the ones without default are required) in (by priority):
- For AWS Lambda, by priority:
- Normal Java run:
- Environment variables in a
application.yaml
example
- Environment variables in a
Click here to view
EmojisOnOwnLine
SameLine
SeparateLines
EmojisOnly
Cute image from Wallpaper Access.
gradle shadowJar
To run the jar, in build/libs/
:
java -jar LeagueOfDravenBot.jar
Copy template-sample.yaml to template.yaml and fill it.
Build: sam build
Copy event-sample.json to event.json and optionally fill it.
Run: sam local invoke "LeagueOfDraven-Bot-Kotlin" -e event.json
Or the runLambdaLocally
task.
Copy template-sample.yaml to template-prod.yaml and fill it.
Build: sam build
Deploy: sam deploy --guided
After the first deploy, the guided arg can be ommited.
Or the deployLambda
task can be used.