aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2020-04-20 00:42:41 +0200
committerNao Pross <naopross@thearcway.org>2020-04-20 00:42:41 +0200
commit5b2f52956f231365cc2e269610c6349d90d2fa93 (patch)
tree93be240e099469ab60e557cf35f2da62694942b5
parentAdd custom server ip, and custom bridge command (diff)
downloadhchat-tg-bridge-5b2f52956f231365cc2e269610c6349d90d2fa93.tar.gz
hchat-tg-bridge-5b2f52956f231365cc2e269610c6349d90d2fa93.zip
Remove prompt for Dockerization
-rwxr-xr-xcontrol.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/control.py b/control.py
index f70a8e1..10a259d 100755
--- a/control.py
+++ b/control.py
@@ -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...")