Add a /search command that searches captured notes across all daily Drive files and returns dated matches.
Why: a second brain is only useful if you can find things in it.
Scope:
- New
search.py; register in bot.py.
- List markdown files in the Drive folder, scan recent files (cap ~60), case-insensitive substring match on message blocks.
- Reply up to N hits with the file date + snippet, and a total count.
Auth-gated.
Add a
/searchcommand that searches captured notes across all daily Drive files and returns dated matches.Why: a second brain is only useful if you can find things in it.
Scope:
search.py; register inbot.py.Auth-gated.