summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 16:34:18 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 16:34:18 +0200
commit7053d9a8b8db54b349f39e3c19a38cee8e4fdb18 (patch)
treee3f87eac85820e4867d96b59b8cec14d7d4a1d14 /util
parentMerge branch 'master' into pr/Thesourtimes/430 (diff)
downloadserver-7053d9a8b8db54b349f39e3c19a38cee8e4fdb18.tar.xz
:art: gifs
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Config.ts21
1 files changed, 10 insertions, 11 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index 6760187f..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;
@@ -154,6 +149,11 @@ export interface ConfigValue {
 			canLeave: boolean;
 		};
 	};
+	gif: {
+		enabled: boolean;
+		provider: "tenor"; // more coming soon
+		apiKey?: string;
+	};
 	rabbitmq: {
 		host: string | null;
 	};
@@ -176,11 +176,6 @@ export const DefaultConfigOptions: ConfigValue = {
 	general: {
 		instanceId: Snowflake.generate(),
 	},
-	permissions: {
-		user: {
-			createGuilds: true,
-		},
-	},
 	limits: {
 		user: {
 			maxGuilds: 100,
@@ -307,7 +302,6 @@ export const DefaultConfigOptions: ConfigValue = {
 			},
 		],
 	},
-
 	guild: {
 		showAllGuildsInDiscovery: false,
 		autoJoin: {
@@ -316,6 +310,11 @@ export const DefaultConfigOptions: ConfigValue = {
 			guilds: [],
 		},
 	},
+	gif: {
+		enabled: true,
+		provider: "tenor",
+		apiKey: "LIVDSRZULELA",
+	},
 	rabbitmq: {
 		host: null,
 	},