ekmartin / slack-irc

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

Add config option to mute specific users #174

Closed krzys-h closed 7 years ago

krzys-h commented 7 years ago

I needed something like this for my use case and since I saw there is already an issue for it I decided to just PR it in.

Closes #156

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.02%) to 99.479% when pulling c1ca36c36ce04953c192ba10b8270f3cf6616aa5 on krzys-h:add-mute-user-config into 04711c6dac38bbceb9dd325eabfe7cba70aec925 on ekmartin:master.

agriffis commented 7 years ago

@ekmartin Do you have any thoughts on merging this?

ekmartin commented 7 years ago

Sorry about the insanely late answer here. I've been vary of adding too many configuration options, but merging this since it seems like there's some interest for it.

I added a couple of tiny tweaks, so the config syntax is now:

"muteUsers": {
  "slack": ["user1"],
  "irc": ["user2"]
}

Thank you @krzys-h!

ekmartin commented 7 years ago

Released in version 3.11.0.