mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
Added property maxWebhooks to ConfigValue and defined a default value in DefaultConfigOptions.
This commit is contained in:
parent
44ea23f648
commit
907abceff8
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user