Typescript automatic environment detection
As of version 7.0.0, if you are using typescript, it will no longer be necessary to define ./src
or ./dist
, these will be extracted automatically from the tsconfig.json
file. An example of this is below:
bot.loadCommands('commands', files => {
console.log(files);
});