BlackyWhoElse / streamer.bot-actions

A collection of actions for streamer.bot coded by BlackyWerSonst
https://twitch.tv/Blackywersonst
84 stars 18 forks source link

Streamlabs donation Alerts not working #101

Closed chilledsheep closed 8 months ago

chilledsheep commented 8 months ago

i have set Streamlabs donations in script.js to true but alerts do not work.

the console shows this when i trigger a test donation at streamlabs dashboard

donation
script.js:272 There is no variant defined for donation.
script.js:205 TypeError: Cannot read properties of undefined (reading 'donation')
    at renderAlert (script.js:163:47)
    at script.js:202:17
    at new Promise (<anonymous>)
    at pushAlert (script.js:195:12)
    at ws.onmessage (streamer.bot.js:49:25)
(anonymous) @ script.js:205
Promise.catch (async)
pushAlert @ script.js:204
ws.onmessage @ streamer.bot.js:49
script.js:240 Alert finished
BlackyWhoElse commented 8 months ago

Seems like there is a variable missing. I will make some tests with it and let you know once it's working

BlackyWhoElse commented 8 months ago

I just realized that you meant the alert widget. I haven't worked on that for a long time. This widget will be completely rewritten by me as it is based on an older version of streamer.bot,

Todo list:

chilledsheep commented 8 months ago

How long will this take approximately? :)

BlackyWhoElse commented 8 months ago

How long will this take approximately? :)

I will try to make a quick fix for you and then start with the rewrite. I'm currently a bit short on time but I think i could be done by monday

chilledsheep commented 8 months ago

How long will this take approximately? :)

I will try to make a quick fix for you and then start with the rewrite. I'm currently a bit short on time but I think i could be done by monday

did you already had time for the quick fix?