steamsalty/config/types.go
Noah Theus 1e94b1fc1e
Some checks failed
Build and Push to Docker Hub on push to any branch / docker (push) Has been cancelled
feat: Automatic comment translation using DeepL
2025-10-13 06:08:26 +02:00

16 lines
755 B
Go

package config
type config struct {
LogLevel int `env:"STEAMSALTY_LOGLEVEL" default:"1"`
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL" default:"60"`
ChatID int64 `env:"STEAMSALTY_CHATID" required:"true"`
Watchers []uint64 `env:"STEAMSALTY_WATCHERS" required:"true"`
TranslateEnabled bool `env:"STEAMSALTY_TRANSLATE_ENABLED" default:"false"`
TranslateLanguage string `env:"STEAMSALTY_TRANSLATE_LANGUAGE" default:"EN-US"`
TelegramAPIToken string `env:"STEAMSALTY_TELEGRAMAPITOKEN" required:"true"`
SteamAPIKey string `env:"STEAMSALTY_STEAMAPIKEY" required:"true"`
DeepLAPIKey string `env:"STEAMSALTY_DEEPLAPIKEY"`
DeepLFreeTier bool `env:"STEAMSALTY_DEEPLAPIFREETIER" default:"true"`
}