implement guild profiles and fix user profiles

This commit is contained in:
Puyodead1
2022-12-19 20:37:59 +11:00
committed by Madeline
parent 5e289fea77
commit b84aa73852
11 changed files with 10742 additions and 9409 deletions
+14 -1
View File
@@ -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([