diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-07-20 00:11:36 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-07-20 00:11:36 -0400 |
| commit | 47dbf3bc875078a66797907b20861c021bfe8817 (patch) | |
| tree | 4546a8100a53454316c114da07840d24a97cc710 /bot.js | |
| parent | 059ad0e3bedd7a175cc896399c1df7a56c5d43a3 (diff) | |
| download | DLAP-47dbf3bc875078a66797907b20861c021bfe8817.tar.gz DLAP-47dbf3bc875078a66797907b20861c021bfe8817.tar.bz2 DLAP-47dbf3bc875078a66797907b20861c021bfe8817.zip | |
Fixing some stuff
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 |
