package
0.0.0-20200531231915-382b95aaa347
Repository: https://github.com/gobridge/gopher.git
Documentation: pkg.go.dev

# Functions

BotStack responds to messages with information about the bot and where it runs when Message.TrimmedText contains one of prompts.
BotVersion responds to messages with the bot's version when Message.TrimmedText matches prompt.
CoinFlip responds to messages with "heads" or "tails" when Message.TrimmedText matches one of prompts.
Join direct messages new users with a message about the Slack team and some recommended channels.
LinkToGoDoc responds with to messages with matchPrefix replaced by urlPrefix.
NewbieResources responds with some beginner resources when Message.TrimmedText has prefix.
ProcessLinear calls handlers in order.
ReactWhenContains adds reactions to messages that contain s.
ReactWhenContainsRand randomly calls ReactWhenContains.
ReactWhenHasPrefix addes reactions to messages when Message.TrimmedText has prefix s.
RecommendedChannels responds to messages a formatted list of channels when Message.TrimmedText matches prompt.
RespondTo responds to messages when Message.TrimmedText is in prompts.
RespondWhenContains responds to any message when that contains s.
SearchForLibrary responds to messages with suggested places to look for a library when Message.TrimmedText has prefix.
Songs inspects the message for Spotify, Soundcloud, Tidal links.
SuggestPlayground uploads messages/files to the playground when they have at least minLines or has files that are of type "go" or "text".
WhenDirectedToBot calls h when Message.DirectedToBot is true.
XKCD responds with XKCD comics when Message.TrimmedText has prefix.

# Structs

Channel describes a Slack channel.