[feat] Role Preserve: Ignored/Blacklisted Roles#59
Merged
Conversation
…ist & implemented embed generator for listing blacklisted roles
…fication and modularize some parts of it
…ClientOnUserJoined
… enable/disable, and blacklist add/remove)
…mands/interactions
…ement GuildRoleCache
…ially refactor logic to only depend on RolePreserveAuditModel
Owner
Author
…klist-related commands
…ching for blacklisted roles
… and reduce duplicated code
Owner
Author
|
"success" log events should now be sent whenever there is never failures (and will only be sent to the configured i haven't tested the feature yet, but it should work it would be nice to implement a feature to explicitly block server log events from being sent in the fallback channel, but that might overcomplicate things for the average user (and stuff only sends to the fallback channel when no channel is configured for an event, or it didn't get sent successfully) |
…clearing when going from no buttons to some buttons
…nged (and it exists, duh)
…tside of the developer server
Owner
Author
ktwrd
added a commit
to ktwrd/XeniaBot-Website
that referenced
this pull request
Jun 25, 2026
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.


New feature for Role Preservation to ignore/blacklist roles from being given to users when they re-join. Useful if you have a server that required users to raise a ticket to be let in, and have a manual approval process.
DB Layer and Application Commands are complete. Just finishing up the UI for the settings (which is currently being rewritten)
I've also added an auditing feature to Role Preservation, so it's audited if anything went wrong with granting a users roles back, and what roles were granted back. This auditing also includes when a staff/mod updates the Role Preservation configuration.
Tasks:
ServerLogEvent.RolePreserve)