diff --git a/TwitchDownloaderCore/TwitchHelper.cs b/TwitchDownloaderCore/TwitchHelper.cs index a3816eef..fb3871d0 100644 --- a/TwitchDownloaderCore/TwitchHelper.cs +++ b/TwitchDownloaderCore/TwitchHelper.cs @@ -541,6 +541,11 @@ public static async Task> GetEmotes(List comments, st .Select(f => f.emoticon?.emoticon_id) .Where(id => !alreadyAdded.Contains(id) && !failedEmotes.Contains(id))) { + if (id == null) + { + continue; + } + try { byte[] bytes = await GetImage(emoteFolder, $"https://static-cdn.jtvnw.net/emoticons/v2/{id}/default/dark/2.0", id, 2, "png", logger, cancellationToken);