Browse Source

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

Very simple change, removes the null coalescing operator on the EmbedBuilder's Color property in ToEmbedBuilder.
tags/2.2.0
gab Christopher F 5 years ago
parent
commit
120c0f72cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/Extensions/EmbedBuilderExtensions.cs

+ 1
- 1
src/Discord.Net.Core/Extensions/EmbedBuilderExtensions.cs View File

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


Loading…
Cancel
Save