]> git.cworth.org Git - turbot/commit
Add search terms to the /hunt command
authorCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2021 16:31:34 +0000 (08:31 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2021 18:19:02 +0000 (10:19 -0800)
commit4db58774a54d2c8505ee61aff3019723b1b552eb
tree835cc14479c76c67243ac4bd41f937222cd91540
parent5d6f1998fd62bc055e1253e6bfa1ac0d1c52a6d3
Add search terms to the /hunt command

Now, `/hunt <search-term>` can be used to list puzzles matching
<search-term>. As before, it will display only unsolved puzzles by
default, but `/hunt all <search-term>` or `/hunt solved <search-term>`
can be used to display other puzzles as well.
turbot/hunt.py
turbot/interaction.py
turbot/puzzle.py