diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index c560756..622bd24 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -34,7 +34,7 @@ def prerun_nickname_command(): # Primary command used for trigger, and a list of all words trigger_args, trigger_command, trigger_prefix = make_trigger_args(trigger.args[1], trigger_command_type) - function(bot, trigger, *args, **kwargs) + return function(bot, trigger, *args, **kwargs) return internal_prerun return actual_decorator