Skip to content

Commit 85ecffb

Browse files
authored
Merge pull request #88 from yoshman8/main
Fix parts scrabbledex shenanigans
2 parents 2e799c2 + c1f59ce commit 85ecffb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ps/commands/games/other.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export const command: PSCommand[] = [
239239
if (!IS_ENABLED.DB) throw new ChatError($T('DISABLED.DB'));
240240
const target = toId(arg) || message.author.id;
241241
const allEntries = await getScrabbleDex();
242-
const results = allEntries!.filter(entry => entry.by === (target === 'yoshman8' ? 'audiino' : target));
242+
const results = allEntries!.filter(entry => entry.by === target);
243243
const grouped = mapValues(
244244
results.map(res => res.pokemonName.toUpperCase()).groupBy(mon => toId(mon).length),
245245
mons => mons?.unique().sort()

0 commit comments

Comments
 (0)