This commit is contained in:
deathbybandaid 2023-01-24 10:59:49 -05:00
parent 485aa6a2c8
commit 2560bb42d6

View File

@ -6,7 +6,7 @@ from sopel.trigger import Trigger
from sopel_SpiceBot_Core_1 import sb
def prerun():
def prerun(metadata={}):
"""This decorator is the hub of handling for all SpiceBot Commands"""
def actual_decorator(function):
@ -15,8 +15,6 @@ def prerun():
def internal_prerun(bot, trigger, *args, **kwargs):
runfunc = True
metadata = {}
return
comrun = ComRun(bot, trigger, function, metadata)