[core] Add user:manage:whispers extended scope

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-09-13 22:41:46 +02:00
parent 4a15a7bf35
commit 1ac20921a1
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5
2 changed files with 2 additions and 0 deletions

View file

@ -24,6 +24,7 @@ const (
ScopeModeratorReadFollowers = "moderator:read:followers" ScopeModeratorReadFollowers = "moderator:read:followers"
ScopeModeratorReadShoutouts = "moderator:read:shoutouts" ScopeModeratorReadShoutouts = "moderator:read:shoutouts"
ScopeUserManageChatColor = "user:manage:chat_color" ScopeUserManageChatColor = "user:manage:chat_color"
ScopeUserManageWhispers = "user:manage:whispers"
// Deprecated v5 scope but used in chat // Deprecated v5 scope but used in chat
ScopeV5ChannelEditor = "channel_editor" ScopeV5ChannelEditor = "channel_editor"

View file

@ -15,6 +15,7 @@ var (
twitch.ScopeClipsEdit: "create clips on behalf of this user", twitch.ScopeClipsEdit: "create clips on behalf of this user",
twitch.ScopeModeratorReadFollowers: "see who follows this channel", twitch.ScopeModeratorReadFollowers: "see who follows this channel",
twitch.ScopeModeratorReadShoutouts: "see shoutouts created / received", twitch.ScopeModeratorReadShoutouts: "see shoutouts created / received",
twitch.ScopeUserManageWhispers: "send whispers on behalf of this user",
} }
botDefaultScopes = []string{ botDefaultScopes = []string{