Open guttir14 opened 4 years ago
I also tried to parse twitch.tv/inventory, but had no success. It would be more right, because in this merge valorant notification can be hidden by other notifications
I have some coding experience but not with JavaScript specifically. Would it be possible to have the bot open the twitch inventory page and then scan the HTML for the image icon used when one has received the key? Every sees the same notification icon image once they've gotten the drop for valorant
My fork has this functionality since commit https://github.com/PurpleMyst/Valorant-watcher/commit/327f2deb886b732d4f6c830ec61d82e3e97cb513
It also has "check if stream is live" and "check if we got an error" + timing jittering and introduction of typescript checks
However the code is (visually) way different cause I ran a formatter on it and changed the variable names to my liking. I've also removed proxy functionality and any way to get token/exec path outside of config.json
to simplify things
You might want to upstream some of those changes @D3vl0per
Fixes #55