SpiceBot/sopel_SpiceBot_Runtime_Unmatched_Commands/__init__.py
deathbybandaid 101dc129f9 test
2022-02-22 15:59:20 -05:00

15 lines
311 B
Python

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))