Skip to content

Commit

Permalink
Merge branch 'ItzDerock:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhusien authored May 27, 2024
2 parents a56f941 + 0c42383 commit 4527039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/renderers/reply.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function MessageReply({ message, context }: { message: Mess
roleColor={referencedMessage.member?.displayHexColor ?? undefined}
bot={!isCrosspost && referencedMessage.author.bot}
verified={referencedMessage.author.flags?.has(UserFlags.VerifiedBot)}
op={message.channel.isThread() && referencedMessage.author.id === message.channel.ownerId}
op={message?.channel?.isThread?.() && referencedMessage.author.id === message?.channel?.ownerId}
server={isCrosspost ?? undefined}
command={isCommand}
>
Expand Down

0 comments on commit 4527039

Please sign in to comment.