diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-22 21:01:29 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-22 21:01:29 +1100 |
commit | ec1c340369c65f6fc103efe17abdb46146f589c3 (patch) | |
tree | e8bb0a65f06f1d21d77b4bbaa36d600aacd64e66 /src/util/config/types | |
parent | Allow BitField's to be passed as number strings. Pretty sure it fixes #722 (diff) | |
download | server-ec1c340369c65f6fc103efe17abdb46146f589c3.tar.xz |
Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_hideOfflineMember
Diffstat (limited to 'src/util/config/types')
-rw-r--r-- | src/util/config/types/subconfigurations/limits/GuildLimits.ts | 1 | ||||
-rw-r--r-- | src/util/config/types/subconfigurations/limits/RateLimits.ts | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/util/config/types/subconfigurations/limits/GuildLimits.ts b/src/util/config/types/subconfigurations/limits/GuildLimits.ts index 91ad39ae..c5bc7884 100644 --- a/src/util/config/types/subconfigurations/limits/GuildLimits.ts +++ b/src/util/config/types/subconfigurations/limits/GuildLimits.ts @@ -4,5 +4,4 @@ export class GuildLimits { maxMembers: number = 25000000; maxChannels: number = 65535; maxChannelsInCategory: number = 65535; - hideOfflineMember: number = 3; } \ No newline at end of file diff --git a/src/util/config/types/subconfigurations/limits/RateLimits.ts b/src/util/config/types/subconfigurations/limits/RateLimits.ts index f337af49..3e05a18b 100644 --- a/src/util/config/types/subconfigurations/limits/RateLimits.ts +++ b/src/util/config/types/subconfigurations/limits/RateLimits.ts @@ -1,7 +1,7 @@ import { RouteRateLimit, RateLimitOptions } from "."; export class RateLimits { - disabled: boolean = true; + enabled: boolean = false; ip: Omit<RateLimitOptions, "bot_count"> = { count: 500, window: 5 |