Closed bclindner closed 6 years ago
I think I'm gonna go ahead with this. As it is, the way the handler functions are implemented (as functions in the index.js system), things are gonna get really messy in the index file. Best practice is keep as much business code out of the index.js file as possible, AFAICT.
Nope. I'll have to figure something else out for now - this is more trouble than it's worth.
A base class for deriving custom command modules off of would be nice. Being able to define a custom module that automatically registers itself with the bot upon construction and has functions for handling input might be helpful later on, but I'm not sure it'd be worth the extra dev time.