From dcca51f6e45aaf1698ab79b1c295f27e0ce11304 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 15:15:52 -0500 Subject: [PATCH] test --- sopel_SpiceBot_Core_Prerun/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sopel_SpiceBot_Core_Prerun/__init__.py b/sopel_SpiceBot_Core_Prerun/__init__.py index a1fc88c..8e2ea57 100644 --- a/sopel_SpiceBot_Core_Prerun/__init__.py +++ b/sopel_SpiceBot_Core_Prerun/__init__.py @@ -62,7 +62,10 @@ def prerun(): def rebuild_trigger(comrun, trigger): - print([x for x in dir(trigger.match) if not x.startswith("__")]) + matchlist = [x for x in dir(trigger.match) if not x.startswith("__")] + for x in matchlist: + print(x) + print(eval("match.%s" % x)) return trigger