test
This commit is contained in:
parent
7305a75fe7
commit
d5eb53e599
@ -156,7 +156,7 @@ class Commands():
|
|||||||
def is_catchall(self, function, command_type):
|
def is_catchall(self, function, command_type):
|
||||||
"""Determine if function could be called with a rule match"""
|
"""Determine if function could be called with a rule match"""
|
||||||
command_aliases = self.get_command_aliases
|
command_aliases = self.get_command_aliases
|
||||||
return '(.*)' in command_aliases
|
return ('(.*)' in command_aliases)
|
||||||
|
|
||||||
def get_command_aliases(self, function, command_type):
|
def get_command_aliases(self, function, command_type):
|
||||||
if command_type == "command":
|
if command_type == "command":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user