rule only takes one argument

This commit is contained in:
deathbybandaid 2019-05-10 09:50:12 -04:00
parent 1c0ce32496
commit a0aa7076e3

View File

@ -39,11 +39,16 @@ def bot_command_thanks(bot, trigger):
bot.reply("You're welcome.")
@sopel.module.rule('$nickname thank you', '$nickname thanks')
@sopel.module.rule('$nickname thank you')
def bot_command_thanks_b(bot, trigger):
bot_command_thanks(bot, trigger)
@sopel.module.rule('$nickname thanks')
def bot_command_thanks_c(bot, trigger):
bot_command_thanks(bot, trigger)
@sopel.module.rule('$nickname!')
def exclaim(bot, trigger):
bot.say(trigger.nick + '!')