This commit is contained in:
deathbybandaid 2022-02-24 08:49:50 -05:00
parent 40148e0b89
commit ca27df7748

View File

@ -12,7 +12,16 @@ def prerun(rulematch=False):
def internal_prerun(bot, trigger, *args, **kwargs):
# trigger_type = [x for x in dir(function) if not x.startswith("__")][1]
print(function.command)
try:
print(function.commands)
except AttributeError:
try:
print(function.nickname_commands)
except AttributeError:
try:
print(function.action_commands)
except AttributeError:
print("nothing here")
# Get list of trigger command(s) by && split
commands = sb.commands.get_commands_split(trigger, "&&")