diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 26f88e1..3444c6e 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -156,7 +156,9 @@ class Commands(): def is_catchall(self, function, command_type): """Determine if function could be called with a rule match""" command_aliases = self.get_command_aliases - return ('(.*)' in command_aliases) + if '(.*)' in command_aliases: + return True + return False def get_command_aliases(self, function, command_type): if command_type == "command":