From 6d2668f5cb83ee7d9279d8aad52e23e76516dcbf Mon Sep 17 00:00:00 2001 From: baz Date: Sun, 11 Feb 2024 21:58:18 +0000 Subject: [PATCH] Remove release date check from planGame --- commands/100-games/planGame.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/100-games/planGame.js b/commands/100-games/planGame.js index e7aea7f..cc91cb2 100644 --- a/commands/100-games/planGame.js +++ b/commands/100-games/planGame.js @@ -36,9 +36,6 @@ module.exports = { if (!res[0]) return interaction.followUp({ content: 'No game found for the options supplied.', ephemeral: true }); const game = res[0]; - const release_date = game.first_release_date; - if (!release_date || (release_date * 1000) > Date.now()) return interaction.followUp({ content: `${game.name} is not yet released.`, ephemeral: true }); - const gameDatabaseEntry = await checkGameStorage(game); if (!(await createPlanningGameEntry(userDatabaseEntry, gameDatabaseEntry))) return interaction.followUp({ content: `${game.name} already planned.`, ephemeral: true });