From 580f044511c73bce9f49c965209feadb09fa48be Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 23 Jul 2022 15:35:29 +0100 Subject: [PATCH] Display discriminator in author label --- X10D.DSharpPlus/src/DiscordEmbedBuilderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/X10D.DSharpPlus/src/DiscordEmbedBuilderExtensions.cs b/X10D.DSharpPlus/src/DiscordEmbedBuilderExtensions.cs index 5d93ef4..4a23a34 100644 --- a/X10D.DSharpPlus/src/DiscordEmbedBuilderExtensions.cs +++ b/X10D.DSharpPlus/src/DiscordEmbedBuilderExtensions.cs @@ -234,6 +234,6 @@ public static class DiscordEmbedBuilderExtensions } #endif - return builder.WithAuthor(user.Username, iconUrl: user.AvatarUrl); + return builder.WithAuthor(user.GetUsernameWithDiscriminator(), iconUrl: user.AvatarUrl); } }