Allow for running this bot without a valid stdin

Specifically, if rawcmd's input fails, it will just wait for the going down signal.
This commit is contained in:
Jordyn 2026-03-14 04:32:11 -05:00
commit 0febb315c3

View file

@ -356,3 +356,6 @@ if __name__ == "__main__":
print("[MAINTHREAD] Could take up to 60 seconds for socket timeout!") print("[MAINTHREAD] Could take up to 60 seconds for socket timeout!")
serv.die() serv.die()
raise SystemExit(0) raise SystemExit(0)
except EOFError:
while True:
serv._going_down.wait()