diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 64de480..4fb4b7c 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -40,6 +40,8 @@ def prerun(): return if comrun.is_rulematch and comrun.is_real_command: + return + elif comrun.is_rulematch and not comrun.is_real_command: bot.say("Invalid command: %s" % comrun.command["trigger_command"]) return