From 1529dcca8f135e1e13f3ce47b5a420729f875353 Mon Sep 17 00:00:00 2001 From: baz Date: Sat, 16 Dec 2023 20:34:57 +0000 Subject: [PATCH] Remove comment --- commands/100-games/gameDetails.js | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/100-games/gameDetails.js b/commands/100-games/gameDetails.js index adf70bd..30afcdd 100644 --- a/commands/100-games/gameDetails.js +++ b/commands/100-games/gameDetails.js @@ -30,7 +30,6 @@ module.exports = { if (!games[0]) return interaction.followUp('No game found.'); - // await games.sort((a, b) => parseInt(b.total_rating_count) - parseInt(a.total_rating_count)); await games.sort((a, b) => { return (a.total_rating_count == null) - (b.total_rating_count == null) || +(a.total_rating_count > b.total_rating_count) || -(a.total_rating_count < b.total_rating_count); });