Registry / messaging / lusis-go-slackbot

lusis-go-slackbot

JSON →
library0.0.0-20210303200821-3c34a039d473gogounverified

Package slackbot eases development of Slack bots with a mux-router style interface and helpful methods.

go get github.com/lusis/go-slackbot
INSTALL
IMPORT
SIG · LUSIS-GO-SLACKBOT
L
lusis-go-slackbot
messaginggov0.0.0-20210303200821-3c34a039d473
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

slackbot
github.com/lusis/go-slackbot

Creates a Slack bot that replies to 'hello'.

package main import ( "log" "github.com/lusis/go-slackbot" ) func main() { bot := slackbot.New("SLACK_TOKEN") bot.Hear("hello", func(ctx *slackbot.Context) { ctx.Reply("Hi there!") }) log.Fatal(bot.Run()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210303200821-3c34a039d473latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
lusis-go-slackbot — go get lusis-go-slackbot · libregistry