From 0febb315c369bd64f5a42a335d52cceb4ec31c3f Mon Sep 17 00:00:00 2001 From: Jordyn Date: Sat, 14 Mar 2026 04:32:11 -0500 Subject: [PATCH] Allow for running this bot without a valid stdin Specifically, if rawcmd's input fails, it will just wait for the going down signal. --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 7c26c11..595f590 100755 --- a/main.py +++ b/main.py @@ -356,3 +356,6 @@ if __name__ == "__main__": print("[MAINTHREAD] Could take up to 60 seconds for socket timeout!") serv.die() raise SystemExit(0) + except EOFError: + while True: + serv._going_down.wait()