From 1ac20921a1cd39a704410f1cb642d21251afcb63 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 13 Sep 2023 22:41:46 +0200 Subject: [PATCH] [core] Add `user:manage:whispers` extended scope Signed-off-by: Knut Ahlers --- pkg/twitch/scopes.go | 1 + scopes.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/twitch/scopes.go b/pkg/twitch/scopes.go index c58276b..1b7378a 100644 --- a/pkg/twitch/scopes.go +++ b/pkg/twitch/scopes.go @@ -24,6 +24,7 @@ const ( ScopeModeratorReadFollowers = "moderator:read:followers" ScopeModeratorReadShoutouts = "moderator:read:shoutouts" ScopeUserManageChatColor = "user:manage:chat_color" + ScopeUserManageWhispers = "user:manage:whispers" // Deprecated v5 scope but used in chat ScopeV5ChannelEditor = "channel_editor" diff --git a/scopes.go b/scopes.go index 5de2cb9..bff877c 100644 --- a/scopes.go +++ b/scopes.go @@ -15,6 +15,7 @@ var ( twitch.ScopeClipsEdit: "create clips on behalf of this user", twitch.ScopeModeratorReadFollowers: "see who follows this channel", twitch.ScopeModeratorReadShoutouts: "see shoutouts created / received", + twitch.ScopeUserManageWhispers: "send whispers on behalf of this user", } botDefaultScopes = []string{