[core] Add deprecated but still used V5 ChannelEditor scope

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-01-09 17:35:32 +01:00
parent 7653f557ca
commit 1d8c3e7f77
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 4 additions and 0 deletions

View file

@ -15,5 +15,6 @@ var (
channelDefaultScopes = []string{
twitch.ScopeChannelReadRedemptions,
twitch.ScopeV5ChannelEditor,
}
)

View file

@ -9,6 +9,9 @@ const (
ScopeChannelManagePolls = "channel:manage:polls"
ScopeChannelManagePredictions = "channel:manage:predictions"
// Deprecated v5 scope but used in chat
ScopeV5ChannelEditor = "channel_editor"
// Chat Scopes
ScopeChannelModerate = "channel:moderate" // Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.
ScopeChatEdit = "chat:edit" // Send live stream chat and rooms messages.