Create ability to drop multiple cards in a row #376

Merged
Vylpes merged 8 commits from feature/262-multidrop into develop 2024-10-12 17:30:20 +01:00
Showing only changes of commit 20c3d2daf1 - Show all commits

View file

@ -15,15 +15,15 @@ export default class Multidrop extends ButtonEvent {
const action = interaction.customId.split(" ")[1]; const action = interaction.customId.split(" ")[1];
switch (action) { switch (action) {
case "keep": case "keep":
await this.Keep(interaction); await this.Keep(interaction);
break; break;
case "sacrifice": case "sacrifice":
await this.Sacrifice(interaction); await this.Sacrifice(interaction);
break; break;
default: default:
await interaction.reply("Invalid action"); await interaction.reply("Invalid action");
AppLogger.LogError("Button/Multidrop", `Invalid action, ${action}`); AppLogger.LogError("Button/Multidrop", `Invalid action, ${action}`);
} }
} }