Skip to content

eure/cafe-bot

Repository files navigation

cafebot

GoDoc License: MIT Release Build Status Co decov Coverage Go Report Card Code Climate BCH compliance Downloads

Slack Bot for Archimedes Cafe @ eureka, Inc.

Install

$ go get -u github.com/eure/cafe-bot

Build

$ make build

for Raspberry Pi

$ make build-arm6

Run

SLACK_BOT_TOKEN=xoxb-0000... GOOGLE_HOME_HOST=192.168.0.1 GOOGLE_HOME_LANG=ja ./bin/cafebot

Environment variables

Name Description
SLACK_RTM_TOKEN Slack Bot Token
SLACK_BOT_TOKEN Slack Bot Token
SLACK_TOKEN Slack Bot Token
BOBO_DEBUG Flag for debug logging. Set boolean like value.
GOOGLE_HOME_HOST Hostname or IP address of Google Home for speech feature.
GOOGLE_HOME_PORT Port number of Google Home. Default is 8009.
GOOGLE_HOME_LANG Speaking language of Google Home. Default is en.
GOOGLE_HOME_ACCENT Speaking accent of Google Home. Default is us.

Supported Commands

  • Order drink
  • Show order history