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