test
This commit is contained in:
parent
6be4065f2c
commit
40148e0b89
@ -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, "&&")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user