Compare commits

..

No commits in common. "65b5e88701f6b906c7ab9761286a3191d8c8c7d2" and "954d6c109a439ffd9780253389753315ba223bfa" have entirely different histories.

2 changed files with 16 additions and 9 deletions

View File

@ -11,17 +11,24 @@ def commands_test(bot, trigger, comrun):
bot.say("%s" % trigger.raw) bot.say("%s" % trigger.raw)
@prerun()
@plugin.command('testa') @plugin.command('testa')
def commands_test_a(bot, trigger): def commands_test_a(bot, trigger):
bot.say("test a") bot.say("test a")
bot.say(str(trigger.tags))
bot.say("%s" % trigger.hostmask)
bot.say("test a: %s" % trigger.raw)
@prerun() @prerun()
@plugin.command('testb') @plugin.command('testb')
def commands_test_b(bot, trigger, comrun): def commands_test_b(bot, trigger, comrun):
bot.say("test b") bot.say("test b")
bot.say("test b: %s" % trigger.raw)
@plugin.command('testc') @plugin.command('testc')
def commands_test_c(bot, trigger, comrun): def commands_test_c(bot, trigger, comrun):

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