twitch-bot/scopes.go
Knut Ahlers 5f15a93f50
[core] Fix: ChannelEditor must be present on token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-01-09 17:40:48 +01:00

21 lines
417 B
Go

package main
import "github.com/Luzifer/twitch-bot/twitch"
var (
botDefaultScopes = []string{
twitch.ScopeChatRead,
twitch.ScopeChatEdit,
twitch.ScopeWhisperRead,
twitch.ScopeWhisperEdit,
twitch.ScopeChannelModerate,
twitch.ScopeChannelManageBroadcast,
twitch.ScopeChannelEditCommercial,
twitch.ScopeV5ChannelEditor,
}
channelDefaultScopes = []string{
twitch.ScopeChannelReadRedemptions,
}
)