Open
Conversation
wolfendale
reviewed
Aug 5, 2024
jonbarrow
requested changes
Aug 7, 2024
Comment on lines
26
to
44
Member
There was a problem hiding this comment.
I do agree with your original message about this not being super great. This looks like it would be very error prone in large servers like ours where tons of messages are deleted all the time. I'm not sure this is worth keeping
Member
Author
There was a problem hiding this comment.
I've gone back and forth on this. I think that it is worth trying out, but if the edge case is hit often enough that it causes a significant amount of confusion, it should be removed. I don't know how common it is for users to delete their own messages within 5 minutes of one of theirs getting deleted by a mod.
313701f to
dddc818
Compare
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.
Resolves #34
Changes:
This creates a setting for a mod-log channel, which will log moderator events like punishments and slow-mode configuration. The event-log channel will continue to log user events like message updates and deletions.
Message deletions?
I originally wanted to move moderator-deleted messages into the mod-logs channel, but there are a few issues with this.
This PR is a draft because a decision on how to handle message deletions has not been made yet.Moderator message deletions have been implemented, with certain pitfalls as noted in a comment.