Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamlining Moderation Process for Repeat Offenders #12

Open
Archasion opened this issue Apr 28, 2023 · 0 comments
Open

Streamlining Moderation Process for Repeat Offenders #12

Archasion opened this issue Apr 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Archasion
Copy link
Member

Archasion commented Apr 28, 2023

Problem

It is crucial for moderators to be aware of previous infractions when dealing with repeat offenders. It would be beneficial if the bot could check a user's infractions and notify the moderator during the execution of a new infraction, if they exceed a specified threshold.

Solution

The bot should be checking a user's infractions over a configured period (e.g., 3 months) and should notify the moderator if the count exceeds a set threshold. The following implementation suggestions can be considered:

  • Instead of executing the infraction immediately, send a confirmation to the moderator indicating the user's infraction count. If acknowledged, the bot would proceed with the infraction.
  • Mention the user and moderator after executing the infraction. This message can include the infraction types as well as the infraction count over the set period, or it could simply contain a button component that would display the user's infractions.

Configuration Example

thresholds:
  repeatOffender:
    minInfractions: 3
    maxInfractionAge: 90d
  • minInfractions - The number of infractions that would exceed the threshold
  • maxInfractionAge - Specifies the time period within which all infractions will be taken into account
@Archasion Archasion added the enhancement New feature or request label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant