From 68c4ee998991c4dd2425fe1881acf8c98cb38b8f Mon Sep 17 00:00:00 2001 From: Swee Date: Sun, 29 Sep 2024 11:36:59 -0700 Subject: [PATCH] Update sweebot.py --- sweebot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sweebot.py b/sweebot.py index 40d7a19..5078d93 100644 --- a/sweebot.py +++ b/sweebot.py @@ -350,9 +350,9 @@ while True: if perms == "full": if len(command) > 1: irc.send_irc(channel, nick + ": Sending to socket...") - irc.irc_socket.send(bytes(command[1:] + "\n", "UTF-8")) - irc2.irc_socket.send(bytes(command[1:] + "\n", "UTF-8")) - irc3.irc_socket.send(bytes(command[1:] + "\n", "UTF-8")) + irc.irc_socket.send(bytes(" ".join(command[1:]) + "\n", "UTF-8")) + irc2.irc_socket.send(bytes(" ".join(command[1:]) + "\n", "UTF-8")) + irc3.irc_socket.send(bytes(" ".join(command[1:]) + "\n", "UTF-8")) else: irc.send_irc(channel, nick + ": what to send to the server?") else: