cmd/main.go
package main
import (
"github.com/eure/bobo"
"github.com/eure/bobo/command"
"github.com/eure/bobo/engine/slack"
"github.com/eure/bobo/log"
"github.com/eure/bobo-googlehome/googlehome"
)
// Entry Point
func main() {
bobo.Run(bobo.RunOption{
Engine: &slack.SlackEngine{},
Logger: &log.StdLogger{
IsDebug: bobo.IsDebug(),
},
CommandSet: command.NewCommandSet(
command.PingCommand,
command.ParrotCommand,
command.GoodMorningCommand,
command.ReactEmojiCommand,
command.HelpCommand,
googlehome.SayCommand,
googlehome.VolumeCommand,
googlehome.ReloadCommand,
),
})
}