mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 10:52:31 +01:00
Revert "Make member.premium_since ISO8601 timestamp" (#710)
This reverts commit 093ae55580
.
This commit is contained in:
parent
1a3812a483
commit
fac61d7f6a
@ -85,8 +85,8 @@ export class Member extends BaseClassWithoutId {
|
|||||||
@Column()
|
@Column()
|
||||||
joined_at: Date;
|
joined_at: Date;
|
||||||
|
|
||||||
@Column()
|
@Column({ type: "bigint", nullable: true })
|
||||||
premium_since?: Date;
|
premium_since?: number;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
deaf: boolean;
|
deaf: boolean;
|
||||||
@ -245,7 +245,7 @@ export class Member extends BaseClassWithoutId {
|
|||||||
nick: undefined,
|
nick: undefined,
|
||||||
roles: [guild_id], // @everyone role
|
roles: [guild_id], // @everyone role
|
||||||
joined_at: new Date(),
|
joined_at: new Date(),
|
||||||
premium_since: new Date(),
|
premium_since: (new Date()).getTime(),
|
||||||
deaf: false,
|
deaf: false,
|
||||||
mute: false,
|
mute: false,
|
||||||
pending: false,
|
pending: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user