Add two new twitch chat handlers in v5.1.0
This commit is contained in:
parent
d59b1c2d3b
commit
4d7d14e0b5
7 changed files with 400 additions and 3 deletions
|
@ -8,12 +8,13 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
version = "5.0.1"
|
||||
version = "5.1.0"
|
||||
twitchUser = "galchedbot"
|
||||
twitchIRCRoom = "galched"
|
||||
discordTokenPath = "./tokens/.discordtoken"
|
||||
twitchTokenPath = "./tokens/.twitchtoken"
|
||||
subdayDataPath = "./backups/subday"
|
||||
petDataPath = "./backups/pets"
|
||||
youtubeTokenPath = "./tokens/.youtubetoken"
|
||||
webLoginsPath = "./tokens/.weblogins"
|
||||
|
||||
|
@ -43,6 +44,7 @@ type (
|
|||
TwitchToken string
|
||||
YoutubeToken string
|
||||
SubdayDataPath string
|
||||
PetDataPath string
|
||||
PermittedRoles []string
|
||||
DiscordVoiceChannel string
|
||||
Songs []SongInfo
|
||||
|
@ -85,6 +87,7 @@ func New() (*Settings, error) {
|
|||
TwitchUser: twitchUser,
|
||||
TwitchIRCRoom: twitchIRCRoom,
|
||||
SubdayDataPath: subdayDataPath,
|
||||
PetDataPath: petDataPath,
|
||||
DiscordVoiceChannel: "301793085522706432",
|
||||
PermittedRoles: []string{subRole1, subRole2, galchedRole, smorcRole},
|
||||
Songs: []SongInfo{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue