Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ps/commands/games/other.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down