diff options
| author | Fuwn <[email protected]> | 2025-09-19 13:58:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-19 13:58:11 -0700 |
| commit | 5bc85e4562fc4cbc137c11de0dde3944772a830c (patch) | |
| tree | 320e5cb2586b423d4dac1cd7d677a35ae67373e4 | |
| parent | Revert "fix(irm): Send removal message as Mod Mail" (diff) | |
| download | umabot-5bc85e4562fc4cbc137c11de0dde3944772a830c.tar.xz umabot-5bc85e4562fc4cbc137c11de0dde3944772a830c.zip | |
fix(irm): Send Mod Mail to author
| -rw-r--r-- | src/umabot/rules/intelligent_roleplay_moderator.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/umabot/rules/intelligent_roleplay_moderator.py b/src/umabot/rules/intelligent_roleplay_moderator.py index 90c5fc8..d36daa2 100644 --- a/src/umabot/rules/intelligent_roleplay_moderator.py +++ b/src/umabot/rules/intelligent_roleplay_moderator.py @@ -118,8 +118,7 @@ class IntelligentRoleplayModerator(Rule, IntelligentModeratorBase): message += f"\n\nPost link: https://reddit.com{submission.permalink}\n\nIf you believe this was done in error, please contact the moderators via Mod Mail.\n\nThank you for understanding!" - # Send mod mail instead of DM - self.subreddit.message(subject, message) + submission.author.message(subject, message) self.logger.info(f"Sent art flair change notification to {username}") except Exception as e: @@ -142,8 +141,7 @@ class IntelligentRoleplayModerator(Rule, IntelligentModeratorBase): message += f"\n\nPost link: https://reddit.com{submission.permalink}\n\nTo improve your roleplay posts, consider:\n- Adding more detailed descriptions\n- Creating engaging scenarios\n- Including meaningful character interactions\n- Ensuring your content adds value to the community\n\nIf you enjoy active roleplay, join the official r/okbuddyumamusume Discord server! It features a comprehensive layout of channels, forums, roles, bots, events, and more! https://discord.gg/okbuddyumamusume\n\nIf you believe this was done in error, please contact the moderators via Mod Mail.\n\nThank you for understanding!" - # Send mod mail instead of DM - self.subreddit.message(subject, message) + submission.author.message(subject, message) self.logger.info(f"Sent low-effort removal notification to {username}") except Exception as e: |