fix: another skill issue

im lazy
This commit is contained in:
Conrad Crawford
2024-09-25 16:07:46 -04:00
committed by GitHub
parent bf838c17d0
commit 7c3aba4851

View File

@@ -242,7 +242,7 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
}
</h1>
${hideClan || !data.discord_user.clan.tag && !data.discord_user.clan.badge ? "" : `
${hideClan || !data.discord_user.clan?.tag && !data.discord_user.clan?.badge ? "" : `
<span style="
background-color: ${clanBackgroundColor};
border-radius: 0.375rem;