slack

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package slack implements Slack handlers for github.com/go-chat-bot/bot

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(configFile, token string)

Run connects to slack RTM API using the provided token

func RunWithFilter

func RunWithFilter(configFile, token string, customMessageFilter MessageFilter)

Types

type MessageFilter

type MessageFilter func(string, *bot.User) (string, slack.PostMessageParameters)

Jump to

Keyboard shortcuts

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