fix: show displayname field even when member name is private
This commit is contained in:
parent
36e242986d
commit
ec6d4865cb
@ -344,8 +344,7 @@ public class MemberEdit
|
||||
(!showDisplayName || target.DisplayName == null) && memberGuildConfig?.DisplayName == null
|
||||
)));
|
||||
|
||||
if (showDisplayName)
|
||||
eb.Field(new Embed.Field("Display name", target.DisplayName != null
|
||||
eb.Field(new Embed.Field("Display name", (target.DisplayName != null && showDisplayName)
|
||||
? boldIf(target.DisplayName, memberGuildConfig?.DisplayName == null)
|
||||
: "*(none)*"
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user