proohit / DirisSlave

Feature-rich Discord bot written in Java using JDA. Supports music playback with spotify integration, imageboards, weather data, simple command APIs and much more.
4 stars 0 forks source link
discord-bot jda lavaplayer openweathermap spotify

DirisSlave

Build

Run

gradlew.bat clean installDist

or

gradlew clean installDist

to build the Bot.

Run

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

Configuration

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>