test
This commit is contained in:
parent
fb1101a969
commit
601d146cd5
@ -128,14 +128,14 @@ def dispatch():
|
||||
return actual_decorator
|
||||
|
||||
|
||||
def testfun():
|
||||
def command_args():
|
||||
|
||||
def actual_decorator(function):
|
||||
|
||||
@functools.wraps(function)
|
||||
def internal_testfun(bot, trigger, *args, **kwargs):
|
||||
|
||||
bot.say("testfun")
|
||||
bot.say("command_args")
|
||||
|
||||
function(bot, trigger, *args, **kwargs)
|
||||
|
||||
@ -148,7 +148,7 @@ def prerun():
|
||||
def actual_decorator(function):
|
||||
|
||||
@dispatch()
|
||||
@testfun()
|
||||
@command_args()
|
||||
@functools.wraps(function)
|
||||
def internal_prerun(bot, trigger, *args, **kwargs):
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user