From 52ceb5eb6424d3c233b4f03202bee64df7e13d51 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 14:01:38 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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