Fix trade command #177
2 changed files with 17 additions and 17 deletions
|
@ -100,13 +100,13 @@ export default class Trade extends ButtonEvent {
|
||||||
.setImage("https://i.imgur.com/9w5f1ls.gif")
|
.setImage("https://i.imgur.com/9w5f1ls.gif")
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: `${receiveUser.username} is giving`,
|
name: "I receieve",
|
||||||
value: `${giveItem.id}: ${giveItem.name}`,
|
value: `${receiveItem.id}: ${receiveItem.name}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: `${giveUser.username} is giving`,
|
name: "You receieve",
|
||||||
value: `${receiveItem.id}: ${receiveItem.name}`,
|
value: `${giveItem.id}: ${giveItem.name}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -170,13 +170,13 @@ export default class Trade extends ButtonEvent {
|
||||||
.setImage("https://i.imgur.com/9w5f1ls.gif")
|
.setImage("https://i.imgur.com/9w5f1ls.gif")
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: `${receiveUser.username} is giving`,
|
name: "I Receive",
|
||||||
value: `${giveItem.id}: ${giveItem.name}`,
|
value: `${receiveItem.id}: ${receiveItem.name}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: `${giveUser.username} is giving`,
|
name: "You Receive",
|
||||||
value: `${receiveItem.id}: ${receiveItem.name}`,
|
value: `${giveItem.id}: ${giveItem.name}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -63,19 +63,19 @@ export default class Trade extends Command {
|
||||||
const expiry = now.setMinutes(now.getMinutes() + 15);
|
const expiry = now.setMinutes(now.getMinutes() + 15);
|
||||||
|
|
||||||
const tradeEmbed = new EmbedBuilder()
|
const tradeEmbed = new EmbedBuilder()
|
||||||
.setTitle("Trade Offer")
|
.setTitle("⚠️ Trade Offer ⚠️")
|
||||||
.setDescription(`Trade initiated between ${interaction.user.username} and ${user.username}`)
|
.setDescription(`Trade initiated between ${interaction.user.username} and ${user.username}`)
|
||||||
.setColor(EmbedColours.Grey)
|
.setColor(EmbedColours.Grey)
|
||||||
.setImage("https://media1.tenor.com/m/KkZwKl2AQ2QAAAAd/trade-offer.gif")
|
.setImage("https://media1.tenor.com/m/KkZwKl2AQ2QAAAAd/trade-offer.gif")
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: `${interaction.user.username} is giving`,
|
name: "I Receive",
|
||||||
value: `${giveItem.id}: ${giveItem.name}`,
|
value: `${receiveItem.id}: ${receiveItem.name}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: `${user.username} is giving`,
|
name: "You Receive",
|
||||||
value: `${receiveItem.id}: ${receiveItem.name}`,
|
value: `${giveItem.id}: ${giveItem.name}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -109,13 +109,13 @@ export default class Trade extends Command {
|
||||||
.setImage("https://media1.tenor.com/m/KkZwKl2AQ2QAAAAd/trade-offer.gif")
|
.setImage("https://media1.tenor.com/m/KkZwKl2AQ2QAAAAd/trade-offer.gif")
|
||||||
.addFields([
|
.addFields([
|
||||||
{
|
{
|
||||||
name: `${receiveUsername} is giving`,
|
name: "I Receive",
|
||||||
value: `${giveCardNumber}: ${giveCardName}`,
|
value: `${receiveCardNumber}: ${receiveCardName}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: `${giveUsername} is giving`,
|
name: "You Receive",
|
||||||
value: `${receiveCardNumber}: ${receiveCardName}`,
|
value: `${giveCardNumber}: ${giveCardName}`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue