From c582fb6a9d539581129c9c4775995085955f5881 Mon Sep 17 00:00:00 2001 From: Swee Date: Sat, 12 Oct 2024 17:24:53 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sweebot.py b/sweebot.py index d34881d..71d0469 100644 --- a/sweebot.py +++ b/sweebot.py @@ -566,10 +566,7 @@ while True: except Exception as ex: irc.send_irc(channel, nick + ": " + ex.__class__.__name__) elif path.isdir("cc/" + command[0][1:]): - irc.send_irc(channel, nick + ": Command list under cc/debug:") - irc.send_irc(channel, ", ".join(listdir("cc/" + command[0][1:])) + ".") - - + irc.send_irc(channel, nick + ": Command list under cc/debug: " + ", ".join(listdir("cc/" + command[0][1:])) + ".") else: print(nick + ": Unrecognised command")