mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-23 06:24:48 +00:00
Fix links of group icons (#1001)
Closes https://github.com/Tyrrrz/DiscordChatExporter/issues/987
This commit is contained in:
@@ -43,7 +43,7 @@ public partial record Channel
|
|||||||
? "gif"
|
? "gif"
|
||||||
: "png";
|
: "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)
|
public static Channel Parse(JsonElement json, ChannelCategory? category = null, int? positionHint = null)
|
||||||
@@ -92,4 +92,4 @@ public partial record Channel
|
|||||||
lastMessageId
|
lastMessageId
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user