Change sacrifice command embed colours to go green when successful from red #237

Merged
Vylpes merged 4 commits from feature/230-sacrifice-changes into develop 2024-05-24 17:45:58 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 169bc62cca - Show all commits

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([