From 71751b350fcb80234fbeba6df4c577c6bf81f654 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Tue, 14 Feb 2023 19:31:59 +0200 Subject: [PATCH] Fix icon for guild join notification and add icon for new threads --- .../Exporting/MessageGroupTemplate.cshtml | 2 ++ .../Exporting/PreambleTemplate.cshtml | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/DiscordChatExporter.Core/Exporting/MessageGroupTemplate.cshtml b/DiscordChatExporter.Core/Exporting/MessageGroupTemplate.cshtml index ba4e0e8..29d8156 100644 --- a/DiscordChatExporter.Core/Exporting/MessageGroupTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/MessageGroupTemplate.cshtml @@ -80,6 +80,8 @@ MessageKind.ChannelNameChange => "pencil-icon", MessageKind.ChannelIconChange => "pencil-icon", MessageKind.ChannelPinnedMessage => "pin-icon", + MessageKind.GuildMemberJoin => "join-icon", + MessageKind.ThreadCreated => "thread-icon", _ => "pencil-icon" }; } diff --git a/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml b/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml index 5a0b1af..53ddeac 100644 --- a/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml @@ -840,7 +840,10 @@ - + + + + @@ -848,8 +851,9 @@ - - + + +