test
This commit is contained in:
parent
101dc129f9
commit
9cbf57d2b2
@ -25,8 +25,7 @@ def comrun_create(rulematch):
|
|||||||
@functools.wraps(function)
|
@functools.wraps(function)
|
||||||
def internal_comrun_create(bot, trigger, *args, **kwargs):
|
def internal_comrun_create(bot, trigger, *args, **kwargs):
|
||||||
|
|
||||||
comrun = ComRun()
|
comrun = ComRun(rulematch)
|
||||||
comrun.rulematch = rulematch
|
|
||||||
|
|
||||||
function(bot, trigger, comrun, *args, **kwargs)
|
function(bot, trigger, comrun, *args, **kwargs)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user