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 (