diff options
| author | Fuwn <[email protected]> | 2025-09-17 22:08:36 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-17 22:08:36 -0700 |
| commit | edc7bed3499a55f69f2a8499992b82f3739453b9 (patch) | |
| tree | ba2cdebf10534c6911f4d4fd7c369108c7b2f8b9 /src | |
| parent | feat(intelligent_moderator): Update removal notice subject (diff) | |
| download | umabot-edc7bed3499a55f69f2a8499992b82f3739453b9.tar.xz umabot-edc7bed3499a55f69f2a8499992b82f3739453b9.zip | |
feat(intelligent_moderator): Use Mod Mail instead of user DMs
Diffstat (limited to 'src')
| -rw-r--r-- | src/umabot/rules/intelligent_roleplay_moderator.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/umabot/rules/intelligent_roleplay_moderator.py b/src/umabot/rules/intelligent_roleplay_moderator.py index bebb42a..c1a85eb 100644 --- a/src/umabot/rules/intelligent_roleplay_moderator.py +++ b/src/umabot/rules/intelligent_roleplay_moderator.py @@ -126,7 +126,8 @@ If you believe this was done in error, please contact the moderators via Mod Mai Thank you for understanding!""" - submission.author.message(subject, message) + # Send mod mail instead of DM + self.subreddit.message(subject, message) self.logger.info(f"Sent art flair change notification to {username}") except Exception as e: @@ -165,7 +166,8 @@ If you believe this was done in error, please contact the moderators via Mod Mai Thank you for understanding!""" - submission.author.message(subject, message) + # Send mod mail instead of DM + self.subreddit.message(subject, message) self.logger.info(f"Sent low-effort removal notification to {username}") except Exception as e: |