aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/umabot/rules/intelligent_roleplay_moderator.py32
1 files changed, 4 insertions, 28 deletions
diff --git a/src/umabot/rules/intelligent_roleplay_moderator.py b/src/umabot/rules/intelligent_roleplay_moderator.py
index c1a85eb..90c5fc8 100644
--- a/src/umabot/rules/intelligent_roleplay_moderator.py
+++ b/src/umabot/rules/intelligent_roleplay_moderator.py
@@ -110,21 +110,13 @@ class IntelligentRoleplayModerator(Rule, IntelligentModeratorBase):
# Format reasoning based on configuration (never include for art flair changes)
formatted_reasoning = self._format_reasoning(evaluation, is_art_flair_change=True)
- message = f"""Hello u/{username},
-
-Your roleplay post has been automatically re-flaired as "Art" because it appears to be primarily showcasing artwork or visual content rather than roleplay."""
+ message = f"Hello u/{username},\n\nYour roleplay post has been automatically re-flaired as \"Art\" because it appears to be primarily showcasing artwork or visual content rather than roleplay."
# Add reasoning if configured
if formatted_reasoning:
message += f"\n\nReasoning: {formatted_reasoning}"
- message += f"""
-
-Post link: https://reddit.com{submission.permalink}
-
-If you believe this was done in error, please contact the moderators via Mod Mail.
-
-Thank you for understanding!"""
+ 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)
@@ -142,29 +134,13 @@ Thank you for understanding!"""
# Format reasoning based on configuration
formatted_reasoning = self._format_reasoning(evaluation)
- message = f"""Hello u/{username},
-
-Your roleplay post has been removed because it was determined to be low-effort content."""
+ message = f"Hello u/{username},\n\nYour roleplay post has been removed because it was determined to be low-effort content."
# Add reasoning if configured
if formatted_reasoning:
message += f"\n\nReasoning: {formatted_reasoning}"
- message += f"""
-
-Post link: https://reddit.com{submission.permalink}
-
-To improve your roleplay posts, consider:
-- Adding more detailed descriptions
-- Creating engaging scenarios
-- Including meaningful character interactions
-- Ensuring your content adds value to the community
-
-If 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
-
-If you believe this was done in error, please contact the moderators via Mod Mail.
-
-Thank you for understanding!"""
+ 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)