diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-11 20:46:55 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-11 20:46:55 -0400 |
| commit | a687cb0faa5e55986b7e92fa07146dcf3e5c043e (patch) | |
| tree | 213099a9e66ae4562e2d83da9fb1094c56b23b51 | |
| parent | 908bec2e72fec62c2d02d176192c057dccb82518 (diff) | |
| download | PokeBot-a687cb0faa5e55986b7e92fa07146dcf3e5c043e.tar.gz PokeBot-a687cb0faa5e55986b7e92fa07146dcf3e5c043e.tar.bz2 PokeBot-a687cb0faa5e55986b7e92fa07146dcf3e5c043e.zip | |
fixed
| -rw-r--r-- | Plugins/Music.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Music.js b/Plugins/Music.js index cfffb19..069957e 100644 --- a/Plugins/Music.js +++ b/Plugins/Music.js @@ -40,7 +40,7 @@ exports.play = async (bot, msg, track) => { player.play(bot.queue.get(msg.guild.id).shift()); player.on('end', () => { if (bot.queue.get(msg.guild.id)[0]) { - player.play(bot.queue.get(msg.guild.id).shift()); + player.play(bot, msg, bot.queue.get(msg.guild.id).shift()); } else { player.leave(msg.guild.id); |
