Restructure - #15
Merged
Merged
Conversation
…structure) This commit introduces a significant restructuring of the project's package layout, moving common utilities and SDK components into a new `commons` package. Listener classes have been reorganized into more logical sub-packages based on their functionality (e.g., `auditlog`, `messagelog`, `misc`). Several deprecated commands and their associated listeners, including `/about`, `/permcheck`, and the server boost listener, have been removed. The project version has been updated, and dependencies in `pom.xml` have been refreshed, including the integration of Lombok.
Refactor the monolithic AuditLogListener by extracting individual event formatting logic into dedicated helper classes. This significantly improves code organization, readability, and maintainability. Also, restructure listener packages from 'auditlog' and 'messagelog' to 'audit' and 'message' respectively, enhancing consistency and clarity across the project.
The logging implementation in `HttpServiceEngine` has been updated to use SLF4J via the Lombok `@Slf4j` annotation, replacing direct usage of TinyLog
migrate logging from tinylog to slf4j using Lombok's @slf4j annotation. This standardizes logging practices and simplifies future integrations. rename BotKickListener to SelfKickListener for improved clarity and accuracy, reflecting its purpose of handling the bot's own departure. update project version numbers in pom.xml and ProjectInfo.java from 3.0.0 to 2.1.0 to reflect the current release state. update README.md to include a maintenance mode notice, warn against using legacy v1.2.2, and correct a minor typo.
…izer Simplify gradient color parsing in `ColorFormatter` by directly handling Map objects, removing brittle string manipulation. Rename `MemberRoleUpdateParser` to `RoleObjectParser` and rewrite role parsing logic to handle List of Map objects, as a replacement for brittle string parsing. This fixes the issue where multiple role adds/removes in a single event (possible only via mobile) would only show the last added/removed role. Replace manual `getManager()` method with Lombok's `@Getter` in `ConnectionInitializer`.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.