diff --git a/DiscordChatExporter.Core.Models/Guild.cs b/DiscordChatExporter.Core.Models/Guild.cs index 54f9f44..67af3d3 100644 --- a/DiscordChatExporter.Core.Models/Guild.cs +++ b/DiscordChatExporter.Core.Models/Guild.cs @@ -43,6 +43,7 @@ namespace DiscordChatExporter.Core.Models .Select(r => guild.Roles.FirstOrDefault(role => r == role.Id)) .Where(r => r != null) .Where(r => r.Color != Color.Black) + .Where(r => r.Color.R + r.Color.G + r.Color.B > 0) .Aggregate(null, (a, b) => (a?.Position ?? 0) > b.Position ? a : b) ?.ColorAsHex ?? "";