From 40148e0b89da16c5a82c38a1c1a57284d3a9c1e0 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 08:47:51 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index 1d1ea73..1d7e26c 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -11,7 +11,8 @@ def prerun(rulematch=False): @functools.wraps(function) def internal_prerun(bot, trigger, *args, **kwargs): - print([x for x in dir(function) if not x.startswith("__")]) + # trigger_type = [x for x in dir(function) if not x.startswith("__")][1] + print(function.command) # Get list of trigger command(s) by && split commands = sb.commands.get_commands_split(trigger, "&&")