Fix the view command having the claimed by field when it doesn't need it #292
1 changed files with 7 additions and 2 deletions
|
@ -94,13 +94,18 @@ export default class CardDropHelperMetadata {
|
||||||
name: "Claimed",
|
name: "Claimed",
|
||||||
value: `${quantityClaimed}`,
|
value: `${quantityClaimed}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
|
if (claimedBy != null) {
|
||||||
|
embed.addFields([
|
||||||
{
|
{
|
||||||
name: "Claimed by",
|
name: "Claimed by",
|
||||||
value: claimedBy ?? "(UNCLAIMED)",
|
value: claimedBy,
|
||||||
inline: true,
|
inline: true,
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
if (currency != null) {
|
if (currency != null) {
|
||||||
embed.addFields([
|
embed.addFields([
|
||||||
|
|
Loading…
Reference in a new issue