From d18c0b74c6c165ad47fd612e5265513645900535 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 14:32:40 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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":