- Install Java 21 and make sure with
java -version
. - Create the
local.properties
file insrc/main/resources
. - Provide a valid discord application token.
- To use YouTube provide a valid
YOUTUBE_REFRESH_TOKEN
as described here. - To load playlists from YouTube provide valid
YOUTUBE_PO_TOKEN
andYOUTUBE_VISITOR_DATA
as described here. - To use Yandex TTS fill in a valid yandex OAuth token as well as your FOLDER_ID in Yandex Cloud.
DISCORD_TOKEN=xxx
YOUTUBE_REFRESH_TOKEN=xxx
YOUTUBE_PO_TOKEN=xxx
YOUTUBE_VISITOR_DATA=xxx
YANDEX_OAUTH_TOKEN=xxx
YANDEX_FOLDER_ID=xxx
To build a fat jar and run it use:
./gradlew build
java -jar build/libs/chimber-bot-1.0-SNAPSHOT.jar