From 00951ca5831958680253df2a1ef9da7f542b3e73 Mon Sep 17 00:00:00 2001 From: Killa Fish <61081555+Fiszh@users.noreply.github.com> Date: Sat, 26 Oct 2024 00:53:40 +0200 Subject: [PATCH] needed scopes for tmi.js connection --- src/twitchLogin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twitchLogin.js b/src/twitchLogin.js index 431ca8a..1402535 100644 --- a/src/twitchLogin.js +++ b/src/twitchLogin.js @@ -4,7 +4,7 @@ const AUTH_URL = 'https://id.twitch.tv/oauth2/authorize'; let is_dev_mode = false -const SCOPES = 'user:write:chat user:read:follows user:read:emotes user:read:blocked_users user:manage:blocked_users'; +const SCOPES = 'user:write:chat user:read:follows user:read:emotes user:read:blocked_users user:manage:blocked_users chat:read chat:edit channel:moderate whispers:read whispers:edit'; function setCookie(name, value, days) { const date = new Date();