From d3b322bc7993f859af97bdf0eaeaddc9050779ae Mon Sep 17 00:00:00 2001 From: baz Date: Sat, 15 Nov 2025 16:24:00 +0000 Subject: [PATCH] Fiddle with beatgame game_type filtering --- commands/100-games/beatGame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/100-games/beatGame.js b/commands/100-games/beatGame.js index 457f764..bf66163 100644 --- a/commands/100-games/beatGame.js +++ b/commands/100-games/beatGame.js @@ -37,7 +37,7 @@ module.exports = { body = body.concat('fields *;'); let res = await getGameJson(body); - res = res.filter(entry => entry.status !== 6); + res = res.filter(entry => entry.game_type == 0); res.sort((a, b) => parseInt(b.total_rating_count) - parseInt(a.total_rating_count)); if (!res[0]) return interaction.editReply({ content: 'No game found for the options supplied.', ephemeral: true });