Create ability to drop multiple cards in a row #376
1 changed files with 9 additions and 9 deletions
|
@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue