Add trade command #172

Merged
Vylpes merged 4 commits from feature/165-trade-command into develop 2024-02-23 18:37:48 +00:00
Showing only changes of commit ef795efd28 - Show all commits

View file

@ -9,12 +9,12 @@ export default class Trade extends ButtonEvent {
const action = interaction.customId.split(" ")[1]; const action = interaction.customId.split(" ")[1];
switch (action) { switch (action) {
case "accept": case "accept":
await this.AcceptTrade(interaction); await this.AcceptTrade(interaction);
break; break;
case "decline": case "decline":
await this.DeclineTrade(interaction); await this.DeclineTrade(interaction);
break; break;
} }
} }