From 27a24f00c336c1ae64ea6b70f02cb23944cd9c93 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 15 Dec 2023 19:36:55 -0500 Subject: [PATCH] Update Message.tsx --- src/components/messaging/Message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/messaging/Message.tsx b/src/components/messaging/Message.tsx index 62cf880..efb146b 100644 --- a/src/components/messaging/Message.tsx +++ b/src/components/messaging/Message.tsx @@ -32,7 +32,7 @@ function Message({ message, header }: Props) { const isRoleMentioned = guild && "mention_roles" in message && - message.mention_roles.some((r1) => guild.members.me?.roles.some((r2) => r1.id === r2.id)); + message.mention_roles.some((r1) => guild.members.me?.roles.some((r2) => r1.id === r2)); return (