diff options
Diffstat (limited to 'src/util/entities/User.ts')
-rw-r--r-- | src/util/entities/User.ts | 4 |
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 |