Skip to content

Commit

Permalink
Add missing entries to UserSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
ComradeDiana authored and MaddyUnderStars committed Jun 27, 2024
1 parent 6be688d commit 2d8238f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/util/entities/UserSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ export class UserSettings extends BaseClassWithoutId {
@Column({ nullable: true })
explicit_content_filter: number = 0;

@Column({ nullable: true })
friend_discovery_flags: number = 0;

@Column({ nullable: true, type: "simple-json" })
friend_source_flags: FriendSourceFlags = { all: true };

Expand Down Expand Up @@ -116,6 +119,10 @@ export class UserSettings extends BaseClassWithoutId {

@Column({ nullable: true })
timezone_offset: number = 0; // e.g -60

@Column({ nullable: true })
view_nsfw_guilds: boolean = true;

}

interface CustomStatus {
Expand Down

0 comments on commit 2d8238f

Please sign in to comment.