diff options
author | Aidan Epstein <aidan@jmad.org> | 2020-03-21 12:38:38 -0700 |
---|---|---|
committer | Aidan Epstein <aidan@jmad.org> | 2020-03-25 19:50:22 -0700 |
commit | a4ac89208b4f7b916c48191fbca95602ceb5adde (patch) | |
tree | 55e015dc49a55a97e359ffb96d18712e0cd0fafc /wee_slack.py | |
parent | dc7489d2ea4440d10a61294334ff78f62afa9874 (diff) | |
download | wee-slack-a4ac89208b4f7b916c48191fbca95602ceb5adde.tar.gz |
Only say subscribed if subscribed, instead of True/False
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |