Skip to content

Browser script to periodically redeem twitch channel point rewards

Notifications You must be signed in to change notification settings

furSUDO/Timed-Timed-Channel-Point-Redeemer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Timed Timed Channel Point Redeemer

var rewardName = "Name of Reward"; // Duh?
var delay = 500; // In ms
var loopFor = 1000; // How many times to redeem reward

// Function to redeem rewards
(function pointLoop(i) {
	setTimeout(function() {
    	document.querySelector(`[aria-label="Points Balance"]`).click();
    	document.querySelector(`img[alt=${CSS.escape(rewardName)}]`).click();
    	document.querySelector(`p[data-test-selector="RewardText"]`).click();         
    if (--i) pointLoop(i);   
	}, delay)
})(loopFor);

About

Browser script to periodically redeem twitch channel point rewards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published