File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Net/Abstractions/Transport Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ internal DiscordMember(TransportMember mbr)
9090 this . MemberFlags = mbr . MemberFlags ;
9191 this . InteractionPermissions = mbr . Permissions ;
9292 this . GuildAvatarDecorationData = mbr . GuildAvatarDecorationData ;
93+ this . GuildDisplayNameStyles = mbr . GuildDisplayNameStyles ;
9394 if ( mbr . User is not null )
9495 this . ManualUser = new ( mbr . User )
9596 {
@@ -130,7 +131,7 @@ public string? GuildBannerUrl
130131 public AvatarDecorationData GuildAvatarDecorationData { get ; internal set ; }
131132
132133 /// <summary>
133- /// Gets the members 's guild display name styles.
134+ /// Gets the member 's guild display name styles.
134135 /// </summary>
135136 [ JsonProperty ( "display_name_styles" , NullValueHandling = NullValueHandling . Ignore ) ]
136137 public DisplayNameStyles ? GuildDisplayNameStyles { get ; internal set ; }
Original file line number Diff line number Diff line change @@ -43,6 +43,12 @@ internal TransportMember()
4343 [ JsonProperty ( "avatar_decoration_data" , NullValueHandling = NullValueHandling . Ignore ) ]
4444 public AvatarDecorationData GuildAvatarDecorationData { get ; internal set ; }
4545
46+ /// <summary>
47+ /// Gets the guild display name styles.
48+ /// </summary>
49+ [ JsonProperty ( "display_name_styles" , NullValueHandling = NullValueHandling . Ignore ) ]
50+ public DisplayNameStyles ? GuildDisplayNameStyles { get ; internal set ; }
51+
4652 /// <summary>
4753 /// Gets the guild bio.
4854 /// This is not available to bots tho.
You can’t perform that action at this time.
0 commit comments