Discord Role Persistence is a Discord bot with the objective to save the roles of users
3.2K
Invite • How to use • Variables • Licence
The invitation link for the bot is present into the website : https://discord-role-persistence.com
Change variables in application.properties file
Use command docker-compose up
Command
docker run IMAGE -e BOT_TOKEN=TOKEN ...
with -e the variables
mvn clean packagejava -jar target/bot.war with variablesmvn clean package and get the war file in targetfolderCATALINA-HOME/conf/Catalina/localhost/bot.xml with variablesCATALINA-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 |
| DB_HOST | Define where the mysql server is. If not set, in-memory storage will be used. | None |
| DB_NAME | Define the database name | bot |
| DB_USERNAME | Define the username used to connect to the datasource | bot |
| DB_PASSWORD | Define the password used to connect to the datasource | bot |
| DB_TIMEZONE | Define the timezone used to store date into the datasource | UTC |
| DB_PATH | Define the path of the in-memory storage. If not set, data will be lost at bot reboot. | ./data/drp |
Project under MIT licence
Content type
Image
Digest
sha256:2861bfeb1…
Size
277.8 MB
Last updated
about 1 year ago
docker pull brandonfl/discord-role-persistence