mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-10-25 09:51:02 +02:00
fix: Fix config parsing
Some checks are pending
Build and Push to Docker Hub on push to any branch / docker (push) Waiting to run
Some checks are pending
Build and Push to Docker Hub on push to any branch / docker (push) Waiting to run
This commit is contained in:
parent
1b93bab69f
commit
b55e60bcc7
1 changed files with 3 additions and 3 deletions
|
|
@ -3,8 +3,8 @@ package config
|
|||
type config struct {
|
||||
LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"`
|
||||
|
||||
ChatID int64 `env:"STEAMSALTY_CHATID, required`
|
||||
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required`
|
||||
ChatID int64 `env:"STEAMSALTY_CHATID, required"`
|
||||
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required"`
|
||||
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"`
|
||||
|
||||
Translate struct {
|
||||
|
|
@ -17,7 +17,7 @@ type config struct {
|
|||
}
|
||||
|
||||
Steam struct {
|
||||
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required`
|
||||
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required"`
|
||||
}
|
||||
|
||||
DeepL struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue