Twitch Channel Point Claimer

Simple 5min timer to claim points

// ==UserScript==
// @name Twitch Channel Point Claimer
// @description Simple 5min timer to claim points
// @match https://www.twitch.tv/*
// @icon https://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Twitch_logo.svg/2560px-Twitch_logo.svg.png
// @version 1
// @license MIT
// @namespace https://greasyfork.org/users/803889
// ==/UserScript==

while(true) {
	setTimeout(ButtonClicker, 300000)
}


function ButtonClicker() {
  bonus = document.querySelector('.claimable-bonus__icon');
  bonus.click();
}