ekmartin / slack-irc

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

Colourise Slack usernames on IRC #257

Closed LukeMoll closed 5 years ago

LukeMoll commented 6 years ago

Uses IRC colours to show bridged Slack users' names in different colours. Styling is applied to user.name, so outer brackets (< >) or any custom formatting done by ircUsernameFormat is not coloured. Adds a JSON option "ircColorizeUsernames", which defaults to false. Code consistently uses US spelling ("colorize"). Tests pass with this PR (since it is off by default) , but I didn't write a test for this feature, so that could be added if necessary.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-2.5%) to 97.03% when pulling 323ef04257e10130421eb0209ad8d7b59dd8f880 on LukeMoll:master into d418d5b7dab32f4c509a44a5df9586e8d393cbf0 on ekmartin:master.