Fix trade command #177
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ export default class Trade extends ButtonEvent {
|
|||
// No need to get expiry date
|
||||
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");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue