Gambot icon indicating copy to clipboard operation
Gambot copied to clipboard

Channel Log Plugin

Open TaylorWorthing opened this issue 10 years ago • 1 comments

A plugin implementation for logging channel conversations, joins/parts, and actions in a format similar to client output as opposed to raw IRC.

TaylorWorthing avatar Sep 05 '14 14:09 TaylorWorthing

So there's two routes to go with this:

An actual PluginParser plugin that keeps logs

  1. Con: Takes up extra file space with double logging
  2. Pro: Easy to implement
  3. Pro: We're already parsing messages there

A new logging module (see modules/Gambot/LoggerBasic.pm)

  1. Con: Requires parsing every IRC message inside the bot core in addition to the normal message parser operations
  2. Pro: Less file usage
  3. Con: How to handle non-message bot logs?
  4. Con: Requires module loading/unloading/swapping/choosing logic
  5. Pro: Showcases the modularity of the Gambot core

grickit avatar Sep 05 '14 15:09 grickit