Skip to content

Commit

Permalink
Changed the timeout length limits for the Action Command Moderation m…
Browse files Browse the repository at this point in the history
…odule from [30s,1hr] to [1s,2w] (#1354)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
  • Loading branch information
badoge and pajlada committed Jul 11, 2021
1 parent 16b5486 commit 4ca1009
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Remember to bring your dependencies up to date with `./scripts/venvinstall.sh` when updating to this version!

- Minor: Changed the timeout length limits for the Action Command Moderation module from [30s,1hr] to [1s,2w]. (#1354)
- Minor: Changed the base timeout length limits for the Mass Ping Protection module from [30s,1hr] to [1s,2w]. (#1356)
- Minor: Changed the extra timeout length limits for the Mass Ping Protection module from [0s,10m] to [0s,2w]. (#1356)
- Minor: Increased the point limit for the Subscription Alert sub-module from 50000 to 1000000. (#1357)
Expand Down
2 changes: 1 addition & 1 deletion pajbot/modules/actionchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ActionCheckerModule(BaseModule):
required=True,
placeholder="Timeout length in seconds",
default=30,
constraints={"min_value": 30, "max_value": 3600},
constraints={"min_value": 1, "max_value": 1209600},
),
ModuleSetting(
key="bypass_level",
Expand Down

0 comments on commit 4ca1009

Please sign in to comment.