|
|
@ -1,5 +1,4 @@
|
|
|
|
using System.Drawing;
|
|
|
|
using System.IO;
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
using System.Text.Json;
|
|
|
|
using System.Text.Json;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using DiscordChatExporter.Domain.Discord.Models;
|
|
|
|
using DiscordChatExporter.Domain.Discord.Models;
|
|
|
@ -116,7 +115,7 @@ namespace DiscordChatExporter.Domain.Exporting.Writers
|
|
|
|
_writer.WriteString("description", FormatMarkdown(embed.Description));
|
|
|
|
_writer.WriteString("description", FormatMarkdown(embed.Description));
|
|
|
|
|
|
|
|
|
|
|
|
if (embed.Color != null)
|
|
|
|
if (embed.Color != null)
|
|
|
|
_writer.WriteString("color", ColorTranslator.ToHtml(embed.Color.Value));
|
|
|
|
_writer.WriteString("color", embed.Color.Value.ToHex());
|
|
|
|
|
|
|
|
|
|
|
|
if (embed.Author != null)
|
|
|
|
if (embed.Author != null)
|
|
|
|
await WriteEmbedAuthorAsync(embed.Author);
|
|
|
|
await WriteEmbedAuthorAsync(embed.Author);
|
|
|
|