mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 06:29:54 -05:00
rule only takes one argument
This commit is contained in:
parent
1c0ce32496
commit
a0aa7076e3
@ -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 + '!')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user