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
All checks were successful
Test / build (push) Successful in 9s
This commit is contained in:
parent
eb3b04f51c
commit
1b13e7c2fd
1 changed files with 7 additions and 2 deletions
|
@ -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([
|
||||
|
|
Loading…
Reference in a new issue