summary refs log tree commit diff
path: root/util/src/entities/Config.ts
diff options
context:
space:
mode:
authorFeatyre <twooter.0g179@simplelogin.co>2022-01-24 07:21:48 +0000
committerFeatyre <twooter.0g179@simplelogin.co>2022-01-24 07:21:48 +0000
commite3f20f849d089493328314ad7d7518eaea3d862a (patch)
tree294774d318a7baf80f271e71a4346d26523f432d /util/src/entities/Config.ts
parentMerge branch 'fosscord:master' into master (diff)
downloadserver-e3f20f849d089493328314ad7d7518eaea3d862a.tar.xz
category + discovery + custom status fix, new config
Diffstat (limited to 'util/src/entities/Config.ts')
-rw-r--r--util/src/entities/Config.ts16
1 files changed, 12 insertions, 4 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index 4da65b36..f4a266dc 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -157,8 +157,12 @@ export interface ConfigValue {
 		available: Region[];
 	};
 	guild: {
-		showAllGuildsInDiscovery: boolean;
-		homeDiscoveryUseRecommendation: boolean; // TODO: Recommendation, privacy concern?
+		discovery: {
+			showAllGuilds: boolean;
+			useRecommendation: boolean; // TODO: Recommendation, privacy concern?
+			offset: number;
+			limit: number;
+		};
 		autoJoin: {
 			enabled: boolean;
 			guilds: string[];
@@ -354,8 +358,12 @@ export const DefaultConfigOptions: ConfigValue = {
 		],
 	},
 	guild: {
-		showAllGuildsInDiscovery: false,
-		homeDiscoveryUseRecommendation: false,
+		discovery: {
+			showAllGuilds: false,
+			useRecommendation: false,
+			offset: 0,
+			limit: 24,
+		},
 		autoJoin: {
 			enabled: true,
 			canLeave: true,