Skip to content

Conversation

@adamhorden
Copy link
Member

@adamhorden adamhorden commented Oct 6, 2022

bug/slack_api

Fix bug introduced by Slack API changes 🤓 💥 .

/usr/lib/node_modules/slack-irc/node_modules/irc/lib/irc.js:849
                        throw err;
                        ^

TypeError: Cannot read property 'map' of undefined
    at Bot.sendToSlack (/usr/lib/node_modules/slack-irc/dist/bot.js:295:60)
    at emitMany (events.js:147:13)
    at Client.emit (events.js:224:7)
    at Client.<anonymous> (/usr/lib/node_modules/slack-irc/node_modules/irc/lib/irc.js:557:22)
    at emitOne (events.js:116:13)
    at Client.emit (events.js:211:7)
    at iterator (/usr/lib/node_modules/slack-irc/node_modules/irc/lib/irc.js:846:26)
    at Array.forEach (<anonymous>)
    at Socket.handleData (/usr/lib/node_modules/slack-irc/node_modules/irc/lib/irc.js:841:15)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:246:13)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at TCP.onread (net.js:601:20)

Signed-off-by: Adam Horden adam.horden@horden.engineering

@adamhorden adamhorden self-assigned this Oct 6, 2022
@adamhorden adamhorden force-pushed the bug/slack_api branch 2 times, most recently from 8711a55 to 97c8833 Compare October 6, 2022 16:52
@adamhorden adamhorden changed the title bug/slack_api Bug: Slack API Migration Oct 6, 2022
- Fix bug 🐛 introduced by Slack API changes 🤓 💥.
- Update documentation 📚 💥.

Signed-off-by: Adam Horden <adam.horden@horden.engineering>
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

Successfully merging this pull request may close these issues.

2 participants