test
This commit is contained in:
parent
2591322f7c
commit
b53bcac337
@ -34,13 +34,13 @@ def prerun():
|
|||||||
|
|
||||||
# If the original trigger is not the same after splits
|
# If the original trigger is not the same after splits
|
||||||
# so we will now redispatch to help get the correct function passed
|
# so we will now redispatch to help get the correct function passed
|
||||||
if comrun.has_command_been_sanitized:
|
# if comrun.has_command_been_sanitized:
|
||||||
if comrun.is_pipe_command:
|
# if comrun.is_pipe_command:
|
||||||
trigger_dict = rebuild_pipes(comrun.commands)
|
# trigger_dict = rebuild_pipes(comrun.commands)
|
||||||
else:
|
# else:
|
||||||
trigger_dict = comrun.command
|
# trigger_dict = comrun.command
|
||||||
sb.commands.dispatch(trigger_dict)
|
# sb.commands.dispatch(trigger_dict)
|
||||||
return
|
# return
|
||||||
|
|
||||||
# Block the catch-all from running a command twice
|
# Block the catch-all from running a command twice
|
||||||
if comrun.is_catchall and comrun.is_real_command:
|
if comrun.is_catchall and comrun.is_real_command:
|
||||||
@ -58,8 +58,6 @@ def prerun():
|
|||||||
function(bot, trigger, comrun, *args, **kwargs)
|
function(bot, trigger, comrun, *args, **kwargs)
|
||||||
|
|
||||||
# If not piping the replies into pipe, let's print to IRC now
|
# If not piping the replies into pipe, let's print to IRC now
|
||||||
print(comrun.is_pipe_command)
|
|
||||||
print(comrun.commands)
|
|
||||||
if not comrun.is_pipe_command:
|
if not comrun.is_pipe_command:
|
||||||
for say_message in comrun._say:
|
for say_message in comrun._say:
|
||||||
bot.say(say_message)
|
bot.say(say_message)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user