We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3af88d commit 19657d4Copy full SHA for 19657d4
TwitchDownloaderCore/Tools/HighlightIcons.cs
@@ -160,6 +160,13 @@ public static HighlightType GetHighlightType(Comment comment)
160
if (comment.commenter._id is ANONYMOUS_GIFT_ACCOUNT_ID or TWITCH_ACCOUNT_ID && GiftAnonymousRegex.IsMatch(comment.message.body))
161
return HighlightType.GiftedAnonymous;
162
163
+ if (comment.commenter._id is TWITCH_ACCOUNT_ID && comment.message.body.EndsWith("'s gift! ") &&
164
+ Regex.IsMatch(comment.message.body, @"^We added \d+ Gift Subs (?:AND \d+ Bonus Gift Subs )?to "))
165
+ {
166
+ // TODO: Make a dedicated enum value for Subtember?
167
+ return HighlightType.GiftedMany;
168
+ }
169
+
170
return HighlightType.None;
171
}
172
0 commit comments