Bump version to 1.2.0 - #6
Merged
Merged
Conversation
eggy03
commented
Jul 15, 2025
Owner
- Introduced a new /permcheck slash command to verify if the bot has the required permissions to function properly.
- A message now appears when a boost is lost in a guild, explaining that the boost count may not update immediately, as boosts remain active for a short period even after a member removes their boost.
Introduces a new /permcheck slash command to verify if the bot has the required permissions to function properly. Adds RequiredPermissionCheckListener to handle the command and updates command registration and event listener setup accordingly.
Added logic to display the permission overrides granted to the bot's role for the current channel, in addition to the global role permissions. This provides clearer visibility into both server-wide and channel-specific permissions for troubleshooting and configuration.
Refactors the permission check logic to detect if the current channel has a custom override for the bot's role, and updates the embed message accordingly. Removes the previous logic that listed per-permission overrides and instead provides a warning if no override is present, improving clarity for private channel access issues.
Simplifies and updates the logic for checking and displaying required permissions for the bot's role in a channel. Removes redundant code, directly checks channel-specific overrides, and improves the embed output to reflect permissions granted in the current channel context.
Simplifies channel-specific permission checks by using Member#getPermissions instead of manual role override inspection. Adds clearer error handling when channel or bot member is unavailable, and includes a field for the bot integration role's VIEW_AUDIT_LOGS permission.
Updated project version to 1.2.0 in pom.xml and ProjectInfo.java. Added color to the permissions checker embed and included a notice about boost count timing in the server boost listener.
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.