test
This commit is contained in:
parent
c548888f4a
commit
f743e04965
@ -75,9 +75,11 @@ def prerun():
|
|||||||
|
|
||||||
@functools.wraps(function)
|
@functools.wraps(function)
|
||||||
def internal_prerun(bot, trigger, *args, **kwargs):
|
def internal_prerun(bot, trigger, *args, **kwargs):
|
||||||
|
bot.say(trigger.raw)
|
||||||
|
|
||||||
|
# Get list of command(s)
|
||||||
commands = get_commands(bot, trigger)
|
commands = get_commands(bot, trigger)
|
||||||
|
# If more than 1 command, dispatch
|
||||||
if len(commands) > 1:
|
if len(commands) > 1:
|
||||||
for trigger_dict in commands:
|
for trigger_dict in commands:
|
||||||
sb.commands.dispatch(bot, trigger, trigger_dict)
|
sb.commands.dispatch(bot, trigger, trigger_dict)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user