diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 22b2efd..c52f0a4 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -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):