aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-08-15 14:07:22 -0400
committerGravatar ionite34 <[email protected]>2022-08-15 14:07:22 -0400
commit872281ea5faa44cf3659b1678174b1a713555288 (patch)
tree7c3a4305fe41db627246810101f4410f105b1ab5
parentMerge pull request #2249 from python-discord/redis-fix (diff)
Added mod alerted notice to auto-infractions
-rw-r--r--bot/exts/moderation/infraction/_scheduler.py5
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", "")