mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-14 02:52:42 +00:00
32 lines
1.1 KiB
Go
32 lines
1.1 KiB
Go
package main
|
|
|
|
import "github.com/Luzifer/twitch-bot/v3/pkg/twitch"
|
|
|
|
var (
|
|
channelExtendedScopes = map[string]string{
|
|
twitch.ScopeChannelEditCommercial: "run commercial",
|
|
twitch.ScopeChannelManageBroadcast: "modify category / title",
|
|
twitch.ScopeChannelManagePolls: "manage polls",
|
|
twitch.ScopeChannelManagePredictions: "manage predictions",
|
|
twitch.ScopeChannelManageRaids: "start raids",
|
|
twitch.ScopeChannelManageVIPS: "manage VIPs",
|
|
twitch.ScopeChannelReadRedemptions: "see channel-point redemptions",
|
|
twitch.ScopeModeratorReadFollowers: "see who follows this channel",
|
|
twitch.ScopeModeratorReadShoutouts: "see shoutouts created / received",
|
|
}
|
|
|
|
botDefaultScopes = []string{
|
|
// API Scopes
|
|
twitch.ScopeModeratorManageAnnoucements,
|
|
twitch.ScopeModeratorManageBannedUsers,
|
|
twitch.ScopeModeratorManageChatMessages,
|
|
twitch.ScopeModeratorManageChatSettings,
|
|
twitch.ScopeModeratorManageShieldMode,
|
|
twitch.ScopeModeratorManageShoutouts,
|
|
|
|
// Chat Scopes
|
|
twitch.ScopeChatEdit,
|
|
twitch.ScopeChatRead,
|
|
twitch.ScopeWhisperRead,
|
|
}
|
|
)
|