diff options
author | Puyodead1 <puyodead@protonmail.com> | 2022-08-29 11:11:40 -0400 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-19 20:37:59 +1100 |
commit | b84aa73852ae1267c9e193cfa6ee365c69d16803 (patch) | |
tree | 645ee5855738495476bfc9c003782ffb7c96d081 /src/util/entities | |
parent | Configurable MFA backup token length (diff) | |
download | server-b84aa73852ae1267c9e193cfa6ee365c69d16803.tar.xz |
implement guild profiles and fix user profiles
Diffstat (limited to 'src/util/entities')
-rw-r--r-- | src/util/entities/Member.ts | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts index ae2a6803..1c8bfbef 100644 --- a/src/util/entities/Member.ts +++ b/src/util/entities/Member.ts @@ -114,7 +114,19 @@ export class Member extends BaseClassWithoutId { // do not auto-kick force-joined members just because their joiners left the server }) **/ @Column({ nullable: true }) - joined_by?: string; + joined_by: string; + + @Column({ nullable: true }) + avatar: string; + + @Column({ nullable: true }) + banner: string; + + @Column() + bio: string; + + @Column({ nullable: true }) + communication_disabled_until: Date; // TODO: add this when we have proper read receipts // @Column({ type: "simple-json" }) @@ -313,6 +325,7 @@ export class Member extends BaseClassWithoutId { deaf: false, mute: false, pending: false, + bio: "", }; await Promise.all([ |