diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-04-05 00:53:32 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-04-05 00:53:32 +1000 |
commit | be137a3a4216670c7567d6a409ac5b34647342b8 (patch) | |
tree | 705cd663c85f779dcc91f2084dc895582211787d /util/src | |
parent | Merge branch 'master' into maddyrtc (diff) | |
download | server-be137a3a4216670c7567d6a409ac5b34647342b8.tar.xz |
Trying my hand at implementing desktop voice, magic packets courtesy of that one reverse engineering discord medium post
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Member.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts index 928a25d7..a246b891 100644 --- a/util/src/entities/Member.ts +++ b/util/src/entities/Member.ts @@ -85,8 +85,8 @@ export class Member extends BaseClassWithoutId { @Column() joined_at: Date; - @Column() - premium_since?: Date; + @Column({ type: "bigint", nullable: true }) + premium_since?: number; @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: new Date(), + premium_since: (new Date()).getTime(), deaf: false, mute: false, pending: false, |