mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-10-28 01:21:07 +01:00
fix: Fix config parsing
This commit is contained in:
parent
1b93bab69f
commit
41504dcdf7
1 changed files with 3 additions and 3 deletions
|
|
@ -3,8 +3,8 @@ package config
|
||||||
type config struct {
|
type config struct {
|
||||||
LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"`
|
LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"`
|
||||||
|
|
||||||
ChatID int64 `env:"STEAMSALTY_CHATID, required`
|
ChatID int64 `env:"STEAMSALTY_CHATID, required"`
|
||||||
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required`
|
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required"`
|
||||||
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"`
|
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"`
|
||||||
|
|
||||||
Translate struct {
|
Translate struct {
|
||||||
|
|
@ -17,7 +17,7 @@ type config struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
Steam struct {
|
Steam struct {
|
||||||
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required`
|
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required"`
|
||||||
}
|
}
|
||||||
|
|
||||||
DeepL struct {
|
DeepL struct {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue