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 | 8a9385159ca48d11483e8f9ae299504e7b7921cb (patch) | |
tree | 84732874c2b0777cb4bb4546797327f77905dae9 /util | |
parent | Merge pull request #301 from fosscord/feat--DiscordApiErrors (diff) | |
download | server-8a9385159ca48d11483e8f9ae299504e7b7921cb.tar.xz |
Added property maxWebhooks to ConfigValue and defined a default value in DefaultConfigOptions.
Diffstat (limited to 'util')
-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: { |