test
This commit is contained in:
parent
601d146cd5
commit
8ac47082a9
@ -133,13 +133,13 @@ def command_args():
|
|||||||
def actual_decorator(function):
|
def actual_decorator(function):
|
||||||
|
|
||||||
@functools.wraps(function)
|
@functools.wraps(function)
|
||||||
def internal_testfun(bot, trigger, *args, **kwargs):
|
def internal_command_args(bot, trigger, *args, **kwargs):
|
||||||
|
|
||||||
bot.say("command_args")
|
bot.say("command_args")
|
||||||
|
|
||||||
function(bot, trigger, *args, **kwargs)
|
function(bot, trigger, *args, **kwargs)
|
||||||
|
|
||||||
return internal_testfun
|
return internal_command_args
|
||||||
return actual_decorator
|
return actual_decorator
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user