Autoclick bonificación chat Twitch

autoclick cuando detecta el boton de bonificación puntos del canal.

// ==UserScript==
// @name         Autoclick bonificación chat Twitch
// @namespace    http://tampermonkey.net/
// @version      0.1.2
// @description  autoclick cuando detecta el boton de bonificación puntos del canal.
// @author       Yo, De_lujo
// @match       *://*.twitch.tv/p/*
// @match        https://www.twitch.tv/popout/*/chat?popout=
// @icon         https://www.google.com/s2/favicons?sz=64&domain=twitch.tv
// @exclude      *://*.twitch.tv/p/*
// @exclude      *://*.twitch.tv/popout/*/poll*
// @exclude      *://*.twitch.tv/popout/*/reward-queue*
// @exclude      *://*.twitch.tv/popout/*/predictions*
// @exclude      *://*.twitch.tv/popout/moderator/*
// @exclude      *://*.twitch.tv/moderator/*
// @exclude      *://*.twitch.tv/broadcast/*
// @exclude      *://*.twitch.tv/subs/*
// @exclude      *://*.twitch.tv/jobs/*
// @exclude      *://*.twitch.tv/teams/*
// @exclude      *://*.twitch.tv/store/*
// @exclude      *://player.twitch.tv/*
// @exclude      *://dashboard.twitch.tv/*
// @match        https://www.twitch.tv/*
// @namespace    De_lujo
// @license      Ns
// @run-at       document-end
// @require     https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js
// @grant       GM_getValue
// @grant       GM_setValue
// @grant        none
// ==/UserScript==

  window.addEventListener('load', function aca() {
      $('#root > div > div.Layout-sc-1xcs6mc-0.kBprba > div > main > div.root-scrollable.scrollable-area.scrollable-area--suppress-scroll-x > div.simplebar-scroll-content > div > div > div.InjectLayout-sc-1i43xsx-0.persistent-player > div > div.Layout-sc-1xcs6mc-0.video-player > div > div.Layout-sc-1xcs6mc-0.video-ref > div > div > div.Layout-sc-1xcs6mc-0.jFEGYn > div > div.extensions-video-overlay-size-container').remove();
      $('#stream-lowerthird,#leftImage').remove();
console.log('a ver');
if ($('.community-points-summary').children().eq(1).children().children().children().children().length){
    console.log('click');
    $('.community-points-summary').children().eq(1).children().children().children().children().click();
 setTimeout(aca, 180000);
}
      else {
 console.log('esperar');

 setTimeout(aca, 60000);
      }
});