Re-enable logic disabled for testing
All checks were successful
Test / build (push) Successful in 8s

This commit is contained in:
Ethan Lane 2024-09-15 13:00:52 +01:00
parent a294d408c1
commit 5c6df39f04

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)