cafe-bot

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: MIT

README

cafebot

GoDoc 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL