Fix for Premium Since to show the 'Guild Boost' and store it correctly in the database

This commit is contained in:
Iratu
2022-02-16 21:23:50 +00:00
committed by Erkin Alp Güney
parent c9fdfe196d
commit 63fe1ef3b2
2 changed files with 13 additions and 5 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ export class Member extends BaseClassWithoutId {
joined_at: Date;
@Column({ nullable: true })
premium_since?: number;
premium_since?: Date;
@Column()
deaf: boolean;
@@ -245,7 +245,7 @@ export class Member extends BaseClassWithoutId {
nick: undefined,
roles: [guild_id], // @everyone role
joined_at: new Date(),
premium_since: undefined,
premium_since: new Date(),
deaf: false,
mute: false,
pending: false,