I'm not sure, but I think it may be possible to just move the irc specific and slack specific config bit into the irc and slack modules, and then clean up the main.hs a bit more.
I guess my main worry is that this will then be moving config-file implementation details into well the bot core, instead of being on the outer-skirt where it could be ok there (given separation of concerns) But given that i do have a config file module, it may make sense. I'll need to recover details there.
I did that already, with dumping in the parser blob into each module, now its two separate project, there should be less quams with this, since its now no longer in the bot core.
I'm not sure, but I think it may be possible to just move the irc specific and slack specific config bit into the irc and slack modules, and then clean up the main.hs a bit more.
I guess my main worry is that this will then be moving config-file implementation details into well the bot core, instead of being on the outer-skirt where it could be ok there (given separation of concerns) But given that i do have a config file module, it may make sense. I'll need to recover details there.