diff --git a/DiscordChatExporter.Core/Discord/Data/Message.cs b/DiscordChatExporter.Core/Discord/Data/Message.cs index 0efd0fc3..cdda0aba 100644 --- a/DiscordChatExporter.Core/Discord/Data/Message.cs +++ b/DiscordChatExporter.Core/Discord/Data/Message.cs @@ -107,6 +107,7 @@ public record Message( MessageKind.ChannelNameChange => "Changed the channel name.", MessageKind.ChannelIconChange => "Changed the channel icon.", MessageKind.ChannelPinnedMessage => "Pinned a message.", + MessageKind.ThreadCreated => "Started a thread.", MessageKind.GuildMemberJoin => "Joined the server.", _ => json.GetPropertyOrNull("content")?.GetStringOrNull() ?? "" }; diff --git a/DiscordChatExporter.Core/Discord/Data/MessageKind.cs b/DiscordChatExporter.Core/Discord/Data/MessageKind.cs index c24dedb4..472cc8db 100644 --- a/DiscordChatExporter.Core/Discord/Data/MessageKind.cs +++ b/DiscordChatExporter.Core/Discord/Data/MessageKind.cs @@ -11,6 +11,7 @@ public enum MessageKind ChannelIconChange = 5, ChannelPinnedMessage = 6, GuildMemberJoin = 7, + ThreadCreated = 18, Reply = 19 }