From fd36d02cd704ad834fec503ce04178d32df9f322 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Tue, 11 Mar 2025 16:03:53 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 22e1e4d..f5a2d87 100644 --- a/sweebot.py +++ b/sweebot.py @@ -678,7 +678,7 @@ while True: cntr = dock.containers.run('alpine:edge', "/bin/ash", detach=True, tty=True) print("Executing...") _, stream = cntr.exec_run(cmd=" ".join(command[1:])) - multiline(replace_color_codes(stream), channel) + multiline(replace_color_codes(stream.decode()), channel) except Exception as ex: irc.send_irc(channel, nick + ":[ERR] Traceback:") multiline(traceback.format_exc(), channel)