true love

This commit is contained in:
deathbybandaid 2019-05-11 17:02:16 -04:00
parent e013aebda4
commit 6f7989889e
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# coding=utf-8
from __future__ import unicode_literals, absolute_import, division, print_function
import sopel.module
@sopel.module.rule(r'(?i)(I love you|loveya),? $nickname[ \t]*$')
def bot_command_love(bot, trigger):
bot.reply("You're welcome.")
@sopel.module.rule('$nickname (loveya|I love you)')
def bot_command_love_b(bot, trigger):
bot_command_love(bot, trigger)
@sopel.module.nickname_commands('loveya')
def bot_command_love_c(bot, trigger):
bot_command_love(bot, trigger)

View File

@ -9,6 +9,7 @@ from .AI_Acknowledge import *
from .AI_Lazy import *
from .AI_InsultHandler import *
from .AI_Ping import *
from .AI_Love import *
__author__ = 'Sam Zick'
__email__ = 'sam@deathbybandaid.net'