TBD
import os
import tanukibot
token = os.environ.get('TANUKIBOT_TOKEN') # Slack token
ids = os.environ.get('TANUKIBOT_IDS') # Comma-separated Slack IDs
bot = tanukibot.SlackBot(token, ids.split(','))
bot.connect()
Deploy the bot on a publically accessible server and register the /sms
endpoint with Twilio.
from tanukibot import SMSBot
bot = SMSBot(corpus='/path/to/corpus')
bot.connect()
pip install -r requirements.txt