aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-20 00:11:36 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-20 00:11:36 -0400
commit47dbf3bc875078a66797907b20861c021bfe8817 (patch)
tree4546a8100a53454316c114da07840d24a97cc710
parent059ad0e3bedd7a175cc896399c1df7a56c5d43a3 (diff)
downloadDLAP-47dbf3bc875078a66797907b20861c021bfe8817.tar.gz
DLAP-47dbf3bc875078a66797907b20861c021bfe8817.tar.bz2
DLAP-47dbf3bc875078a66797907b20861c021bfe8817.zip
Fixing some stuff
-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