diff --git a/omnibot/bot.py b/omnibot/bot.py index e27c0b5..123145b 100644 --- a/omnibot/bot.py +++ b/omnibot/bot.py @@ -193,6 +193,8 @@ class Bot: if who.nick == self.server_config.nick: # Don't raise on_message events for ourselves return + if len(message.paremeters) == 1: + return line = message.parameters[1] # TL;DR OF THE BELOW: if the first parameter looks like a channel in