1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 19:28:48 +00:00

Display discriminator in author label

This commit is contained in:
Oliver Booth 2022-07-23 15:35:29 +01:00
parent 86849b9c0e
commit 580f044511
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -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);
}
}