From 9fc1226dbf4e3052df8035d0a3a2db2cf44a170e Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 19 Aug 2018 19:29:43 +0200 Subject: 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 --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit