diff options
| author | 2022-08-15 14:07:22 -0400 | |
|---|---|---|
| committer | 2022-08-15 14:07:22 -0400 | |
| commit | 872281ea5faa44cf3659b1678174b1a713555288 (patch) | |
| tree | 7c3a4305fe41db627246810101f4410f105b1ab5 | |
| parent | Merge pull request #2249 from python-discord/redis-fix (diff) | |
Added mod alerted notice to auto-infractions
| -rw-r--r-- | bot/exts/moderation/infraction/_scheduler.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_scheduler.py b/bot/exts/moderation/infraction/_scheduler.py index c7f03b2e9..69c7d7afc 100644 --- a/bot/exts/moderation/infraction/_scheduler.py +++ b/bot/exts/moderation/infraction/_scheduler.py @@ -189,7 +189,10 @@ class InfractionScheduler: f"Infraction #{id_} actor is bot; including the reason in the confirmation message." ) if reason: - end_msg = f" (reason: {textwrap.shorten(reason, width=1500, placeholder='...')})" + end_msg = ( + f" (reason: {textwrap.shorten(reason, width=1500, placeholder='...')})" + " Moderators have been alerted for review" + ) purge = infraction.get("purge", "") |