test
This commit is contained in:
parent
7758627452
commit
ec02aeda0d
@ -20,7 +20,8 @@ def prerun():
|
|||||||
|
|
||||||
function(bot, trigger, comrun, *args, **kwargs)
|
function(bot, trigger, comrun, *args, **kwargs)
|
||||||
|
|
||||||
bot.say(comrun.say)
|
if not comrun.piped:
|
||||||
|
bot.say(comrun.say)
|
||||||
|
|
||||||
return internal_prerun
|
return internal_prerun
|
||||||
return actual_decorator
|
return actual_decorator
|
||||||
|
|||||||
@ -20,6 +20,9 @@ def pipe_split():
|
|||||||
comrun.trigger_dict = pipes[0]
|
comrun.trigger_dict = pipes[0]
|
||||||
del pipes[0]
|
del pipes[0]
|
||||||
|
|
||||||
|
if len(pipes):
|
||||||
|
comrun.piped = True
|
||||||
|
|
||||||
function(bot, trigger, comrun, *args, **kwargs)
|
function(bot, trigger, comrun, *args, **kwargs)
|
||||||
|
|
||||||
if len(pipes):
|
if len(pipes):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user