1 files changed, 12 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index b3167ac7..cac5d4da 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -160,6 +160,12 @@ export interface ConfigValue {
kafka: {
brokers: KafkaBroker[] | null;
};
+ templates: {
+ enabled: Boolean;
+ allowTemplateCreation: Boolean;
+ allowDiscordTemplates: Boolean;
+ allowRaws: Boolean;
+ }
}
export const DefaultConfigOptions: ConfigValue = {
@@ -321,4 +327,10 @@ export const DefaultConfigOptions: ConfigValue = {
kafka: {
brokers: null,
},
+ templates: {
+ enabled: true,
+ allowTemplateCreation: true,
+ allowDiscordTemplates: true,
+ allowRaws: false
+ }
};
|