-
Notifications
You must be signed in to change notification settings - Fork 153
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
IRC -> Slack direction no longer works #269
Comments
We are having the same issue. I have spent a couple of hours debugging to try and find out why this has just randomly stopped working. So far not found anything. Will keep looking. Adam Horden |
My bot has stopped working too. It manages to join IRC, then soon dies with this message:
|
Unless I'm mistaken, this is the line that is failing:
Whatever part of the code that gets the members list is not working, for some reason. Perhaps an API change on Slack's end? |
Here's a patch @drislands and I cooked up for a quick fix. Took some inspiration from https://github.com/slackapi/node-slack-sdk/wiki/DataStore-v3.x-Migration-Guide
|
@gkelle Perhaps you could submit that change as a new pull request and reference this issue? |
@bovine I've just submitted a pull request for the change |
I can confirm this is working for me. Would be nice for @ekmartin to accept the PR. |
I get the following error when someone writes something in IRC on a bridged channel. It doesn't end up in Slack:
error: Received error event from IRC TypeError: Cannot read property 'map' of undefined
at Bot.sendToSlack (/usr/home/ec2-user/git/slack-irc/dist/bot.js:297:60)
at Client.emit (node:events:378:20)
at Client. (/usr/home/ec2-user/git/slack-irc/node_modules/irc-upd/lib/irc.js:581:22)
at Client.emit (node:events:378:20)
at /usr/home/ec2-user/git/slack-irc/node_modules/irc-upd/lib/irc.js:896:26
at Array.forEach ()
at Socket.handleData (/usr/home/ec2-user/git/slack-irc/node_modules/irc-upd/lib/irc.js:890:15)
at Socket.emit (node:events:378:20)
at addChunk (node:internal/streams/readable:313:12)
at readableAddChunk (node:internal/streams/readable:284:11)
at Socket.Readable.push (node:internal/streams/readable:227:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
For reference, Slack -> IRC still works, just not the other direction.
The text was updated successfully, but these errors were encountered: