mirror of
https://git.sr.ht/~ashkeel/strimertul
synced 2024-09-30 02:40:33 +00:00
21 lines
624 B
Go
21 lines
624 B
Go
package twitch
|
|
|
|
const ConfigKey = "twitch/config"
|
|
|
|
// Config is the general configuration for the Twitch subsystem
|
|
type Config struct {
|
|
// Enable subsystem
|
|
Enabled bool `json:"enabled" desc:"Enable subsystem"`
|
|
|
|
// Enable the chatbot
|
|
EnableBot bool `json:"enable_bot" desc:"Enable the chatbot"`
|
|
|
|
// Twitch API App Client ID
|
|
APIClientID string `json:"api_client_id" desc:"Twitch API App Client ID"`
|
|
|
|
// Twitch API App Client Secret
|
|
APIClientSecret string `json:"api_client_secret" desc:"Twitch API App Client Secret"`
|
|
|
|
// Twitch channel to use
|
|
Channel string `json:"channel" desc:"Twitch channel to join and use"`
|
|
}
|