Added native Twitch GIPHY support

This commit is contained in:
nutty
2026-09-08 06:48:29 +10:00
parent db9614176e
commit 6e7df385b1
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -353,6 +353,8 @@ function ConstructMessageFromParts(parts) {
return emoteImg + bitLabel;
case "mention":
return part.text;
case "gif":
return `<img src="${EscapeHTML(part.url)}" class="gif">`;
default:
return `<img src="${EscapeHTML(part.imageUrl)}" alt="${EscapeHTML(part.text)}" title="${EscapeHTML(part.text)}" class="emote">`;
}