From 601d146cd5a5b2cd208f05435f9e958914840f79 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 12 Feb 2022 19:24:10 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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):