From c3d339dd4a6eca9a70e1221d0c22eb5e6ef07fb8 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 23 Feb 2022 14:52:51 -0500 Subject: [PATCH] test --- .../__init__.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py b/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py index d73135e..9d8f6f6 100644 --- a/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py @@ -4,11 +4,11 @@ from sopel import plugin from sopel_SpiceBot_Core_Prerun import prerun -# @prerun(rulematch=True) -# @plugin.command('(.*)') -# def rule_command(bot, trigger, comrun): -# bot.say("%s" % trigger.raw) -# bot.say("now") -# bot.say(str(comrun.trigger_dict)) -# comrun.say = "nothing" -# bot.say(str(trigger.match)) +@prerun(rulematch=True) +@plugin.command('(.*)') +def rule_command(bot, trigger, comrun): + bot.say("%s" % trigger.raw) + bot.say("now") + bot.say(str(comrun.trigger_dict)) + comrun.say = "nothing" + bot.say(str(trigger.match))