1
0
Fork 1

Oh right, use the series name in the message

This commit is contained in:
Emi Matchu 2025-01-22 16:45:33 -08:00
parent a4c3c31279
commit 667f562a88

View file

@ -304,16 +304,17 @@ function getSearchNCStylesMessage(query, altStyles) {
); );
} }
// NOTE: This won't work on multi-word series names, of which there are // NOTE: This won't work on multi-word series main names, of which there
// currently none. // are currently none. (Some *series names* like Prismatics are
// multi-word, but their *main* name is not.)
const seriesWord = seriesMainNames.find((n) => const seriesWord = seriesMainNames.find((n) =>
queryWords.includes(n.toLowerCase()), queryWords.includes(n.toLowerCase()),
); );
if (seriesWord != null) { if (seriesWord != null) {
return ( return (
<> <>
If you're looking for NC Styles, check the emotion picker below the pet If you're looking for {seriesWord} NC Styles, check the emotion picker
preview! below the pet preview!
</> </>
); );
} }