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)