diff options
author | Nao Pross <naopross@thearcway.org> | 2020-04-20 00:42:41 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2020-04-20 00:42:41 +0200 |
commit | 5b2f52956f231365cc2e269610c6349d90d2fa93 (patch) | |
tree | 93be240e099469ab60e557cf35f2da62694942b5 | |
parent | Add custom server ip, and custom bridge command (diff) | |
download | hchat-tg-bridge-5b2f52956f231365cc2e269610c6349d90d2fa93.tar.gz hchat-tg-bridge-5b2f52956f231365cc2e269610c6349d90d2fa93.zip |
Remove prompt for Dockerization
-rwxr-xr-x | control.py | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -211,12 +211,18 @@ if __name__ == "__main__": try: startTGBot() startHCBot() - while not should_quit: - cmd = input("> ") - if not cmd in COMMANDS_CLI: - print("Unknown command!") - else: - COMMANDS_CLI[cmd]() + + print("started bots") + print("bridging ...") + while True: + pass + + # while not should_quit: + # cmd = input("> ") + # if not cmd in COMMANDS_CLI: + # print("Unknown command!") + # else: + # COMMANDS_CLI[cmd]() except (KeyboardInterrupt, EOFError) as e: print("Interrupt received. Shutting down...") |