This commit is contained in:
parent
f7de57cf5d
commit
887738c0c6
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