Skip to content

Develop 3.0.0 - #18

Merged
eggy03 merged 105 commits into
mainfrom
develop-3.0.0
Feb 17, 2026
Merged

Develop 3.0.0#18
eggy03 merged 105 commits into
mainfrom
develop-3.0.0

Conversation

@eggy03

@eggy03 eggy03 commented Feb 17, 2026

Copy link
Copy Markdown
Owner

No description provided.

eggy03 added 30 commits February 7, 2026 12:20
- Rename `gradientValue` parameter to `gradientMap` in `formatGradientColorSystemToHex` method

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Remove `AuditLogEntry` parameter from `format` methods in audit log helper classes
- Retrieve `AuditLogEntry` directly from `GuildAuditLogEntryCreateEvent` within each helper method
- Update all calls to these helper methods in `AuditLogEventListener.java`
- Remove `FIXME` comment in `BanEventHelper.java`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Use lambda and for each instead of traditional for loops
- Remove emoji clutter
- default cases now add two fields for old and new values

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Standardize "Automod" to "Auto-mod" for consistency in titles and descriptions
- Add an "Info" field to provide guidance on where to find more details about auto-mod events
- Remove the `🛈` emoji from descriptions for a cleaner look

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Simplify processing of audit log changes in `AutoModerationRule*EventHelper` classes.
- Reduce detailed information in embeds, guiding users to Discord's Safety Setup.
- Remove unused imports and emojis from embed field names.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- remove unused `MessageEmbed` import
- refactor user retrieval and embed construction for ban events
- improve ban reason handling, defaulting to "No Reason Provided"
- consolidate embed field additions for better readability

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- remove unused `MessageEmbed` import
- directly build and send the embed without an intermediate variable
- adjust embed description and field names for improved clarity

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Update `groupId`, `artifactId`, `version` from `2.5.0` to `3.0.0`, `name`, `description`, and `mainClass` in `pom.xml`.
- Reorganize all Java packages from `org.papertrail` to `io.github.eggy03.papertrail.bot`.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Streamline embed construction and asynchronous user retrieval in `KickEventHelper.java` and `UnbanEventHelper.java`.
- Enhance readability of embed fields and descriptions, including renaming `reason` in `BanEventHelper.java`.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Use `forEach` loop for processing audit log changes
- Update embed field names for clarity and consistency
- Remove unused imports: `AuditLogChange`, `MessageEmbed`, `Map`
- Enhance default handling of unknown audit log changes
- Streamline embed building process

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Modernize audit log change processing using `forEach` and Java 14+ switch expressions
- Streamline embed construction by directly building and sending the embed
- Refine embed description and field names for clarity

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Remove verbose fields from channel delete audit log embed
- Omit less critical channel properties like `user_limit` and `nsfw`
- Remove "🗨️" emoji from "Type" field name
- Omit all other fields by default for a cleaner output

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Remove the `🆔` emoji from the "Deleted Channel ID" field in `ChannelDeleteEventHelper.java`.
- This improves consistency of embed field titles.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
…ting

- Refactor `AuditLogChange` iteration to `forEach` loop
- Remove emojis from embed field titles
- Update `nsfw` field names and use `BooleanFormatter.formatToYesOrNo`
- Add handling for `available_tags` and `default_reaction_emoji` changes
- Enhance default change display to show old and new values
- Rephrase embed description for clarity

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Introduce `ChannelUtils` to consolidate logic for resolving channel override permissions, types, and targets.
- Refactor `ChannelOverride*EventHelper` classes to use `ChannelUtils` for improved consistency and maintainability.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Restructure Discord embed messages for voice channel status events
- Move executor and target channel details from description to dedicated fields
- Remove unused `MessageEmbed` import and intermediate variable in `VoiceChannelStatusUpdateEventHelper.java` and `VoiceChannelStatusDeleteEventHelper.java`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Remove unnecessary `MessageEmbed` variable assignment.
- Call `EmbedBuilder.build()` directly within `sendMessageEmbeds()`.
- Simplify code by removing an intermediate object.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Move `automodEventTypeResolver` and `automodTriggerTypeResolver` from `TypeResolver.java` to `AutomodUtil.java`
- Create `AutomodUtil.java` to centralize auto-moderation type resolution logic
- Update `AutoModerationRuleCreateEventHelper.java` to use `AutomodUtil`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Modernize audit log change iteration with `forEach` lambda
- Remove unused imports (`AuditLogChange`, `MessageEmbed`, `Map`)
- Streamline `EmbedBuilder` usage
- Enhance clarity of audit log fields, descriptions, and labels

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Display audit log changes with distinct fields for `OLD_VALUE` and `NEW_VALUE`.
- Remove unused imports: `AuditLogChange`, `MessageEmbed`, `Map`.
- Clarify helper's purpose for un-implemented or un-handled events.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Set `inline` parameter to `false` for audit log embed fields.
- Remove `addBlankField` as it is no longer necessary.
- Improve readability of audit log changes by displaying old and new values on new lines.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Delete `GuildSystemChannelFlagResolver.java`.
- Create `GuildUtils.java` to centralize guild-related property resolvers.
- Move `guildVerificationLevelResolver` and `explicitFilterTypeResolver` from `TypeResolver` to `GuildUtils`.
- Update `GuildUpdateEventHelper` to utilize `GuildUtils` for resolving guild properties.
- Integrate `BooleanFormatter` and `DurationFormatter` for improved output in `GuildUpdateEventHelper`.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Rename `resolvePermissions` to `resolveChannelPermissions` in `ChannelUtils.java`
- Rename `resolveMemberOrRole` to `autoResolveMemberOrRole` in `ChannelUtils.java`
- Update all references in `ChannelOverride*EventHelper.java` files
- Improve error messages and add categorization comments in `ChannelUtils.java`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Move `channelTypeResolver`, `formatNumberOrUnlimited`, `videoQualityModeResolver`, and `voiceChannelBitrateResolver` from `TypeResolver.java` to `ChannelUtils.java`
- Rename `resolveChannelPermissions` to `resolveChannelOverridePermissions` in `ChannelUtils.java` for improved clarity
- Update all affected audit log helper classes to use the new `ChannelUtils` methods
- Improve code organization by centralizing channel-specific utility logic

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
…ckage

- Relocate `OnboardingUtils.java` from `commons.utilities` to `listeners.audit.helper.onboarding.utils`.
- Update import in `OnboardingUpdateEventHelper.java`.
- Improve code organization by grouping related utilities.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- introduce `parseInt` and `parseLong` helpers in `GuildUtils`, `ChannelUtils`, and `AutoModUtils`
- refactor resolution methods to use new parsing helpers, reducing boilerplate
- rename `AutomodUtil.java` to `AutoModUtils.java` and update class name
- use `AutoModEventType` and `AutoModTriggerType` enums in `AutoModUtils`
- standardize null/unparsable value returns to "`N/A`"
- add section comments for better code organization

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Rename `AutomodUtil` to `AutoModUtils` for consistency.
- Update `AutoModerationRuleCreateEventHelper.java` to use `AutoModUtils`.
- Make `GuildUpdateEventHelper.java` embed fields non-inline.
- Remove redundant blank fields from `GuildUpdateEventHelper.java` embeds.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Move `BanEventHelper`, `KickEventHelper`, and `UnbanEventHelper` to the `modactions` package.
- Update package declarations and `AuditLogEventListener` imports.
- The `modactions` name better encompasses ban, kick, and unban events.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Use `forEach` lambda for `AuditLogEntry` changes
- Update `switch` statements to enhanced `switch` expressions
- Add `@Slf4j` and log unimplemented audit log change keys
- Implement embed sendability check with warning log
- Remove unused `AuditLogChange` and `java.util.Map` imports
- Adjust embed descriptions and delete event color to `Color.MAGENTA`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Introduce `@Slf4j`, add `MessageEmbed` sendability checks, and improve unimplemented audit log change key logging.
- Refactor `switch` statements in onboarding helpers to use arrow syntax.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- add `last updated` date to `PRIVACY.md`
- clarify data stored for message logging and audit logging, and add a note on DMs
- expand data retention policy details, including system backup retention
- introduce new data security section covering infrastructure, encryption, and access control
- refine user rights descriptions and verification process for improved clarity

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Update the "last updated" date in `TERMS.md` from `February 02, 2026` to `February 16, 2026`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add `TOTAL_SHARDS`, `MIN_SHARD_ID`, and `MAX_SHARD_ID` environment variables.
- Include configuration examples for various sharding setups (single/multiple JVM instances).
- Update project license from `Apache License 2.0` to `MIT`.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Update the number of supported audit log event types from `50+` to `72`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Remove unnecessary comma from "Administrative Data" section for improved readability

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Update bot custom status to include "`/setup | `" prefix
- Guide users to the `/setup` command for initial configuration

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add `╰┈➤` prefix to the "Permissions synced with category" message
- Improve visual clarity and distinction for synced permissions

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add handling for `type` changes in channel update events
- Display old and new channel types in the audit log
- Add handling for `flags` changes in channel update events

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add a field to the embed when thread `flags` are updated
- Previously, thread flag updates were explicitly skipped from the audit log
- Enhance the audit trail for `ThreadUpdateEvent`s

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Implement handlers for `HOME_SETTINGS_CREATE` and `HOME_SETTINGS_UPDATE` audit log events.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add `ApplicationCommandPrivilegesUpdateEventHelper` to format `APPLICATION_COMMAND_PRIVILEGES_UPDATE` events.
- Integrate the new helper into `AuditLogEventListener` for dedicated processing.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- add `repositories` section with project links
- restructure and expand `self-hosting guide` with Discord application setup details
- remove `privacy`, `security`, and `terms of use` sections
- update `license` details for project components

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- update the referenced license in `TERMS.md` from `MIT License` to `AGPLv3`
- remove the clause about preserving original license and attribution, as it is no longer relevant with the `AGPLv3`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Add `GuildProfileUpdateEventHelper` to format `GUILD_PROFILE_UPDATE` audit log entries.
- Integrate helper into `AuditLogEventListener` for specific event processing.
- Remove `GUILD_PROFILE_UPDATE` from generic handling, enabling detailed logging.

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Prefix embed field values with "╰┈➤" for better visual separation
- Apply to audit log event details in `GuildUpdateEventHelper.java` and `MemberUpdateEventHelper.java`

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Move `EmbedBuilder` initialization after retrieving executor details

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- Perform validation checks before building an embed so that no state exceptions are thrown. Using MessageEmbed.isSendable() will still throw exceptions during the build phase so EmbedBuilder methods are used instead.
- Enable `SlashCommandRegistrationListener` for application command management.
- Update logging configuration in `tinylog.properties` and add `@Slf4j` annotations.
- Reorder database operations in message log helpers to make them happen before embed validation checks.
- Bump version to 3.0.0 in ProjectInfo

Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
@eggy03 eggy03 self-assigned this Feb 17, 2026
@eggy03 eggy03 added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request dependencies Pull requests that update a dependency file labels Feb 17, 2026
@eggy03
eggy03 merged commit ffcba33 into main Feb 17, 2026
4 checks passed
@eggy03
eggy03 deleted the develop-3.0.0 branch February 17, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant