mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 12:10:59 -04:00
Added native Twitch GIPHY support
This commit is contained in:
@@ -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">`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user