Last active
December 5, 2021 14:20
-
-
Save Santiael/15d649311e217e6db710a212e7809885 to your computer and use it in GitHub Desktop.
Copy and paste this script into the console window of your favorite stream to automatically redeem Twitch bonus points.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function AutoRedeemTwitchBonus() { | |
try { | |
const reward = document.querySelector(".claimable-bonus__icon"); | |
if(reward) { | |
reward.click(); | |
console.log( | |
`Reward successfully redeemed at ${new Date().toTimeString().slice(0,8)}` | |
); | |
} | |
} catch (error) { | |
console.error(`Oops! something went wrong: ${error}`); | |
} | |
} | |
setInterval(AutoRedeemTwitchBonus, 10000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Obrigado Santiael! Com base de seu script eu criei uma extensão para o chrome! Agora ficou muito facil ganha os bonus! Eu ate ja publiquei no chrome mas tem que esperar ate 2 dias para liberar