From 8be3803762992a5ccc9d67b37e4924c5dbdaa950 Mon Sep 17 00:00:00 2001 From: yoshman8 Date: Fri, 3 Oct 2025 20:30:48 +0100 Subject: [PATCH 1/2] Fix parts scrabbledex shenanigans --- src/ps/commands/games/other.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ps/commands/games/other.tsx b/src/ps/commands/games/other.tsx index 2185cb1..e3b53af 100644 --- a/src/ps/commands/games/other.tsx +++ b/src/ps/commands/games/other.tsx @@ -239,7 +239,7 @@ export const command: PSCommand[] = [ if (!IS_ENABLED.DB) throw new ChatError($T('DISABLED.DB')); const target = toId(arg) || message.author.id; const allEntries = await getScrabbleDex(); - const results = allEntries!.filter(entry => entry.by === (target === 'yoshman8' ? 'audiino' : target)); + const results = allEntries!.filter(entry => entry.by); const grouped = mapValues( results.map(res => res.pokemonName.toUpperCase()).groupBy(mon => toId(mon).length), mons => mons?.unique().sort() From c1f59ce7f025e29fd3c34bd198cc49be046259e1 Mon Sep 17 00:00:00 2001 From: yoshman8 Date: Fri, 3 Oct 2025 21:33:36 +0100 Subject: [PATCH 2/2] Fix parts scrabbledex meaningful contributions --- src/ps/commands/games/other.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ps/commands/games/other.tsx b/src/ps/commands/games/other.tsx index e3b53af..c5b305c 100644 --- a/src/ps/commands/games/other.tsx +++ b/src/ps/commands/games/other.tsx @@ -239,7 +239,7 @@ export const command: PSCommand[] = [ if (!IS_ENABLED.DB) throw new ChatError($T('DISABLED.DB')); const target = toId(arg) || message.author.id; const allEntries = await getScrabbleDex(); - const results = allEntries!.filter(entry => entry.by); + const results = allEntries!.filter(entry => entry.by === target); const grouped = mapValues( results.map(res => res.pokemonName.toUpperCase()).groupBy(mon => toId(mon).length), mons => mons?.unique().sort()