tweaks: Update setting defaults.

`video_grace_period` now 90 seconds.
`task_limit` now 99.
`rent_member_limit` now 24.

Also updated `Integer` default `_min` and `_max` to match DB values.
This commit is contained in:
2022-01-14 19:45:24 +02:00
parent 50da6b18d2
commit 24791867cf
4 changed files with 5 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ class video_grace_period(settings.Duration, GuildSetting):
"before they will be kicked from the channel, and warned or studybanned (if enabled)."
)
_default = 45
_default = 90
_default_multiplier = 1
@classmethod

View File

@@ -42,7 +42,7 @@ class rent_member_limit(settings.Integer, GuildSetting):
display_name = "rent_member_limit"
desc = "Maximum number of people that can be added to a rented room."
_default = 10
_default = 24
long_desc = (
"Maximum number of people a member can add to a rented private voice channel."

View File

@@ -16,7 +16,7 @@ class task_limit(settings.Integer, GuildSetting):
display_name = "task_limit"
desc = "Maximum number of tasks each user may have."
_default = 30
_default = 99
long_desc = (
"Maximum number of tasks each user may have in the todo system."

View File

@@ -130,8 +130,8 @@ class Integer(SettingType):
accepts = "An integer."
# Set limits on the possible integers
_min = -4096
_max = 4096
_min = -2147483647
_max = 2147483647
@classmethod
def _data_from_value(cls, id: int, value: Optional[bool], **kwargs):