diff --git a/edmond/bot.py b/edmond/bot.py index 7306920..52d3653 100644 --- a/edmond/bot.py +++ b/edmond/bot.py @@ -149,6 +149,7 @@ class Bot(irc.client.SimpleIRCClient, Logger): def say(self, target, message): """Send message to target after a slight delay.""" + message = message.replace("\n", " ").replace("\r", " ") time.sleep(self.config["speak_delay"]) self.log_d(f"Sending to {target}: {message}") try: