Skip to content

Restructure - #15

Merged
eggy03 merged 6 commits into
mainfrom
restructure
Nov 14, 2025
Merged

Restructure#15
eggy03 merged 6 commits into
mainfrom
restructure

Conversation

@eggy03

@eggy03 eggy03 commented Nov 14, 2025

Copy link
Copy Markdown
Owner

No description provided.

…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`.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
19.3% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@eggy03
eggy03 merged commit 2501685 into main Nov 14, 2025
5 of 6 checks passed
@eggy03
eggy03 deleted the restructure branch November 14, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant