Fix the view command having the claimed by field when it doesn't need it #292

Merged
Vylpes merged 1 commit from feature/276-view-claimed-by into develop 2024-07-08 17:55:13 +01:00
Showing only changes of commit 1b13e7c2fd - Show all commits

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([