Compare commits
No commits in common. "601d146cd5a5b2cd208f05435f9e958914840f79" and "a015850451e40f3b7d901c5667cdc39b5cd93901" have entirely different histories.
601d146cd5
...
a015850451
@ -128,14 +128,14 @@ def dispatch():
|
|||||||
return actual_decorator
|
return actual_decorator
|
||||||
|
|
||||||
|
|
||||||
def command_args():
|
def testfun():
|
||||||
|
|
||||||
def actual_decorator(function):
|
def actual_decorator(function):
|
||||||
|
|
||||||
@functools.wraps(function)
|
@functools.wraps(function)
|
||||||
def internal_testfun(bot, trigger, *args, **kwargs):
|
def internal_testfun(bot, trigger, *args, **kwargs):
|
||||||
|
|
||||||
bot.say("command_args")
|
bot.say("testfun")
|
||||||
|
|
||||||
function(bot, trigger, *args, **kwargs)
|
function(bot, trigger, *args, **kwargs)
|
||||||
|
|
||||||
@ -147,8 +147,8 @@ def prerun():
|
|||||||
|
|
||||||
def actual_decorator(function):
|
def actual_decorator(function):
|
||||||
|
|
||||||
|
@testfun()
|
||||||
@dispatch()
|
@dispatch()
|
||||||
@command_args()
|
|
||||||
@functools.wraps(function)
|
@functools.wraps(function)
|
||||||
def internal_prerun(bot, trigger, *args, **kwargs):
|
def internal_prerun(bot, trigger, *args, **kwargs):
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user