From 2ddc6cf0e9255b8f7a8a117a3b037848e569d1da Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 14:47:05 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_1/SBCore/commands/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 3444c6e..cc98449 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -155,10 +155,11 @@ class Commands(): def is_catchall(self, function, command_type): """Determine if function could be called with a rule match""" + rulematch = False command_aliases = self.get_command_aliases if '(.*)' in command_aliases: - return True - return False + rulematch = True + return rulematch def get_command_aliases(self, function, command_type): if command_type == "command":