05b4a2ab853543b097d7dcb39577a6152fdff903
Replaced metadata-driven reflection with self-describing `PersistableTask` types and a new `PersistableTaskRegistry`. Removed `persistable-tasks.json` and `TaskRegistry`, migrating to type-safe DI instantiation and explicit `restore()` methods. Fixed task restoration issues, ensuring `EmojiReactionRoleTask` and its `emojiMapping` now persist and restore correctly. Introduced `typeId()` for stable task identification, updated payload serialization for symmetry, and applied database migration to map FQCNs to logical IDs. Added unit tests for robust type discovery, payload symmetry, and registry behavior, ensuring no breaking changes.
Net Neutrality Discord bot
This is the source code for my custom discord bot. This is a personal project, so I offer no support on how to build it.
The preferred method for running the bot is by using Docker Compose like this:
docker compose build
docker compose up -d
The environment variables needed for the bot to run are available in the file bot.properties.example If running locally without Docker, you need to copy the example file to bot.properties and fill the values.
Description
For any issues or feature request: https://discord.gg/qUa6zNFZsd
3 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
99.1%
Shell
0.5%
PowerShell
0.3%