aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slack/slack_message.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/slack/slack_message.py b/slack/slack_message.py
index 032df91..f8bb697 100644
--- a/slack/slack_message.py
+++ b/slack/slack_message.py
@@ -514,9 +514,11 @@ class SlackMessage:
nicks = ",".join(user.nick() for user in users)
users_str = f"({nicks})"
else:
- users_str = len(reaction["users"])
+ users_str = ""
- reaction_string = f"{self._get_emoji(reaction['name'])}{users_str}"
+ reaction_string = (
+ f"{self._get_emoji(reaction['name'])}{len(reaction['users'])}{users_str}"
+ )
if self.workspace.my_user.id in reaction["users"]:
return with_color(