test
This commit is contained in:
parent
1c379093f7
commit
9a6465314c
@ -19,9 +19,11 @@ def prerun(rulematch=False):
|
||||
# Since there was more than one command,
|
||||
# we are going to redispatch commands
|
||||
# This will give sopel the appearance of recieving individual commands
|
||||
bot.say(str(commands))
|
||||
if len(commands) > 1:
|
||||
for trigger_dict in commands:
|
||||
bot.say("multi - dispatching %s %s" % (trigger_dict["trigger_command"], trigger_dict["trigger_str"]))
|
||||
bot.say(str(trigger_dict))
|
||||
sb.commands.dispatch(trigger_dict)
|
||||
return
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user