diff options
-rw-r--r-- | slack/slack_message.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/slack/slack_message.py b/slack/slack_message.py index 3c33864..f79cdc2 100644 --- a/slack/slack_message.py +++ b/slack/slack_message.py @@ -81,6 +81,11 @@ class SlackMessage: def unfurl_ref(match: Match[str]): item = items[match["id"]] + if match["id"] in ["!here", "!channel", "!everyone"]: + return with_color( + shared.config.color.usergroup_mention_color.value, + "@" + removeprefix(match["id"], "!"), + ) if isinstance(item, slack.slack_conversation.SlackConversation): return with_color( shared.config.color.channel_mention_color.value, "#" + item.name |