summary refs log tree commit diff
path: root/util/src/entities/Config.ts
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2021-10-15 00:47:19 +0200
committerGitHub <noreply@github.com>2021-10-15 00:47:19 +0200
commit8ed111049fe5890ac83d4aa3029f029704146431 (patch)
treecd6f4a4d1419167655937526d8384cbc57210665 /util/src/entities/Config.ts
parentMerge pull request #438 from Mr2u/dev (diff)
parent:art: exclude healthz/readyz from auth (diff)
downloadserver-8ed111049fe5890ac83d4aa3029f029704146431.tar.xz
Merge pull request #454 from hbjydev/status-probes
[API] Status Probes
Diffstat (limited to '')
-rw-r--r--util/src/entities/Config.ts23
1 files changed, 12 insertions, 11 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts

index 813649ac..b3167ac7 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts
@@ -51,11 +51,6 @@ export interface ConfigValue { general: { instanceId: string; }; - permissions: { - user: { - createGuilds: boolean; - }; - }; limits: { user: { maxGuilds: number; @@ -64,6 +59,7 @@ export interface ConfigValue { }; guild: { maxRoles: number; + maxEmojis: number; maxMembers: number; maxChannels: number; maxChannelsInCategory: number; @@ -153,6 +149,11 @@ export interface ConfigValue { canLeave: boolean; }; }; + gif: { + enabled: boolean; + provider: "tenor"; // more coming soon + apiKey?: string; + }; rabbitmq: { host: string | null; }; @@ -175,11 +176,6 @@ export const DefaultConfigOptions: ConfigValue = { general: { instanceId: Snowflake.generate(), }, - permissions: { - user: { - createGuilds: true, - }, - }, limits: { user: { maxGuilds: 100, @@ -188,6 +184,7 @@ export const DefaultConfigOptions: ConfigValue = { }, guild: { maxRoles: 250, + maxEmojis: 50, // TODO: max emojis per guild per nitro level maxMembers: 250000, maxChannels: 500, maxChannelsInCategory: 50, @@ -305,7 +302,6 @@ export const DefaultConfigOptions: ConfigValue = { }, ], }, - guild: { showAllGuildsInDiscovery: false, autoJoin: { @@ -314,6 +310,11 @@ export const DefaultConfigOptions: ConfigValue = { guilds: [], }, }, + gif: { + enabled: true, + provider: "tenor", + apiKey: "LIVDSRZULELA", + }, rabbitmq: { host: null, },