How to use • Variables • Licence
Reproduction example for the issue : Copy/Paste image into slash commands are not working.- Change variables in application.properties file
- Use command
docker-compose up
- Create a docker-compose like https://github.com/brandonfl/discord-bh-38030/blob/master/misc/docker-compose-example.yml
- Use command
docker-compose up -d
Command
docker run IMAGE -e BOT_TOKEN=TOKEN ...
with -e
the variables
- 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 |
Project under MIT licence