slack-io / slacker

Slack Bot Framework
MIT License
32 stars 9 forks source link

Bot fails to start when using github.com/slack-go/slack v0.13.0 #8

Closed llinros closed 5 days ago

llinros commented 2 weeks ago

When go: upgraded github.com/slack-go/slack v0.12.2 => v0.13.0 bot fails to start with the following error:

# github.com/slack-io/slacker ../../go/pkg/mod/github.com/slack-io/slacker@v0.1.0/slacker.go:547:40: cannot use messageEvent.BotID (variable of type string) as slack.GetBotInfoParameters value in argument to s.slackClient.GetBotInfo

llinros commented 2 weeks ago

it seems the argument for GetBotInfo should be changed to slack.GetBotInfoParameters{Bot: messageEvent.BotID}