feat: api and proxy optional

This commit is contained in:
Vaala Cat
2023-06-27 12:45:55 +08:00
parent ac593ddbc8
commit d4f070f9ec
3 changed files with 16 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ type botSettings struct {
MCBotName string `env:"MC_BOT_NAME"`
GroupID int64 `env:"GROUP_ID"`
DBPath string `env:"DB_PATH"`
BotAPI string `env:"TG_BOT_API"`
}
var (