Originally, commands had to be defined in a single module.exports statement. This is no longer the case, and ideally, all constant/static values should be defined within the command file itself, or moving into some kind of JSON file, or creating some kind of a module.
This system is fully deprecated by now.
Originally, commands had to be defined in a single
module.exports
statement. This is no longer the case, and ideally, all constant/static values should be defined within the command file itself, or moving into some kind of JSON file, or creating some kind of a module.