Maven module of the Discord bot, it may optionally use the backend.
- JDK 17+
- A PostgreSQL database, a recent enough version (11+) should be enough.
- Copy the
config-template
asdev-config
. - Delete the "logback.xml" as it is only for production.
- Set the values in
config.json
. - Run the bot:
- Using
mvn -pl doxxy-bot -am compile exec:exec
in the root working directory, or, - Make a run configuration with the VM options found in
exec-maven-plugin
in thedoxxy-bot
working directory.
- Using
- ???
- Profit
If you change something to the database, please write a migration script here, with Flyway's naming scheme:
V[Major].[Minor].[YYYY].[MM].[DD]__Extended_Description.sql
.