Add files via upload

This commit is contained in:
Rodrigo Emanuel
2025-04-24 09:13:29 -03:00
committed by GitHub
parent 7245c623c6
commit 49caff83d6
6 changed files with 42 additions and 5 deletions

View File

@@ -65,11 +65,13 @@ const streamerBotClient = new StreamerbotClient({
async function addMessageToChat(userID, messageID, platform, data) {
const html = DOMPurify.sanitize(`
<div id="${messageID}" data-user="${userID}" class="${platform} ${data.classes} message" style="">
<div class="animate__animated ${chatHorizontal == true ? 'animate__fadeInRight' : 'animate__fadeInUp'} animate__faster">
${data.classes.includes("first-message") ? '<span class="first-chatter">👋</span>' : '' }
${!data.shared ? '' : data.shared}
${showTimestamps == true ? '<span class="time">'+whatTimeIsIt()+'</span>' : ''}