botTestLib

package
v0.0.0-...-a66a8d9 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReturnFalse

func ReturnFalse(_ *bot.Message) bool

func ReturnTrue

func ReturnTrue(_ *bot.Message) bool

Types

type MockBot

type MockBot struct {
	*bot.Bot
}

func NewMockBot

func NewMockBot() *MockBot

func (*MockBot) CreateMessage

func (mock *MockBot) CreateMessage(messageString string) *bot.Message

func (*MockBot) CreateMessageEvent

func (mock *MockBot) CreateMessageEvent(messageString string) *slack.MessageEvent

Jump to

Keyboard shortcuts

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