Fix linting issues
All checks were successful
Test / build (push) Successful in 2m29s

This commit is contained in:
Ethan Lane 2024-05-16 18:47:43 +01:00
parent 94ad819c95
commit 43998fbfc8
2 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ export default class Sacrifice extends ButtonEvent {
await user.Save(User, user); await user.Save(User, user);
let description = [ const description = [
`Card: ${cardData.card.name}`, `Card: ${cardData.card.name}`,
`Series: ${cardData.series.name}`, `Series: ${cardData.series.name}`,
`Rarity: ${cardRarityString}`, `Rarity: ${cardRarityString}`,
@ -78,7 +78,7 @@ export default class Sacrifice extends ButtonEvent {
.setStyle(ButtonStyle.Success) .setStyle(ButtonStyle.Success)
.setDisabled(true), .setDisabled(true),
new ButtonBuilder() new ButtonBuilder()
.setCustomId(`sacrifice cancel`) .setCustomId("sacrifice cancel")
.setLabel("Cancel") .setLabel("Cancel")
.setStyle(ButtonStyle.Secondary) .setStyle(ButtonStyle.Secondary)
.setDisabled(true), .setDisabled(true),
@ -111,7 +111,7 @@ export default class Sacrifice extends ButtonEvent {
const cardValue = GetSacrificeAmount(cardData.card.type); const cardValue = GetSacrificeAmount(cardData.card.type);
const cardRarityString = CardRarityToString(cardData.card.type); const cardRarityString = CardRarityToString(cardData.card.type);
let description = [ const description = [
`Card: ${cardData.card.name}`, `Card: ${cardData.card.name}`,
`Series: ${cardData.series.name}`, `Series: ${cardData.series.name}`,
`Rarity: ${cardRarityString}`, `Rarity: ${cardRarityString}`,
@ -133,7 +133,7 @@ export default class Sacrifice extends ButtonEvent {
.setStyle(ButtonStyle.Success) .setStyle(ButtonStyle.Success)
.setDisabled(true), .setDisabled(true),
new ButtonBuilder() new ButtonBuilder()
.setCustomId(`sacrifice cancel`) .setCustomId("sacrifice cancel")
.setLabel("Cancel") .setLabel("Cancel")
.setStyle(ButtonStyle.Secondary) .setStyle(ButtonStyle.Secondary)
.setDisabled(true), .setDisabled(true),

View file

@ -39,7 +39,7 @@ export default class Sacrifice extends Command {
const cardValue = GetSacrificeAmount(cardData.card.type); const cardValue = GetSacrificeAmount(cardData.card.type);
const cardRarityString = CardRarityToString(cardData.card.type); const cardRarityString = CardRarityToString(cardData.card.type);
let description = [ const description = [
`Card: ${cardData.card.name}`, `Card: ${cardData.card.name}`,
`Series: ${cardData.series.name}`, `Series: ${cardData.series.name}`,
`Rarity: ${cardRarityString}`, `Rarity: ${cardRarityString}`,