From a4ac89208b4f7b916c48191fbca95602ceb5adde Mon Sep 17 00:00:00 2001 From: Aidan Epstein Date: Sat, 21 Mar 2020 12:38:38 -0700 Subject: Only say subscribed if subscribed, instead of True/False --- wee_slack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wee_slack.py') diff --git a/wee_slack.py b/wee_slack.py index 8848d62..ec5cfa0 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2508,8 +2508,8 @@ class SlackMessage(object): if self.number_of_replies(): self.channel.hash_message(self.ts) - text += " " + colorize_string(get_thread_color(self.hash), "[ Thread: {} Replies: {} Subscribed: {} ]".format( - self.hash, self.number_of_replies(), self.subscribed)) + text += " " + colorize_string(get_thread_color(self.hash), "[ Thread: {} Replies: {}{} ]".format( + self.hash, self.number_of_replies(), " Subscribed" if self.subscribed else "")) text = replace_string_with_emoji(text) -- cgit