diff options
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,8 +18,8 @@ function fetchAudio() { fs.readdir('./music', (err, files) => { if (err) console.error(err); files.forEach(function (file) { - console.log(`Fetching ${file}`); - }); + console.log(`Fetching ${file}`); + }); }); } @@ -77,6 +77,7 @@ client.on('message', async msg => { console.log("Leaving voice channel."); channel.leave(); } + }); client.login(config.token);
\ No newline at end of file |
