Fix api changes wrt to dependencies

This commit is contained in:
Wim
2024-05-23 23:27:27 +02:00
parent c6efa7176e
commit e034fdf1ee
3 changed files with 5 additions and 4 deletions

View File

@@ -101,7 +101,9 @@ func (b *Bslack) populateMessageWithBotInfo(ev *slack.MessageEvent, rmsg *config
var err error
var bot *slack.Bot
for {
bot, err = b.rtm.GetBotInfo(ev.BotID)
bot, err = b.rtm.GetBotInfo(slack.GetBotInfoParameters{
Bot: ev.BotID,
})
if err == nil {
break
}