How to use • Variables • Licence • Links
- Compile
mvn clean package
- Run
java -jar target/bot.war
with variables
- Compile
mvn clean package
and get the war file intarget
folder - Config the config file of your bot
CATALINA-HOME/conf/Catalina/localhost/bot.xml
with variables - Deploy the war
CATALINA-HOME/webapps/bot.war
Key | Description | Default |
---|---|---|
LOG_FILE | Location of log file | ./log/bot.log |
BOT_TOKEN | Token of the Discord bot | None - required |
BOT_SETTING_GUID_DEVELOPMENT_ID | For development only: Upserting commands to a specific server will update the commands cache instantly, instead of taking up to an hour on global commands. | None |
BOT_OWNER_ID | Discord bot owner | 226715707017134080 - required |
BOT_CO_OWNER_ID | Discord bot co-owners (separated by a comma) | None |
Project under MIT licence