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];
switch (action) {
case "keep":
await this.Keep(interaction);
break;
case "sacrifice":
await this.Sacrifice(interaction);
break;
default:
await interaction.reply("Invalid action");
AppLogger.LogError("Button/Multidrop", `Invalid action, ${action}`);
case "keep":
await this.Keep(interaction);
break;
case "sacrifice":
await this.Sacrifice(interaction);
break;
default:
await interaction.reply("Invalid action");
AppLogger.LogError("Button/Multidrop", `Invalid action, ${action}`);
}
}