Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

Check if valorant is dropped #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Check if valorant is dropped #56

wants to merge 4 commits into from

Conversation

guttir14
Copy link

@guttir14 guttir14 commented May 6, 2020

Fixes #55

@guttir14
Copy link
Author

guttir14 commented May 6, 2020

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

app.js Outdated
await checkDrop()
if (isDropped){
console.log('Valorant has been dropped')
process.exit(0)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use shutDown function.

@giddensca
Copy link

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

@PurpleMyst
Copy link
Collaborator

PurpleMyst commented May 17, 2020

My fork has this functionality since commit PurpleMyst@327f2de

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Check if valorant is dropped
4 participants