Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version of nlopse/slack breaks go-slackbot #8

Open
ArcticSnowman opened this issue Oct 15, 2018 · 2 comments
Open

Latest version of nlopse/slack breaks go-slackbot #8

ArcticSnowman opened this issue Oct 15, 2018 · 2 comments

Comments

@ArcticSnowman
Copy link

Updated to the v 0.4.0 release of https://github.com/nlopes/slack and it breaks go-slackbot:

# gsg/loki/vendor/github.com/BeepBoopHQ/go-slackbot
src/gsg/loki/vendor/github.com/BeepBoopHQ/go-slackbot/bot.go:124:40: cannot use "" (type string) as type slack.MsgOption in argument to b.Client.PostMessage
src/gsg/loki/vendor/github.com/BeepBoopHQ/go-slackbot/bot.go:124:40: cannot use params (type slack.PostMessageParameters) as type slack.MsgOption in argument to b.Client.PostMessage
@bunker-inspector
Copy link

+1 for this

@ajt89
Copy link

ajt89 commented Mar 23, 2019

To fix this issue utilize go-dep and add this to your Gopk.toml file

[[constraint]]
  name = "github.com/nlopes/slack"
  version = "0.2.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants