Skip to content

Commit

Permalink
all i want tonight is for karmabot to build
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaln7 committed Aug 13, 2018
1 parent 1b80bbb commit 6fdbc11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chat_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (t *TestChatService) GetUserInfo(user string) (*slack.User, error) {
}, nil
}

func (t *TestChatService) NewOutgoingMessage(text string, channel string) *slack.OutgoingMessage {
func (t *TestChatService) NewOutgoingMessage(text string, channel string, options ...slack.RTMsgOption) *slack.OutgoingMessage {
t.id++
return &slack.OutgoingMessage{
ID: t.id,
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type ChatService interface {
IncomingEventsChan() chan slack.RTMEvent

// NewOutgoingMessage constructs a new OutgoingMessage using the provided text and channel.
NewOutgoingMessage(text string, channel string) *slack.OutgoingMessage
NewOutgoingMessage(text string, channel string, options ...slack.RTMsgOption) *slack.OutgoingMessage

// SendMessage sends the provided *OutgoingMessage.
SendMessage(msg *slack.OutgoingMessage)
Expand Down

0 comments on commit 6fdbc11

Please sign in to comment.