mirror of
https://github.com/watn3y/steamsalty.git
synced 2025-04-19 16:01:22 +02:00
- Include comment text in notification - Include commenter in notification - Use Timestamp to check if a comment is new - Set sleep interval between requests in env variable
10 lines
353 B
Go
10 lines
353 B
Go
package config
|
|
|
|
type config struct {
|
|
TelegramAPIToken string `env:"TELEGRAMAPITOKEN, required"`
|
|
SteamAPIKey string `env:"STEAMAPIKEY, required"`
|
|
DebugMode bool `env:"DEBUGMODE, default=false"`
|
|
ChatID int64 `env:"CHATID"`
|
|
Watchers []uint64 `env:"WATCHERS"`
|
|
SleepInterval int `env:"SLEEPINTERVAL"`
|
|
}
|