diff --git a/commands/100-games/deletebeatengame.js b/commands/100-games/deletebeatengame.js index f55142e..29ebdb8 100644 --- a/commands/100-games/deletebeatengame.js +++ b/commands/100-games/deletebeatengame.js @@ -38,10 +38,13 @@ module.exports = { .setColor(0xFF0000) .setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() }) .setTitle(`${game.name} deleted!`) - .setDescription(`${interaction.user.displayName} has ${planNum} game(s) planned, they are playing ${playNum} game(s), they have beaten ${beatNum} game(s), they have ${100 - beatNum} game(s) remaining.`) .setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() }) .setTimestamp(); + embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true }); + embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true }); + embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true }); + if (game.cover) { const coverUrl = await getCoverURL(game.cover); embed.setThumbnail(`${coverUrl}`); diff --git a/commands/100-games/deleteplannedgame.js b/commands/100-games/deleteplannedgame.js index 6d1c90f..444febd 100644 --- a/commands/100-games/deleteplannedgame.js +++ b/commands/100-games/deleteplannedgame.js @@ -65,10 +65,13 @@ module.exports = { .setColor(0xFF0000) .setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() }) .setTitle(`${game.name} deleted!`) - .setDescription(`${interaction.user.displayName} has ${planNum} game(s) planned, they are playing ${playNum} game(s), they have beaten ${beatNum} game(s), they have ${100 - beatNum} game(s) remaining.`) .setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() }) .setTimestamp(); + embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true }); + embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true }); + embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true }); + if (game.cover) { const coverUrl = await getCoverURL(game.cover); embed.setThumbnail(`${coverUrl}`); diff --git a/commands/100-games/deleteplayinggame.js b/commands/100-games/deleteplayinggame.js index 5b2f052..4dfc0a3 100644 --- a/commands/100-games/deleteplayinggame.js +++ b/commands/100-games/deleteplayinggame.js @@ -38,10 +38,13 @@ module.exports = { .setColor(0xFF0000) .setAuthor({ name: `${interaction.user.displayName} deleted a game!`, iconURL: interaction.user.avatarURL() }) .setTitle(`${game.name} deleted!`) - .setDescription(`${interaction.user.displayName} has ${planNum} game(s) planned, they are playing ${playNum} game(s), they have beaten ${beatNum} game(s), they have ${100 - beatNum} game(s) remaining.`) .setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() }) .setTimestamp(); + embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true }); + embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true }); + embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true }); + if (game.cover) { const coverUrl = await getCoverURL(game.cover); embed.setThumbnail(`${coverUrl}`);