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);
-
Notifications
You must be signed in to change notification settings - Fork 0
furSUDO/Timed-Timed-Channel-Point-Redeemer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Browser script to periodically redeem twitch channel point rewards
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published