diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-31 21:57:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 21:57:36 +0200 |
commit | 932348cb8813c98c30e44c2ea34459ed5a65490a (patch) | |
tree | cb581f1795758530a6826dbcfe46d30a18ce5e52 /src/util/entities/Member.ts | |
parent | Merge pull request #866 from FSG-Cat/Bug-Report-Template (diff) | |
parent | Merge branch 'staging' into feat/guild-profiles (diff) | |
download | server-932348cb8813c98c30e44c2ea34459ed5a65490a.tar.xz |
Merge pull request #872 from Puyodead1/feat/guild-profiles
implement guild profiles and fix user profiles
Diffstat (limited to 'src/util/entities/Member.ts')
-rw-r--r-- | src/util/entities/Member.ts | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts index 42a014d4..a2a7b8cb 100644 --- a/src/util/entities/Member.ts +++ b/src/util/entities/Member.ts @@ -94,7 +94,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" }) @@ -243,7 +255,11 @@ export class Member extends BaseClassWithoutId { premium_since: null, deaf: false, mute: false, - pending: false + pending: false, + avatar: null, + banner: null, + bio: "", + communication_disabled_until: null }; //TODO: check for bugs if (guild.member_count) guild.member_count++; |