Add files via upload

This commit is contained in:
Rodrigo Emanuel
2025-04-24 10:07:58 -03:00
committed by GitHub
parent 748304890d
commit 44eaa6175d
4 changed files with 57 additions and 3 deletions

View File

@@ -6,7 +6,10 @@ const streamerBotServerAddress = getURLParam("streamerBotServerAddress", "1
const streamerBotServerPort = getURLParam("streamerBotServerPort", "8080");
let streamerBotConnected = false;
const chatThreshhold = 50;
const chatContainer = document.querySelector('#chat');
const chatFontSize = getURLParam("chatFontSize", 1);
const currentLang = lang[getURLParam("language", 'ptbr')];
const eventsMockup = getURLParam("eventsMockup", true);
const chatHorizontal = getURLParam("chatHorizontal", false);
@@ -25,6 +28,8 @@ const userColors = new Map();
const ignoreUserList = ignoreChatters.split(',').map(item => item.trim().toLowerCase()) || [];
chatContainer.style.zoom = chatFontSize;
/* ----------------------- */
/* START */
/* ----------------------- */
@@ -103,7 +108,7 @@ async function addMessageToChat(userID, messageID, platform, data) {
}, 1000);
}, Math.floor(hideAfter * 1000));
}
removeExtraChatMessages();
}
@@ -291,4 +296,4 @@ const notifySuccess = (success) => {
function escapeRegex(string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}
}