From bbce1eb3f7e1369ab5137c76d67c31302a610922 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Thu, 20 Apr 2023 15:49:48 +0330 Subject: [PATCH] fix enabletgbot cli Co-Authored-By: Alireza Ahmadi --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index f56d3d24..e41546ec 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()