It would be excellent if instead of having a big switch in the middle of app.js we could have a commands.js file that contains all the commands in their own objects. Command objects should have the function they will run, a description of what they do (to be later used in /help, and preferably a list of built-in aliases for each command.
It would be excellent if instead of having a big switch in the middle of app.js we could have a
commands.js
file that contains all the commands in their own objects. Command objects should have the function they will run, a description of what they do (to be later used in/help
, and preferably a list of built-in aliases for each command.