Fix trade command #177

Merged
Vylpes merged 2 commits from feature/165-trade-command-2 into develop 2024-03-01 20:02:11 +00:00
Showing only changes of commit 119fc6310f - Show all commits

View file

@ -140,7 +140,7 @@ export default class Trade extends ButtonEvent {
// No need to get expiry date // No need to get expiry date
const timeoutId = interaction.customId.split(" ")[7]; const timeoutId = interaction.customId.split(" ")[7];
if (interaction.user.id !== receiveUserId || interaction.user.id !== giveUserId) { if (interaction.user.id != receiveUserId && interaction.user.id !==giveUserId) {
await interaction.reply("You are not the user who the trade is intended for"); await interaction.reply("You are not the user who the trade is intended for");
return; return;
} }