Merge branch 'master' into maddyrtc
This commit is contained in:
@@ -85,7 +85,7 @@ export class Member extends BaseClassWithoutId {
|
||||
@Column()
|
||||
joined_at: Date;
|
||||
|
||||
@Column({ nullable: true })
|
||||
@Column({ type: "bigint", nullable: true })
|
||||
premium_since?: number;
|
||||
|
||||
@Column()
|
||||
@@ -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,
|
||||
|
||||
@@ -360,7 +360,7 @@ export interface UserSettings {
|
||||
render_reactions: boolean;
|
||||
restricted_guilds: string[];
|
||||
show_current_game: boolean;
|
||||
status: "online" | "offline" | "dnd" | "idle";
|
||||
status: "online" | "offline" | "dnd" | "idle" | "invisible";
|
||||
stream_notifications_enabled: boolean;
|
||||
theme: "dark" | "white"; // dark
|
||||
timezone_offset: number; // e.g -60
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type Status = "idle" | "dnd" | "online" | "offline";
|
||||
export type Status = "idle" | "dnd" | "online" | "offline" | "invisible";
|
||||
|
||||
export interface ClientStatus {
|
||||
desktop?: string; // e.g. Windows/Linux/Mac
|
||||
|
||||
Reference in New Issue
Block a user