aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slack/slack_message.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/slack/slack_message.py b/slack/slack_message.py
index c16f6f0..7286128 100644
--- a/slack/slack_message.py
+++ b/slack/slack_message.py
@@ -754,9 +754,8 @@ class SlackMessage:
return self._rendered_message
try:
- nick = await self.nick()
me_prefix = (
- f"{nick.format(colorize=True)} "
+ f"{(await self.nick()).format(colorize=True)} "
if self._message_json.get("subtype") == "me_message"
else ""
)