zeroviscosity / tanukibot

A trickster, mimicking slack bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TanukiBot

Installation

TBD

SlackBot Usage

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()

SMSBot Usage

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()

Development

pip install -r requirements.txt

About

A trickster, mimicking slack bot

License:MIT License


Languages

Language:Python 100.0%