Skip to content

Commit

Permalink
needed scopes for tmi.js connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiszh committed Oct 25, 2024
1 parent 26ef445 commit 00951ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/twitchLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 00951ca

Please sign in to comment.