From b84aa73852ae1267c9e193cfa6ee365c69d16803 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Mon, 29 Aug 2022 11:11:40 -0400 Subject: implement guild profiles and fix user profiles --- src/util/entities/Member.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/util/entities') 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([ -- cgit 1.4.1