2021-12-31 12:42:37 +00:00
|
|
|
package main
|
|
|
|
|
2022-10-23 13:06:45 +00:00
|
|
|
import "github.com/Luzifer/twitch-bot/v2/pkg/twitch"
|
2021-12-31 12:42:37 +00:00
|
|
|
|
|
|
|
var (
|
2022-04-23 15:24:49 +00:00
|
|
|
channelDefaultScopes = []string{
|
|
|
|
twitch.ScopeChannelEditCommercial,
|
|
|
|
twitch.ScopeChannelManageBroadcast,
|
|
|
|
twitch.ScopeChannelReadRedemptions,
|
2022-10-25 16:47:30 +00:00
|
|
|
twitch.ScopeChannelManageRaids,
|
2022-04-23 15:24:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
botDefaultScopes = append(channelDefaultScopes,
|
2021-12-31 12:42:37 +00:00
|
|
|
twitch.ScopeChatEdit,
|
2022-10-25 16:47:30 +00:00
|
|
|
twitch.ScopeChatRead,
|
|
|
|
twitch.ScopeModeratorManageAnnoucements,
|
|
|
|
twitch.ScopeModeratorManageBannedUsers,
|
|
|
|
twitch.ScopeModeratorManageChatMessages,
|
|
|
|
twitch.ScopeModeratorManageChatSettings,
|
2021-12-31 12:42:37 +00:00
|
|
|
twitch.ScopeWhisperRead,
|
2022-04-23 15:24:49 +00:00
|
|
|
)
|
2021-12-31 12:42:37 +00:00
|
|
|
)
|