aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/slack_buffer.py')
-rw-r--r--slack/slack_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_buffer.py b/slack/slack_buffer.py
index 64c2b83..f5db14a 100644
--- a/slack/slack_buffer.py
+++ b/slack/slack_buffer.py
@@ -498,7 +498,7 @@ class SlackBuffer(ABC):
word = match.group(0)
nick = match.group(1)
if nick in nick_to_user_id:
- return "<@{}>".format(nick_to_user_id[nick])
+ return f"<@{nick_to_user_id[nick]}>"
return word
linkify_regex = r"(?:^|(?<=\s))@([\w\(\)\'.-]+)"