summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--util/src/entities/Config.ts2
-rw-r--r--util/src/entities/Guild.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index 3756d686..b6d2014c 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -169,6 +169,7 @@ export interface ConfigValue {
 			guilds: string[];
 			canLeave: boolean;
 		};
+		defaultFeatures: string[];
 	};
 	gif: {
 		enabled: boolean;
@@ -370,6 +371,7 @@ export const DefaultConfigOptions: ConfigValue = {
 			canLeave: true,
 			guilds: [],
 		},
+		defaultFeatures: [],
 	},
 	gif: {
 		enabled: true,
diff --git a/util/src/entities/Guild.ts b/util/src/entities/Guild.ts
index 70bb41c5..2a03a570 100644
--- a/util/src/entities/Guild.ts
+++ b/util/src/entities/Guild.ts
@@ -293,7 +293,7 @@ export class Guild extends BaseClass {
 			afk_timeout: 300,
 			default_message_notifications: 1, // defaults effect: setting the push default at mentions-only will save a lot
 			explicit_content_filter: 0,
-			features: [],
+			features: Config.get().guild.defaultFeatures,
 			primary_category_id: null,
 			id: guild_id,
 			max_members: 250000,