zigdon / xkcd-Bucket

Bucket is the channel bot for #xkcd
http://wiki.xkcd.com/irc/Bucket
121 stars 31 forks source link

Lookups should use "what was that" output format #95

Closed dgw closed 6 years ago

dgw commented 7 years ago

When using the Bucket, lookup #nnn form of factoid fetching, I think the output could be improved by imitating what happens when doing a Bucket, what was that?. See the comparison:

<dgw> pls
* Bucket pleases dgw
<dgw> Bucket, what was that?
<Bucket> dgw: That was 'pls' (#7559): <action> pleases $who
<dgw> Bucket, lookup #7559
* Bucket pleases dgw

It's really handy to have the fact in there, but with how lookup works right now one must do Bucket, lookup #123 followed immediately by Bucket, what was that? to get all the details.

This is something I'll probably tackle in my own instance first, toying with the exact phrasing, but I'm thinking of roughly this:

<dgw> Bucket, lookup #7559
<Bucket> dgw: #7559 ('pls'): <action> pleases $who
dgw commented 6 years ago

Self-assigning—looks like something I can work on for Hacktoberfest.