Open jonathonmcmurray opened 6 years ago
Config for the worker functions may help keep them separated (related to my other comment).
Chat action dictionary tf
is also quite large, may be a candidate too. Although it is quite fractured across the codebase.
Counter point - if (as discussed in issue #31) we have a separate script for each worker, could worker name be set by a callback function (similar to my suggestion there for an addapi
function)? This would mean everything is completely contained within the q script for a given worker, so adding/removing a worker is a single file job
Help message?
EDIT: Gonna open a new issue related to help messages... -> #34
Currently all the bots are named in code like so:
This seems unwieldy and is perhaps a prime candidate for movement into a config file? Should be simple to convert enough to convert to e.g. a CSV & parse.
There are potentially other candidates of mappings like this that could be in configs rather than defined inline in the code
Thoughts? Or a better way to do this?