From 853e3e48967ac83173269edf698f45ba91e72fdd Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Thu, 6 Oct 2022 14:20:35 -0400 Subject: [PATCH] Mark @v with a (Bot) label --- web/components/user-link.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/components/user-link.tsx b/web/components/user-link.tsx index 4b05ccd0..c3a273fc 100644 --- a/web/components/user-link.tsx +++ b/web/components/user-link.tsx @@ -34,6 +34,17 @@ export function UserLink(props: { )} > {shortName} + {BOT_USERNAMES.includes(username) && } ) } + +const BOT_USERNAMES = ['v'] + +function BotBadge() { + return ( + + Bot + + ) +}