From b71af710c7995369791706a28031d53a32ffd26a Mon Sep 17 00:00:00 2001 From: Jacob P <81419612+CanePlayz@users.noreply.github.com> Date: Fri, 10 Feb 2023 14:31:08 +0100 Subject: [PATCH] Fix links of group icons (#1001) Closes https://github.com/Tyrrrz/DiscordChatExporter/issues/987 --- DiscordChatExporter.Core/Discord/Data/Channel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DiscordChatExporter.Core/Discord/Data/Channel.cs b/DiscordChatExporter.Core/Discord/Data/Channel.cs index 36bc562..e829935 100644 --- a/DiscordChatExporter.Core/Discord/Data/Channel.cs +++ b/DiscordChatExporter.Core/Discord/Data/Channel.cs @@ -43,7 +43,7 @@ public partial record Channel ? "gif" : "png"; - return $"https://cdn.discordapp.com/icons/{id}/{iconHash}.{extension}"; + return $"https://cdn.discordapp.com/channel-icons/{id}/{iconHash}.{extension}"; } public static Channel Parse(JsonElement json, ChannelCategory? category = null, int? positionHint = null) @@ -92,4 +92,4 @@ public partial record Channel lastMessageId ); } -} \ No newline at end of file +}