From 658bcf1faf11e5f70a49c49e78bc6934b0137f68 Mon Sep 17 00:00:00 2001 From: xBelladonna Date: Sun, 22 Sep 2019 02:04:20 +0930 Subject: [PATCH] Display guild user nickname on message card if set --- PluralKit.Bot/Services/EmbedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/EmbedService.cs b/PluralKit.Bot/Services/EmbedService.cs index ee578614..ee8720db 100644 --- a/PluralKit.Bot/Services/EmbedService.cs +++ b/PluralKit.Bot/Services/EmbedService.cs @@ -176,7 +176,7 @@ namespace PluralKit.Bot { .OrderByDescending(role => role.Position) .ToList(); - userStr = guildUser?.NameAndMention(); + userStr = guildUser.Nickname != null ? $"**Username:** {guildUser?.NameAndMention()}\n**Nickname:** {guildUser.Nickname}" : guildUser?.NameAndMention(); } }