From 47dbf3bc875078a66797907b20861c021bfe8817 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 20 Jul 2020 00:11:36 -0400 Subject: Fixing some stuff --- bot.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index 62c3a77..643aeec 100644 --- a/bot.js +++ b/bot.js @@ -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 -- cgit v1.2.3