Skip to content

Commit

Permalink
chore: update config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-designer committed Dec 6, 2023
1 parent 3f781b9 commit b720a03
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions config/schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,31 @@
"ignore_bots": {
"type": "boolean",
"default": true
},
"ratelimiting": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"timeframe": {
"type": "integer",
"minimum": 0,
"default": 7000
},
"max_attempts": {
"type": "integer",
"minimum": 0,
"default": 5
},
"block_duration": {
"type": "integer",
"minimum": 0,
"default": 10000
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down
2 changes: 1 addition & 1 deletion config/schema/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"format": "date-time"
}
],
"default": "2023-11-29T14:30:56.684Z"
"default": "2023-12-06T12:13:21.952Z"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit b720a03

Please sign in to comment.