diff options
author | Nobody <git@n0bodysec.com> | 2022-03-08 10:52:54 -0300 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-03-08 18:08:32 +0300 |
commit | c9b581c84214f21fcb5ce49da565825b0e9b4d22 (patch) | |
tree | 7cb835d48608c7514010d55b7138f44cdb490a9a | |
parent | fix(api): working invisible status type (diff) | |
download | server-c9b581c84214f21fcb5ce49da565825b0e9b4d22.tar.xz |
fix(util): working invisible status type
-rw-r--r-- | util/src/entities/User.ts | 2 | ||||
-rw-r--r-- | util/src/interfaces/Status.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/User.ts b/util/src/entities/User.ts index 1d18c838..ed7bd4ce 100644 --- a/util/src/entities/User.ts +++ b/util/src/entities/User.ts @@ -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 diff --git a/util/src/interfaces/Status.ts b/util/src/interfaces/Status.ts index c4dab586..5d2e1bba 100644 --- a/util/src/interfaces/Status.ts +++ b/util/src/interfaces/Status.ts @@ -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 |