SpiceBot-migrated/sopel_modules/SpiceBot_AI/AI_Welcomeback.py
2019-05-11 17:27:45 -04:00

14 lines
319 B
Python

# coding=utf-8
from __future__ import unicode_literals, absolute_import, division, print_function
import sopel.module
import spicemanip
@sopel.module.rule(r'(?i)(welcome back),? $nickname\?')
def bot_command_really(bot, trigger):
reply = spicemanip.main(['Thank you', 'thanks'], "random")
bot.reply(reply)