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 showStreamlabsDonations = getURLParam("showStreamlabsDonations", tru
const streamLabsHandlers = {
'Streamlabs.Donation': (response) => {
console.debug(response.data);
if (showStreamlabsDonations == false)
return;
streamLabsEventMessage(response.data);
},
};
@@ -13,6 +11,9 @@ for (const [event, handler] of Object.entries(streamLabsHandlers)) {
}
async function streamLabsEventMessage(data) {
if (showStreamlabsDonations == false) return;
const {
from: userName,
formattedAmount: moneyFromUser,