diff --git a/js/app.js b/js/app.js index e345046..041687b 100644 --- a/js/app.js +++ b/js/app.js @@ -94,10 +94,8 @@ const streamerBotClient = new StreamerbotClient({ async function addMessageToChat(userID, messageID, platform, data) { - - let userNameForThis = data.userName || data.fullUserName; - if (ttsSpeakerBotChat == true) { ttsSpeakerBotSays(data.fullUserName, currentLang.ttschat, data.message); } + if (ttsSpeakerBotChat == true) { ttsSpeakerBotSays(data.userName, currentLang.ttschat, data.message); } let html = DOMPurify.sanitize(`