summary refs log tree commit diff
path: root/util/src/entities/Config.ts
diff options
context:
space:
mode:
authorDaniel Huber <30466471+daniel0611@users.noreply.github.com>2022-01-03 11:02:42 +0100
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-01-04 09:46:22 +0300
commitec80fc555219664eee82c4598ac2d1e9456caa97 (patch)
treec2178693284d3885043fa8846f23411e2fc18c0d /util/src/entities/Config.ts
parentFix schemas handler (diff)
downloadserver-ec80fc555219664eee82c4598ac2d1e9456caa97.tar.xz
Incrementing user discriminators
Closes #328
Diffstat (limited to 'util/src/entities/Config.ts')
-rw-r--r--util/src/entities/Config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts
index 9e25c737..6993cc09 100644
--- a/util/src/entities/Config.ts
+++ b/util/src/entities/Config.ts
@@ -149,6 +149,7 @@ export interface ConfigValue {
 			minUpperCase: number;
 			minSymbols: number;
 		};
+		incrementingDiscriminators: boolean; // random otherwise
 	};
 	regions: {
 		default: string;
@@ -335,6 +336,7 @@ export const DefaultConfigOptions: ConfigValue = {
 			minUpperCase: 2,
 			minSymbols: 0,
 		},
+		incrementingDiscriminators: false,
 	},
 	regions: {
 		default: "fosscord",