From 2cdf9fcab234360ca9a5a906ca97ca6d1b3f2b74 Mon Sep 17 00:00:00 2001 From: baz Date: Mon, 18 Mar 2024 20:47:32 +0000 Subject: [PATCH] Update uses of Games to Game(s) --- commands/100-games/beatGame.js | 6 +++--- commands/100-games/deletebeatengame.js | 2 +- commands/100-games/deleteplannedgame.js | 2 +- commands/100-games/deleteplayinggame.js | 2 +- commands/100-games/planGame.js | 6 +++--- commands/100-games/recentbeat.js | 6 +++--- commands/100-games/recentplanned.js | 6 +++--- commands/100-games/recentplaying.js | 6 +++--- commands/100-games/startplaying.js | 6 +++--- commands/100-games/user.js | 6 +++--- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/commands/100-games/beatGame.js b/commands/100-games/beatGame.js index 0a0c3f6..0b75f4d 100644 --- a/commands/100-games/beatGame.js +++ b/commands/100-games/beatGame.js @@ -64,9 +64,9 @@ module.exports = { embed.setThumbnail(`${coverUrl}`); } - embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + 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 }); await interaction.followUp({ embeds: [embed] }); diff --git a/commands/100-games/deletebeatengame.js b/commands/100-games/deletebeatengame.js index c1af52b..fca8e75 100644 --- a/commands/100-games/deletebeatengame.js +++ b/commands/100-games/deletebeatengame.js @@ -38,7 +38,7 @@ 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} games planned, they are playing ${playNum} games, they have beaten ${beatNum} games, they have ${100 - beatNum} games remaining.`) + .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(); diff --git a/commands/100-games/deleteplannedgame.js b/commands/100-games/deleteplannedgame.js index 588294c..c036a01 100644 --- a/commands/100-games/deleteplannedgame.js +++ b/commands/100-games/deleteplannedgame.js @@ -38,7 +38,7 @@ 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} games planned, they are playing ${playNum} games, they have beaten ${beatNum} games, they have ${100 - beatNum} games remaining.`) + .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(); diff --git a/commands/100-games/deleteplayinggame.js b/commands/100-games/deleteplayinggame.js index 7f5a93a..1b6e955 100644 --- a/commands/100-games/deleteplayinggame.js +++ b/commands/100-games/deleteplayinggame.js @@ -38,7 +38,7 @@ 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} games planned, they are playing ${playNum} games, they have beaten ${beatNum} games, they have ${100 - beatNum} games remaining.`) + .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(); diff --git a/commands/100-games/planGame.js b/commands/100-games/planGame.js index ca64229..1666bf4 100644 --- a/commands/100-games/planGame.js +++ b/commands/100-games/planGame.js @@ -53,9 +53,9 @@ module.exports = { .setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() }) .setTimestamp(); - embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + 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); diff --git a/commands/100-games/recentbeat.js b/commands/100-games/recentbeat.js index 48d22a4..0a76d3f 100644 --- a/commands/100-games/recentbeat.js +++ b/commands/100-games/recentbeat.js @@ -42,9 +42,9 @@ module.exports = { embed.setThumbnail(`${coverUrl}`); } - embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + 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 }); return interaction.reply({ embeds: [embed] }); }, diff --git a/commands/100-games/recentplanned.js b/commands/100-games/recentplanned.js index b1595b0..11d5b0d 100644 --- a/commands/100-games/recentplanned.js +++ b/commands/100-games/recentplanned.js @@ -42,9 +42,9 @@ module.exports = { embed.setThumbnail(`${coverUrl}`); } - embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + 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 }); return interaction.reply({ embeds: [embed] }); }, diff --git a/commands/100-games/recentplaying.js b/commands/100-games/recentplaying.js index 9c6a4e5..d3df19c 100644 --- a/commands/100-games/recentplaying.js +++ b/commands/100-games/recentplaying.js @@ -42,9 +42,9 @@ module.exports = { embed.setThumbnail(`${coverUrl}`); } - embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + 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 }); return interaction.reply({ embeds: [embed] }); }, diff --git a/commands/100-games/startplaying.js b/commands/100-games/startplaying.js index 38a3946..02f3c98 100644 --- a/commands/100-games/startplaying.js +++ b/commands/100-games/startplaying.js @@ -56,9 +56,9 @@ module.exports = { .setFooter({ text: 'The Ochulus • 100 Games Challenge', iconURL: interaction.client.user.avatarURL() }) .setTimestamp(); - embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + 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); diff --git a/commands/100-games/user.js b/commands/100-games/user.js index 77c9596..45294ed 100644 --- a/commands/100-games/user.js +++ b/commands/100-games/user.js @@ -31,9 +31,9 @@ module.exports = { embed.setTitle(`User Info for ${user.displayName}`); embed.setThumbnail(user.avatarURL()); - if (planNum >= 0) embed.addFields({ name: 'Planned', value: `${planNum} games`, inline: true }); - if (playNum >= 0) embed.addFields({ name: 'Now Playing', value: `${playNum} games`, inline: true }); - if (beatNum >= 0) embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} games remaining)`, inline: true }); + if (planNum >= 0) embed.addFields({ name: 'Planned', value: `${planNum} game(s)`, inline: true }); + if (playNum >= 0) embed.addFields({ name: 'Now Playing', value: `${playNum} game(s)`, inline: true }); + if (beatNum >= 0) embed.addFields({ name: 'Beaten', value: `${beatNum}/100 (${100 - beatNum} game(s) remaining)`, inline: true }); if (gameDatabaseEntry) embed.addFields({ name: 'Last Beat Game', value: `${gameDatabaseEntry.name}`, inline: true }); if (beatenGamesDatabaseEntries && beatenGamesDatabaseEntries.length > 0) {