From 8c728d28bc4802a55c554b5d70ef93fd245015dc Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 24 Feb 2022 09:41:05 -0500 Subject: [PATCH] test --- .../__init__.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py b/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py index 31b2bc8..7a3324b 100644 --- a/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py +++ b/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py @@ -8,7 +8,15 @@ from sopel_SpiceBot_Core_Prerun import prerun @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() +@plugin.nickname_command('(.*)') +def rule_nickname_command(bot, trigger, comrun): + bot.say("%s" % trigger.raw) + + +@prerun() +@plugin.action_command('(.*)') +def rule_action_command(bot, trigger, comrun): + bot.say("%s" % trigger.raw)