Skip to content

Commit ef3d1cf

Browse files
Merge pull request #16 from contactozrcore/patch-13
Modify Twitch client scopes for chat permissions
2 parents baa5371 + a7c0ca7 commit ef3d1cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tts/client.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {Twitch} from './twitch'
33
export const client = new Twitch({
44
client_id: 'zqkahqvy718q2gg8gmq2853umi0snj',
55
token: localStorage.getItem('tts_twitch_token'),
6-
scopes: ['user:read:chat', 'chat:edit']
6+
scopes: ['user:read:chat', 'user:write:chat', 'chat:edit']
77
})
88

99
client.addEventListener('session_welcome', function({data}) {
@@ -21,3 +21,4 @@ client.addEventListener('session_welcome', function({data}) {
2121
})
2222
})
2323

24+

0 commit comments

Comments
 (0)