Add files via upload

This commit is contained in:
Rodrigo Emanuel
2025-04-26 20:32:23 -03:00
committed by GitHub
parent 36e14d7165
commit 94398178bc
5 changed files with 12 additions and 21 deletions

View File

@@ -3,8 +3,6 @@ const showStreamElementsTips = getURLParam("showStreamElementsTips", true
const streamElementsHandlers = {
'StreamElements.Tip': (response) => {
console.debug(response.data);
if (showStreamElementsTips == false)
return;
streamElementsEventMessage(response.data);
},
};
@@ -15,6 +13,9 @@ for (const [event, handler] of Object.entries(streamElementsHandlers)) {
async function streamElementsEventMessage(data) {
if (showStreamElementsTips == false) return;
const {
username: userName,
amount: moneyFromUser,