Remove duplicated card name
All checks were successful
Test / build (push) Successful in 10s

This commit is contained in:
Ethan Lane 2024-05-23 18:00:54 +01:00
parent 791bd6d2a6
commit 169bc62cca
2 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ export default class Sacrifice extends ButtonEvent {
.setTitle("Card Sacrificed") .setTitle("Card Sacrificed")
.setDescription(description.join("\n")) .setDescription(description.join("\n"))
.setColor(EmbedColours.Green) .setColor(EmbedColours.Green)
.setFooter({ text: `${interaction.user.username} · ${cardData.card.name}` }); .setFooter({ text: `${interaction.user.username}` });
const row = new ActionRowBuilder<ButtonBuilder>() const row = new ActionRowBuilder<ButtonBuilder>()
.addComponents([ .addComponents([
@ -133,7 +133,7 @@ export default class Sacrifice extends ButtonEvent {
.setTitle("Sacrifice Cancelled") .setTitle("Sacrifice Cancelled")
.setDescription(description.join("\n")) .setDescription(description.join("\n"))
.setColor(EmbedColours.Grey) .setColor(EmbedColours.Grey)
.setFooter({ text: `${interaction.user.username} · ${cardData.card.name}` }); .setFooter({ text: `${interaction.user.username}` });
const row = new ActionRowBuilder<ButtonBuilder>() const row = new ActionRowBuilder<ButtonBuilder>()
.addComponents([ .addComponents([

View file

@ -51,7 +51,7 @@ export default class Sacrifice extends Command {
.setTitle("Sacrifice") .setTitle("Sacrifice")
.setDescription(description.join("\n")) .setDescription(description.join("\n"))
.setColor(EmbedColours.Error) .setColor(EmbedColours.Error)
.setFooter({ text: `${interaction.user.username} · ${cardData.card.name}` }); .setFooter({ text: `${interaction.user.username}` });
const row = new ActionRowBuilder<ButtonBuilder>() const row = new ActionRowBuilder<ButtonBuilder>()
.addComponents([ .addComponents([