add SheetID to config structure
This commit is contained in:
parent
84b59379d7
commit
319a4b0f66
@ -11,6 +11,7 @@ type Config struct {
|
||||
BotToken string `env:"BOTTOKEN, required"`
|
||||
AdminPass string `env:"ADMINPASSWORD, required"` // to activate admin privileges in bot type command: /secret `AdminPass`
|
||||
AdminID *int64 `env:"ADMINID"` // optional admin ID for notifications
|
||||
SheetID string `env:"SHEETID, required"` // id of google sheet where users will be synced
|
||||
}
|
||||
|
||||
func GetConfig() Config {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user