diff --git a/sweebot.py b/sweebot.py index 05b5a19..64883ce 100644 --- a/sweebot.py +++ b/sweebot.py @@ -74,7 +74,7 @@ class bot_irc: self.irc_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) def send_irc(self, channel, msg): - self.irc_socket.send(bytes("PRIVMSG " + channel + " :" + msg + " \n", "UTF-8")) + self.irc_socket.send(bytes("PRIVMSG " + channel + " :" + msg + "\n", "UTF-8")) def connect_irc(self, server, port, channel, bot_nick, bot_pass, bot_nickpass): print("Server connection: " + server) @@ -384,7 +384,7 @@ while True: multiline(f"\x01ACTION eats some {choice(snacks)}\x01", channel) - #lif command[0] == "$sed": + #elif command[0] == "$sed": # if len(command) > 1: #try: # if True: