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 /env.example | |
| 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 'env.example')
| -rw-r--r-- | env.example | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/env.example b/env.example index efae35a..9ed779a 100644 --- a/env.example +++ b/env.example @@ -18,9 +18,13 @@ ROLEPLAY_MESSAGE=Your post has been removed. Only one roleplay post is allowed p # Bot Settings # How often to check for new posts (in seconds) CHECK_INTERVAL=60 -# Maximum number of posts a user can make in 24 hours +# Maximum number of posts a user can make in the time window MAX_POSTS_PER_DAY=3 -# Maximum number of roleplay posts a user can make in 24 hours +# Maximum number of roleplay posts a user can make in the time window MAX_ROLEPLAY_POSTS_PER_DAY=1 +# Time window for post limits (in hours) +POST_LIMIT_WINDOW_HOURS=24 +# Time window for roleplay post limits (in hours) +ROLEPLAY_LIMIT_WINDOW_HOURS=24 # Set to true to test without actually removing posts DRY_RUN=false |