test
This commit is contained in:
parent
37f847b12b
commit
22bf9c33ed
@ -79,11 +79,12 @@ def prerun():
|
||||
commands = get_commands(bot, trigger)
|
||||
bot.say(str(commands))
|
||||
|
||||
# function(bot, trigger, *args, **kwargs)
|
||||
|
||||
if len(commands) > 1:
|
||||
for trigger_dict in commands:
|
||||
|
||||
sb.commands.dispatch(bot, trigger, trigger_dict)
|
||||
return
|
||||
|
||||
function(bot, trigger, *args, **kwargs)
|
||||
|
||||
return internal_prerun
|
||||
return actual_decorator
|
||||
|
||||
Loading…
Reference in New Issue
Block a user