Add trade command #172
1 changed files with 6 additions and 6 deletions
|
@ -9,12 +9,12 @@ export default class Trade extends ButtonEvent {
|
|||
const action = interaction.customId.split(" ")[1];
|
||||
|
||||
switch (action) {
|
||||
case "accept":
|
||||
await this.AcceptTrade(interaction);
|
||||
break;
|
||||
case "decline":
|
||||
await this.DeclineTrade(interaction);
|
||||
break;
|
||||
case "accept":
|
||||
await this.AcceptTrade(interaction);
|
||||
break;
|
||||
case "decline":
|
||||
await this.DeclineTrade(interaction);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue