Environment
Not runtime-specific — found by reading src/filters.ts / src/index.ts at af5c15a, verified with bun test locally (Bun 1.4.2, Linux). Not a live Discord repro.
Steps to reproduce
/watch link:<valid BMS movie link> date:any days:weekend
- The watch is created, no error.
/list shows it with no day filter.
Also: /watch … days:fri,xyz creates a watch filtered to Friday only — the xyz is dropped silently.
Expected behaviour
/watch rejects a days: value it can't fully read and says so, the way after: / before: already do (added in #84, with the rationale "a watch that quietly ignores 'after 18:00' fires at 10am and looks broken"). No watch is saved.
Actual behaviour
normaliseDays keeps whichever comma-separated tokens are real weekday abbreviations and discards the rest. When none survive it returns null, which cmdWatch can't tell apart from "no days: given", so the watch is saved unfiltered. When some survive, the watch is silently narrowed to just those.
days is a free-text autocomplete option (src/register.ts), so any string reaches the handler.
Bot logs
n/a — nothing is logged; that's the bug.
Environment
Not runtime-specific — found by reading
src/filters.ts/src/index.tsataf5c15a, verified withbun testlocally (Bun 1.4.2, Linux). Not a live Discord repro.Steps to reproduce
/watch link:<valid BMS movie link> date:any days:weekend/listshows it with no day filter.Also:
/watch … days:fri,xyzcreates a watch filtered to Friday only — thexyzis dropped silently.Expected behaviour
/watchrejects adays:value it can't fully read and says so, the wayafter:/before:already do (added in #84, with the rationale "a watch that quietly ignores 'after 18:00' fires at 10am and looks broken"). No watch is saved.Actual behaviour
normaliseDayskeeps whichever comma-separated tokens are real weekday abbreviations and discards the rest. When none survive it returnsnull, whichcmdWatchcan't tell apart from "nodays:given", so the watch is saved unfiltered. When some survive, the watch is silently narrowed to just those.daysis a free-text autocomplete option (src/register.ts), so any string reaches the handler.Bot logs
n/a — nothing is logged; that's the bug.