Code:
fs.readdir(\'./commands/\', (err, files) => { // Do something... });
Error:
ENOENT: no such file or directory,
try with __dirname:
fs.readdir(__dirname +'/commands/', (err, files) => { // Do something... })