1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts
index caa52eb3..0ed728fc 100644
--- a/src/util/entities/Member.ts
+++ b/src/util/entities/Member.ts
@@ -168,6 +168,8 @@ export class Member extends BaseClassWithoutId {
this.nick = this.nick.split("\n").join("");
this.nick = this.nick.split("\t").join("");
}
+ if (this.nick === "") this.nick = undefined;
+ if (this.pronouns === "") this.pronouns = undefined;
}
static async IsInGuildOrFail(user_id: string, guild_id: string) {
|