Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Streamlining Moderation Process for Repeat Offenders #12

@Archasion

Description

@Archasion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions