• Fixed Twemoji rendering

• Fixed 'undefined' Kick channel point redeems
This commit is contained in:
nutty
2026-02-28 03:08:51 +11:00
parent b3375f4d5e
commit 4f66ecf500
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -276,6 +276,8 @@ function ConstructMessageFromParts(parts) {
return ` <img src="${part.image}" alt="${part.text}" title="${part.text}" class="emote"> `;
if (!part.type)
return part.text;
if (part.source == 'Twemoji')
return part.text;
switch (part.type)
{
+1 -1
View File
@@ -2616,7 +2616,7 @@ async function KickRewardRedeemed(data) {
// Set the text
const username = data.username;
const rewardName = data.reward_title;
const userInput = data.userInput;
const userInput = data.user_input;
titleDiv.innerHTML = `${username} redeemed ${rewardName}`;
contentDiv.innerText = `${userInput}`;