fix enabletgbot cli

This commit is contained in:
Alireza Ahmadi
2023-04-20 10:45:21 +02:00
parent 42abffdaef
commit 76f90b0a46

View File

@@ -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()