Create sacrifice command #225
2 changed files with 5 additions and 5 deletions
|
@ -56,7 +56,7 @@ export default class Sacrifice extends ButtonEvent {
|
|||
|
||||
await user.Save(User, user);
|
||||
|
||||
let description = [
|
||||
const description = [
|
||||
`Card: ${cardData.card.name}`,
|
||||
`Series: ${cardData.series.name}`,
|
||||
`Rarity: ${cardRarityString}`,
|
||||
|
@ -78,7 +78,7 @@ export default class Sacrifice extends ButtonEvent {
|
|||
.setStyle(ButtonStyle.Success)
|
||||
.setDisabled(true),
|
||||
new ButtonBuilder()
|
||||
.setCustomId(`sacrifice cancel`)
|
||||
.setCustomId("sacrifice cancel")
|
||||
.setLabel("Cancel")
|
||||
.setStyle(ButtonStyle.Secondary)
|
||||
.setDisabled(true),
|
||||
|
@ -111,7 +111,7 @@ export default class Sacrifice extends ButtonEvent {
|
|||
const cardValue = GetSacrificeAmount(cardData.card.type);
|
||||
const cardRarityString = CardRarityToString(cardData.card.type);
|
||||
|
||||
let description = [
|
||||
const description = [
|
||||
`Card: ${cardData.card.name}`,
|
||||
`Series: ${cardData.series.name}`,
|
||||
`Rarity: ${cardRarityString}`,
|
||||
|
@ -133,7 +133,7 @@ export default class Sacrifice extends ButtonEvent {
|
|||
.setStyle(ButtonStyle.Success)
|
||||
.setDisabled(true),
|
||||
new ButtonBuilder()
|
||||
.setCustomId(`sacrifice cancel`)
|
||||
.setCustomId("sacrifice cancel")
|
||||
.setLabel("Cancel")
|
||||
.setStyle(ButtonStyle.Secondary)
|
||||
.setDisabled(true),
|
||||
|
|
|
@ -39,7 +39,7 @@ export default class Sacrifice extends Command {
|
|||
const cardValue = GetSacrificeAmount(cardData.card.type);
|
||||
const cardRarityString = CardRarityToString(cardData.card.type);
|
||||
|
||||
let description = [
|
||||
const description = [
|
||||
`Card: ${cardData.card.name}`,
|
||||
`Series: ${cardData.series.name}`,
|
||||
`Rarity: ${cardRarityString}`,
|
||||
|
|
Loading…
Reference in a new issue