Fixed bug where YouTube Super Chats would appear as 'undefined'

This commit is contained in:
nuttylmao
2025-06-12 02:09:47 +10:00
parent 5814a268d6
commit 920eef28dc
+1
View File
@@ -1074,6 +1074,7 @@ function YouTubeSuperChat(data) {
// Set message text
titleDiv.innerText = `🪙 ${data.user.name} sent a Super Chat (${data.amount})`;
if (data.message)
contentDiv.innerText = `${data.message}!`;
AddMessageItem(instance, data.eventId);