This commit is contained in:
deathbybandaid 2022-02-12 14:58:08 -05:00
parent c548888f4a
commit f743e04965

View File

@ -75,9 +75,11 @@ def prerun():
@functools.wraps(function)
def internal_prerun(bot, trigger, *args, **kwargs):
bot.say(trigger.raw)
# Get list of command(s)
commands = get_commands(bot, trigger)
# If more than 1 command, dispatch
if len(commands) > 1:
for trigger_dict in commands:
sb.commands.dispatch(bot, trigger, trigger_dict)