add comment info about how to use admin password
This commit is contained in:
parent
b8a54944d9
commit
94705658a1
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
BotToken string `env:"BOTTOKEN, required"`
|
BotToken string `env:"BOTTOKEN, required"`
|
||||||
AdminPass string `env:"ADMINPASSWORD, required"`
|
AdminPass string `env:"ADMINPASSWORD, required"` // to activate admin privileges in bot type command: /secret `AdminPass`
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetConfig() Config {
|
func GetConfig() Config {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user