This commit is contained in:
deathbybandaid 2022-02-24 08:34:12 -05:00
parent 4da3748e3d
commit 3e4e389386

View File

@ -4,11 +4,11 @@ from sopel import plugin
from sopel_SpiceBot_Core_Prerun import prerun from sopel_SpiceBot_Core_Prerun import prerun
@prerun(rulematch=True) # @prerun(rulematch=True)
@plugin.command('(.*)') # @plugin.command('(.*)')
def rule_command(bot, trigger, comrun): # def rule_command(bot, trigger, comrun):
bot.say("%s" % trigger.raw) # bot.say("%s" % trigger.raw)
bot.say("now") # bot.say("now")
bot.say(str(comrun.trigger_dict)) # bot.say(str(comrun.trigger_dict))
comrun.say = "nothing" # comrun.say = "nothing"
bot.say(str(trigger.match)) # bot.say(str(trigger.match))