fix: Remove null coalescing on ToEmbedBuilder Color (#1333)

Very simple change, removes the null coalescing operator on the EmbedBuilder's Color property in ToEmbedBuilder.
This commit is contained in:
gab
2019-06-30 01:10:10 +02:00
committed by Christopher F
parent 4edda5b729
commit 120c0f72cb

View File

@@ -44,7 +44,7 @@ namespace Discord
IconUrl = embed.Author?.IconUrl, IconUrl = embed.Author?.IconUrl,
Url = embed.Author?.Url Url = embed.Author?.Url
}, },
Color = embed.Color ?? Color.Default, Color = embed.Color,
Description = embed.Description, Description = embed.Description,
Footer = new EmbedFooterBuilder Footer = new EmbedFooterBuilder
{ {