From 76f90b0a463a2cc9c556844bec836b2d8815aafc Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 20 Apr 2023 10:45:21 +0200 Subject: [PATCH] fix enabletgbot cli --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 2ea3fb33..d6719783 100644 --- a/main.go +++ b/main.go @@ -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()