diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/validUser.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/validUser.tsx b/src/plugins/validUser.tsx index 69e0f13..a3862d4 100644 --- a/src/plugins/validUser.tsx +++ b/src/plugins/validUser.tsx @@ -75,7 +75,7 @@ function MentionWrapper({ data, UserMention, RoleMention, parse, props }: Mentio const mention = children?.[0]?.props?.children; if (typeof mention !== "string") return; - const id = mention.match(/<@(\d+)>/)?.[1]; + const id = mention.match(/<@!?(\d+)>/)?.[1]; if (!id) return; if (fetching.has(id)) |