[core] Add deprecated but still used V5 ChannelEditor scope
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7653f557ca
commit
1d8c3e7f77
2 changed files with 4 additions and 0 deletions
|
@ -15,5 +15,6 @@ var (
|
||||||
|
|
||||||
channelDefaultScopes = []string{
|
channelDefaultScopes = []string{
|
||||||
twitch.ScopeChannelReadRedemptions,
|
twitch.ScopeChannelReadRedemptions,
|
||||||
|
twitch.ScopeV5ChannelEditor,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,6 +9,9 @@ const (
|
||||||
ScopeChannelManagePolls = "channel:manage:polls"
|
ScopeChannelManagePolls = "channel:manage:polls"
|
||||||
ScopeChannelManagePredictions = "channel:manage:predictions"
|
ScopeChannelManagePredictions = "channel:manage:predictions"
|
||||||
|
|
||||||
|
// Deprecated v5 scope but used in chat
|
||||||
|
ScopeV5ChannelEditor = "channel_editor"
|
||||||
|
|
||||||
// Chat Scopes
|
// Chat Scopes
|
||||||
ScopeChannelModerate = "channel:moderate" // Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.
|
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.
|
ScopeChatEdit = "chat:edit" // Send live stream chat and rooms messages.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue