Ability to trade multiple cards at once #360

Merged
Vylpes merged 5 commits from feature/338-trade-multiple into develop 2024-09-15 16:55:19 +01:00
Showing only changes of commit 5c6df39f04 - Show all commits

View file

@ -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)