Currently when fetching the changelogs, the location that the bot uses to store the last starting time is hardcoded, and therefore it does not really work inside a docker container.
There's 2 solutions to this:
Make the location configurable through the .env file
Store the lastStartTime inside the database, meaning that it can easily be accessed without having any worry of the file being deleted or lost.
The latter option would be much more preferable, and would require simply making a new database collection for just a "botinfo" or something.
Currently when fetching the changelogs, the location that the bot uses to store the last starting time is hardcoded, and therefore it does not really work inside a docker container.
There's 2 solutions to this:
The latter option would be much more preferable, and would require simply making a new database collection for just a "botinfo" or something.
The current location setup can be found here: https://github.com/DaRealTurtyWurty/SuperTurtyBot/blob/main/src/main/java/dev/darealturtywurty/superturtybot/modules/ChangelogFetcher.java#L29