mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
• Fixed Twemoji rendering
• Fixed 'undefined' Kick channel point redeems
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user