aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2018-08-19 19:29:43 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2018-08-19 21:28:33 +0200
commit9fc1226dbf4e3052df8035d0a3a2db2cf44a170e (patch)
tree57adcc4943eced52a3877a1f12cf7d1613b2548f
parent0cdf3b42cbd2f6f4127fa587a024d7227a594663 (diff)
downloadwee-slack-9fc1226dbf4e3052df8035d0a3a2db2cf44a170e.tar.gz
Reset color after nick
This changes the color of the text of action messages to normal color so that only the nick before the text is colored. This is the same as the irc plugin does. Fixes #355
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index c47ecc3..cea9e0c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2061,7 +2061,7 @@ class SlackUser(object):
def formatted_name(self, prepend="", enable_color=True):
if enable_color:
- return self.color + prepend + self.name
+ return self.color + prepend + self.name + w.color("reset")
else:
return prepend + self.name