summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authoruurgothat <cckhmck@gmail.com>2021-10-17 23:20:46 +0300
committeruurgothat <cckhmck@gmail.com>2021-10-17 23:20:46 +0300
commit652edbd895cc84cecfcbcc8b00665a2d41d94f3e (patch)
tree48d77fc7ee22e3acb5cef943d82f95fc8007832a /util
parentMerge pull request #475 from Thesourtimes/master (diff)
downloadserver-652edbd895cc84cecfcbcc8b00665a2d41d94f3e.tar.xz
Add discord template support
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/Config.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index b3167ac7..48a8b34e 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -160,6 +160,9 @@ export interface ConfigValue {
 	kafka: {
 		brokers: KafkaBroker[] | null;
 	};
+	templates: {
+		allowDiscordTemplates: Boolean
+	}
 }
 
 export const DefaultConfigOptions: ConfigValue = {
@@ -321,4 +324,7 @@ export const DefaultConfigOptions: ConfigValue = {
 	kafka: {
 		brokers: null,
 	},
+	templates: {
+		allowDiscordTemplates: true
+	}
 };