summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorNobody <git@n0bodysec.com>2022-03-08 10:52:54 -0300
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-03-08 18:08:32 +0300
commit4dc7ab3fde1d66861548cf5a5cc55ad169083612 (patch)
tree3e2c0fef46ec6fdce24a9b97a8583756530d4939 /util
parentfix(api): working invisible status type (diff)
downloadserver-4dc7ab3fde1d66861548cf5a5cc55ad169083612.tar.xz
fix(util): working invisible status type
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/User.ts2
-rw-r--r--util/src/interfaces/Status.ts2
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