Run
gradlew.bat clean installDist
or
gradlew clean installDist
to build the Bot.
To run the bot, use gradle:
gradlew.bat run
in Windows or
gradle run
to run in Shell/Bash. Expects a config.properties
File in ./config
folder
The Bot searches for a config file named config.properties
in a root folder config
It is mandatory to provide a property JDAToken
which can be retrieved from https://discordapp.com/developers/ in the Application/Bot section
To easily create such a config file, there is a script createConfig.sh in scripts.
createConfig.sh
createConfig.sh
--jdatoken <JDA Token>
--dbHost <database host with port>
--dbPassword <database password>
--dbDatabase <database name>
--dbUser <database username>
[--spotifyClientId <clientId>]
[--spotifyClientSecret <clientSecret>]
[--owmappid <OpenWeatherMapAppId>]
[--pixabaykey <PixabayKey>]
-o <output directory>