aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js5
1 files 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