This commit is contained in:
deathbybandaid 2022-02-23 14:52:51 -05:00
parent 4ddc2662b2
commit c3d339dd4a

View File

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