summary refs log tree commit diff
path: root/src/util/entities/Config.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-28 15:25:58 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-28 15:25:58 +1100
commite991e00f325d003d68e8ac710c4ee8dfb4bdca4c (patch)
tree637e6b6fd0628afecdee50650c155789042a929d /src/util/entities/Config.ts
parentfix bad user validation (diff)
downloadserver-e991e00f325d003d68e8ac710c4ee8dfb4bdca4c.tar.xz
Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-services
Diffstat (limited to 'src/util/entities/Config.ts')
-rw-r--r--src/util/entities/Config.ts12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/util/entities/Config.ts b/src/util/entities/Config.ts
index 5035f552..9b25795d 100644
--- a/src/util/entities/Config.ts
+++ b/src/util/entities/Config.ts
@@ -211,7 +211,12 @@ export interface ConfigValue {
 	};
 	external: {
 		twitter: string | null;
-	}
+		discord: {
+			id: string | null;
+			secret: string | null;
+			redirect: string | null;
+		};
+	};
 }
 
 export const DefaultConfigOptions: ConfigValue = {
@@ -423,5 +428,10 @@ export const DefaultConfigOptions: ConfigValue = {
 	},
 	external: {
 		twitter: null,
+		discord: {
+			id: null,
+			secret: null,
+			redirect: null,
+		}
 	}
 };