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];
|
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}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue