Closed barrucadu closed 8 years ago
This is actually less trivial than I thought if we also want to log messages yukibot sends, as at the moment there is no way to hook into that information.
One way that doesn't require changing the current architecture is to redirect stdout, and process that (as it is a complete log), but that's messy and requires reading serialised messages.
Would it be possible to have plugins trigger when reply
is called?
At the moment, no; but a notion of outgoing event handlers could be introduced.
Now that yukibot is lurking in #hacksoc-committee, optional logging would be really useful.