Merge pull request #302 from sudenoh/master

Added property maxWebhooks to ConfigValue and defined a default value…
This commit is contained in:
Flam3rboy authored and GitHub committed 2021-09-01 15:45:33 +02:00
commit b5456f10cc
1 file changed
+2
+2
View File
@@ -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: {