/tock-py-bot-demo

Bot demo writen in Python, using Tock Bot API.

Primary LanguageHTMLGNU Affero General Public License v3.0AGPL-3.0

tock-py-bot-demo

Source code contains :

Install dependencies :

pip install -r requirements.txt

Start websocket mode :

TOCK_APIKEY=%YOUR-API-KEY% ./start-websocket.py

Start webhook mode :

TOCK_WEBHOOK_PATH=%YOUR-WEBHOOK-PATH% ./start-webhook.py