This commit is contained in:
deathbybandaid 2022-02-12 14:48:37 -05:00
parent 37f847b12b
commit 22bf9c33ed

View File

@ -79,11 +79,12 @@ def prerun():
commands = get_commands(bot, trigger) commands = get_commands(bot, trigger)
bot.say(str(commands)) 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
for trigger_dict in commands: function(bot, trigger, *args, **kwargs)
sb.commands.dispatch(bot, trigger, trigger_dict)
return internal_prerun return internal_prerun
return actual_decorator return actual_decorator