Skip to content

Instantly share code, notes, and snippets.

@Santiael
Last active December 5, 2021 14:20
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Santiael/15d649311e217e6db710a212e7809885 to your computer and use it in GitHub Desktop.
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.
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);
@alexandreramosdev
Copy link

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

https://github.com/alexandreramosdev/auto-reddem-twitch-bonus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment