Ability to trade multiple cards at once #360
1 changed files with 4 additions and 4 deletions
|
@ -40,10 +40,10 @@ export default class Trade extends ButtonEvent {
|
|||
return;
|
||||
}
|
||||
|
||||
// if (interaction.user.id !== user2UserId) {
|
||||
// await interaction.reply("You are not the user who the trade is intended for");
|
||||
// return;
|
||||
// }
|
||||
if (interaction.user.id !== user2UserId) {
|
||||
await interaction.reply("You are not the user who the trade is intended for");
|
||||
return;
|
||||
}
|
||||
|
||||
const user1Item = CoreClient.Cards
|
||||
.flatMap(x => x.cards)
|
||||
|
|
Loading…
Reference in a new issue