ekmartin / slack-irc

Connects Slack and IRC channels by sending messages back and forth.
MIT License
588 stars 158 forks source link

Suggesting some changes from my repo #264

Closed paigeadelethompson closed 1 year ago

paigeadelethompson commented 4 years ago

HI,

I finally got this bot to work for me, and just refactored the config into a repo so that I don't lose it again.

I've included a slightly more detailed README and a sample config.json as well as a configuration for ZNC (this was necessary to get TLS + SASL & nickserv authentication working correctly but worth it because people like to steal nicks in my channel. It's also necesarry if you're running the bot from AWS or some network that is *lined by freenode to require this level of authentication from users.

One thing I have not gotten to work right yet is having multiple irc networks. I can get messages to and from slack from multiple IRC networks, however the messages don't relay from IRC Network to another IRC Network and I'm not sure but I'm thinking about seeing if un-muting the bot in the config help (eg "muteSlackbot": true, // Off by default) and I'm thinking maybe that has something to do with it.

Anyway I hope this helps somebody, I'm kinda half considering rewriting slack-irc because that token (was difficult to find) but I believe its also deprecated since they've changed how they do tokens since the npm module was written.

paigeadelethompson commented 4 years ago

ZNC really does take care of a lot of the problems though, I'll probably try to setup multiple networks again and include an example in the repo if I do manage to get it to work.