diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-20 15:19:48 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-20 15:19:48 +0300 |
| commit | bbce1eb3f7e1369ab5137c76d67c31302a610922 (patch) | |
| tree | 61d60c515329ff0e9ea7d68be4a02b5c0b81939a /main.go | |
| parent | 204f73a6927687367594e468981c8c60940e2bba (diff) | |
fix enabletgbot cli
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'main.go')
| -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() |
