Gambot
Gambot copied to clipboard
Channel Log Plugin
A plugin implementation for logging channel conversations, joins/parts, and actions in a format similar to client output as opposed to raw IRC.
So there's two routes to go with this:
An actual PluginParser plugin that keeps logs
- Con: Takes up extra file space with double logging
- Pro: Easy to implement
- Pro: We're already parsing messages there
A new logging module (see modules/Gambot/LoggerBasic.pm)
- Con: Requires parsing every IRC message inside the bot core in addition to the normal message parser operations
- Pro: Less file usage
- Con: How to handle non-message bot logs?
- Con: Requires module loading/unloading/swapping/choosing logic
- Pro: Showcases the modularity of the Gambot core