This commit is contained in:
deathbybandaid 2022-02-24 08:47:51 -05:00
parent 6be4065f2c
commit 40148e0b89

View File

@ -11,7 +11,8 @@ def prerun(rulematch=False):
@functools.wraps(function) @functools.wraps(function)
def internal_prerun(bot, trigger, *args, **kwargs): def internal_prerun(bot, trigger, *args, **kwargs):
print([x for x in dir(function) if not x.startswith("__")]) # trigger_type = [x for x in dir(function) if not x.startswith("__")][1]
print(function.command)
# Get list of trigger command(s) by && split # Get list of trigger command(s) by && split
commands = sb.commands.get_commands_split(trigger, "&&") commands = sb.commands.get_commands_split(trigger, "&&")