test
This commit is contained in:
parent
485aa6a2c8
commit
2560bb42d6
@ -6,7 +6,7 @@ from sopel.trigger import Trigger
|
|||||||
from sopel_SpiceBot_Core_1 import sb
|
from sopel_SpiceBot_Core_1 import sb
|
||||||
|
|
||||||
|
|
||||||
def prerun():
|
def prerun(metadata={}):
|
||||||
"""This decorator is the hub of handling for all SpiceBot Commands"""
|
"""This decorator is the hub of handling for all SpiceBot Commands"""
|
||||||
|
|
||||||
def actual_decorator(function):
|
def actual_decorator(function):
|
||||||
@ -15,8 +15,6 @@ def prerun():
|
|||||||
def internal_prerun(bot, trigger, *args, **kwargs):
|
def internal_prerun(bot, trigger, *args, **kwargs):
|
||||||
|
|
||||||
runfunc = True
|
runfunc = True
|
||||||
metadata = {}
|
|
||||||
return
|
|
||||||
|
|
||||||
comrun = ComRun(bot, trigger, function, metadata)
|
comrun = ComRun(bot, trigger, function, metadata)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user