From bc8218ff9a16b6db98a485f38ab26e802c81ea03 Mon Sep 17 00:00:00 2001 From: swee <meow@swee.codes> Date: Tue, 11 Mar 2025 15:44:51 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sweebot.py b/sweebot.py index e506ab7..d327323 100644 --- a/sweebot.py +++ b/sweebot.py @@ -673,8 +673,10 @@ while True: elif command[0] == "$doshell": if len(command) > 1: try: + print("Running container") if cntr == None: cntr = dock.containers.run('alpine', "/bin/ash", detach=True, tty=True) + print("Executing...") _, stream = cntr.exec_run(cmd=" ".join(command[1:])) multiline(stream, channel) except Exception as ex: