summary refs log tree commit diff
path: root/src/util/entities/User.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/entities/User.ts')
-rw-r--r--src/util/entities/User.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index 138d94a1..577e13f7 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -253,9 +253,7 @@ export class User extends BaseClass {
 		});
 	}
 
-	private static async generateDiscriminator(
-		username: string,
-	): Promise<string | undefined> {
+	public static async generateDiscriminator(username: string): Promise<string | undefined> {
 		if (Config.get().register.incrementingDiscriminators) {
 			// discriminator will be incrementally generated