mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-20 02:00:49 +00:00
18 lines
386 B
Go
18 lines
386 B
Go
|
package twitch
|
||
|
|
||
|
const ConfigKey = "twitch/config"
|
||
|
|
||
|
type Config struct {
|
||
|
EnableBot bool `json:"enable_bot"`
|
||
|
APIClientID string `json:"api_client_id"`
|
||
|
APIClientSecret string `json:"api_client_secret"`
|
||
|
}
|
||
|
|
||
|
const BotConfigKey = "twitch/bot-config"
|
||
|
|
||
|
type BotConfig struct {
|
||
|
Username string `json:"username"`
|
||
|
Token string `json:"oauth"`
|
||
|
Channel string `json:"channel"`
|
||
|
}
|