diff options
| author | Fuwn <[email protected]> | 2025-09-16 16:10:13 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-16 16:10:13 -0700 |
| commit | 9e3b280d075f33c58b5adaf29f913c7e326bf6c1 (patch) | |
| tree | e6da36ff4e56794369e84fb3b74f0ad41691aaa6 /src | |
| parent | feat(roleplay_limiter): Use updated removal message format (diff) | |
| download | umabot-9e3b280d075f33c58b5adaf29f913c7e326bf6c1.tar.xz umabot-9e3b280d075f33c58b5adaf29f913c7e326bf6c1.zip | |
feat(roleplay_limiter): Lower surge threshold limits
Diffstat (limited to 'src')
| -rw-r--r-- | src/umabot/rules/roleplay_limiter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/umabot/rules/roleplay_limiter.py b/src/umabot/rules/roleplay_limiter.py index be6de10..0226842 100644 --- a/src/umabot/rules/roleplay_limiter.py +++ b/src/umabot/rules/roleplay_limiter.py @@ -19,11 +19,11 @@ class RoleplayLimiter(Rule): self.roleplay_flair = "Roleplay" # Surge-based limits configuration - self.base_limit = 6 # Base limit when no surge (maximum posts per user) + self.base_limit = 3 # Base limit when no surge (maximum posts per user) self.surge_thresholds = [ - (config.roleplay_surge_threshold_1, 4), # First threshold = 4 posts per user - (config.roleplay_surge_threshold_2, 2), # Second threshold = 2 posts per user - (config.roleplay_surge_threshold_3, 1), # Third threshold = 1 post per user + (config.roleplay_surge_threshold_1, 2), # First threshold = 2 posts per user + (config.roleplay_surge_threshold_2, 1), # Second threshold = 1 post per user + (config.roleplay_surge_threshold_3, 0), # Third threshold = 0 posts per user (block all) ] def should_remove(self, submission: praw.models.Submission) -> bool: |