feat: add chat scopes to Twitch user token

This commit is contained in:
Ash Keel 2022-12-20 15:03:02 +01:00
parent 56f4619a08
commit 62220502de
No known key found for this signature in database
GPG Key ID: BAD8D93E7314ED3E
1 changed files with 1 additions and 1 deletions

View File

@ -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"},
})
}