summary refs log tree commit diff
path: root/src/util/entities/User.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-28 19:23:02 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-28 19:23:02 +1100
commit4c58a8bc249856a3e3b0af02ac086226a9308ddc (patch)
tree65ababbcb6915bf2e686d003383ce5ea573289df /src/util/entities/User.ts
parentlol (diff)
downloadserver-4c58a8bc249856a3e3b0af02ac086226a9308ddc.tar.xz
Fix user settings not saving properly and guild folders
Diffstat (limited to 'src/util/entities/User.ts')
-rw-r--r--src/util/entities/User.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index 7f37391a..700a6dae 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -453,10 +453,10 @@ export interface UserSettings {
 	gif_auto_play: boolean;
 	// every top guild is displayed as a "folder"
 	guild_folders: {
-		color: number;
+		color?: number;
 		guild_ids: string[];
-		id: number;
-		name: string;
+		id?: number;
+		name?: string;
 	}[];
 	guild_positions: string[]; // guild ids ordered by position
 	inline_attachment_media: boolean;