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