diff options
| author | Fuwn <[email protected]> | 2025-08-28 12:07:51 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-08-28 12:07:51 -0700 |
| commit | fc5df62817c9b2971de4496d9ec583cc6f1e796b (patch) | |
| tree | 055e1b89be2dc8c35c61082a194c5f862574b9be /README.md | |
| parent | feat: Add user-specified roleplay post limit (diff) | |
| download | umabot-fc5df62817c9b2971de4496d9ec583cc6f1e796b.tar.xz umabot-fc5df62817c9b2971de4496d9ec583cc6f1e796b.zip | |
feat: Add user-specified post limit window
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -160,8 +160,10 @@ The bot can be deployed on any platform that supports Python: | `SPAM_MESSAGE` | Message for spam removals | Customizable | | `ROLEPLAY_MESSAGE` | Message for roleplay removals | Customizable | | `CHECK_INTERVAL` | Seconds between checks | `60` | -| `MAX_POSTS_PER_DAY` | Max posts per user per day | `3` | -| `MAX_ROLEPLAY_POSTS_PER_DAY` | Max roleplay posts per user per day | `1` | +| `MAX_POSTS_PER_DAY` | Max posts per user in time window | `3` | +| `MAX_ROLEPLAY_POSTS_PER_DAY` | Max roleplay posts per user in time window | `1` | +| `POST_LIMIT_WINDOW_HOURS` | Time window for post limits (hours) | `24` | +| `ROLEPLAY_LIMIT_WINDOW_HOURS` | Time window for roleplay limits (hours) | `24` | | `DRY_RUN` | Enable dry-run mode | `false` | ## Development |