diff options
author | sudenoh <tony@amatos.xyz> | 2021-09-01 15:43:37 +0200 |
---|---|---|
committer | sudenoh <tony@amatos.xyz> | 2021-09-01 15:43:37 +0200 |
commit | 907abceff87914d6f9433d51cf522d39e84e2435 (patch) | |
tree | 6318849ad22130bdc90c5b969de5dd96786b24ef /util/src/entities/Config.ts | |
parent | Merge pull request #301 from fosscord/feat--DiscordApiErrors (diff) | |
download | server-907abceff87914d6f9433d51cf522d39e84e2435.tar.xz |
Added property maxWebhooks to ConfigValue and defined a default value in DefaultConfigOptions.
Diffstat (limited to '')
-rw-r--r-- | util/src/entities/Config.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts index 5eb55933..03ff823b 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts @@ -74,6 +74,7 @@ export interface ConfigValue { channel: { maxPins: number; maxTopic: number; + maxWebhooks: number; }; rate: { ip: Omit<RateLimitOptions, "bot_count">; @@ -183,6 +184,7 @@ export const DefaultConfigOptions: ConfigValue = { channel: { maxPins: 50, maxTopic: 1024, + maxWebhooks: 10, }, rate: { ip: { |