868dbea8df2cb16d3c1c36b77072f0d0be9b8279
CommandProcessor to enhance modularity and extensibility
Decomposed the monolithic `dispatch()` method into modular components using `CommandPrecondition`, `ResultHandler`, and `UsageValidator`. Replaced inline checks and tightly-coupled logic with composable, testable classes, eliminating `instanceof` dependencies. Preserved existing behavior and improved maintainability for future feature additions.
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%