aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/umabot/rules/intelligent_roleplay_moderator.py6
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: