diff --git a/sweebot.py b/sweebot.py index 2f2379c..cedc70f 100644 --- a/sweebot.py +++ b/sweebot.py @@ -680,7 +680,7 @@ while True: if cntr == None: cntr = dock.containers.run('alpine:edge', "/bin/ash", detach=True, tty=True) print("Executing...") - _, stream = cntr.exec_run(cmd=["timeout", "10", "ash", "-c", " ".join(command[1:])], tty=True) + _, stream = cntr.exec_run(cmd=["timeout", "10", "ash", "-c", " ".join(command[1:])], tty=False) multiline(replace_color_codes(stream.decode()), channel) except Exception as ex: irc.send_irc(channel, nick + ":[ERR] Traceback:")