mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 05:02:37 +01:00
Merge pull request #302 from sudenoh/master
Added property maxWebhooks to ConfigValue and defined a default value…
This commit is contained in:
commit
b5456f10cc
@ -74,6 +74,7 @@ export interface ConfigValue {
|
|||||||
channel: {
|
channel: {
|
||||||
maxPins: number;
|
maxPins: number;
|
||||||
maxTopic: number;
|
maxTopic: number;
|
||||||
|
maxWebhooks: number;
|
||||||
};
|
};
|
||||||
rate: {
|
rate: {
|
||||||
ip: Omit<RateLimitOptions, "bot_count">;
|
ip: Omit<RateLimitOptions, "bot_count">;
|
||||||
@ -183,6 +184,7 @@ export const DefaultConfigOptions: ConfigValue = {
|
|||||||
channel: {
|
channel: {
|
||||||
maxPins: 50,
|
maxPins: 50,
|
||||||
maxTopic: 1024,
|
maxTopic: 1024,
|
||||||
|
maxWebhooks: 10,
|
||||||
},
|
},
|
||||||
rate: {
|
rate: {
|
||||||
ip: {
|
ip: {
|
||||||
|
Loading…
Reference in New Issue
Block a user