More AI development

This commit is contained in:
deathbybandaid 2019-05-10 09:17:27 -04:00
parent 15d419c481
commit 6b88c28ebe

View File

@ -34,6 +34,16 @@ def bot_command_goodbye_b(bot, trigger):
bot_command_goodbye(bot, trigger)
@sopel.module.rule(r'(?i)(thank|thanks) (you|),? $nickname[ \t]*$')
def bot_command_thanks(bot, trigger):
bot.reply("You're welcome.")
@sopel.module.rule('$nickname thank you', '$nickname thanks')
def bot_command_thanks_b(bot, trigger):
bot_command_thanks(bot, trigger)
@sopel.module.rule('$nickname!')
def exclaim(bot, trigger):
bot.say(trigger.nick + '!')