diff options
| -rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -290,6 +290,9 @@ func main() { if (tgbottoken != "") || (tgbotchatid != "") || (tgbotRuntime != "") { updateTgbotSetting(tgbottoken, tgbotchatid, tgbotRuntime) } + if enabletgbot { + updateTgbotEnableSts(enabletgbot) + } default: fmt.Println("except 'run' or 'v2-ui' or 'setting' subcommands") fmt.Println() |
