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

Bug: Slack API Migration #15

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Bug: Slack API Migration #15

wants to merge 1 commit into from

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.

1 participant