Fix the view command having the claimed by field when it doesn't need it
All checks were successful
Test / build (push) Successful in 9s

This commit is contained in:
Ethan Lane 2024-07-08 17:32:59 +01:00
parent eb3b04f51c
commit 1b13e7c2fd

View file

@ -94,13 +94,18 @@ export default class CardDropHelperMetadata {
name: "Claimed",
value: `${quantityClaimed}`,
inline: true,
},
}
]);
if (claimedBy != null) {
embed.addFields([
{
name: "Claimed by",
value: claimedBy ?? "(UNCLAIMED)",
value: claimedBy,
inline: true,
}
]);
}
if (currency != null) {
embed.addFields([