zigdon / xkcd-Bucket

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

Add pre_expand signal for filtering tidbits #100

Closed dgw closed 7 years ago

dgw commented 7 years ago

New signal called before expanding variables in a factoid. The tidbit itself is passed in as a reference.

Added for use by my plugin that implements the new syntax described in #89.

dgw commented 7 years ago

Ping @zigdon, is there anything you'd change about this before I merge it?