Fix links of group icons (#1001)

Closes https://github.com/Tyrrrz/DiscordChatExporter/issues/987
This commit is contained in:
Jacob P 2023-02-10 14:31:08 +01:00 committed by GitHub
parent 63124b4431
commit b71af710c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
);
}
}
}