This commit is contained in:
deathbybandaid 2019-05-11 17:04:02 -04:00
parent 12f24d1e4b
commit ecca6495b5

View File

@ -18,3 +18,13 @@ def bot_command_love_b(bot, trigger):
@sopel.module.nickname_commands('loveya')
def bot_command_love_c(bot, trigger):
bot_command_love(bot, trigger)
@sopel.module.rule(r'(?i)(I like you),? $nickname[ \t]*$')
def bot_command_like(bot, trigger):
bot.reply("I like you too.")
@sopel.module.rule('$nickname (I like you)')
def bot_command_like_b(bot, trigger):
bot_command_like(bot, trigger)