mirror of https://git.sr.ht/~ashkeel/strimertul
feat: add chat scopes to Twitch user token
This commit is contained in:
parent
56f4619a08
commit
62220502de
|
@ -19,7 +19,7 @@ type AuthResponse struct {
|
|||
func (c *Client) GetAuthorizationURL() string {
|
||||
return c.API.GetAuthorizationURL(&helix.AuthorizationURLParams{
|
||||
ResponseType: "code",
|
||||
Scopes: []string{"bits:read channel:read:subscriptions channel:read:redemptions channel:read:polls channel:read:predictions channel:read:hype_train user_read"},
|
||||
Scopes: []string{"bits:read channel:read:subscriptions channel:read:redemptions channel:read:polls channel:read:predictions channel:read:hype_train user_read chat:read chat:edit channel:moderate whispers:read whispers:edit"},
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue