aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-26 21:44:52 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-26 21:44:52 -0400
commita6cbb54c1d4c125d27958215d9c6531534d4abfb (patch)
treeb810cb7fcb177eb14a7e38ac1c0e18e0f98a0d65
parent0a30b21f7086adf576798d82e49b20a1eade4272 (diff)
downloadPokeBot-a6cbb54c1d4c125d27958215d9c6531534d4abfb.tar.gz
PokeBot-a6cbb54c1d4c125d27958215d9c6531534d4abfb.tar.bz2
PokeBot-a6cbb54c1d4c125d27958215d9c6531534d4abfb.zip
fix
-rw-r--r--Plugins/Music.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugins/Music.js b/Plugins/Music.js
index 6d18146..8b7e77e 100644
--- a/Plugins/Music.js
+++ b/Plugins/Music.js
@@ -30,8 +30,8 @@ exports.resolveTrack = async (term, sc) => {
exports.play = async (bot, msg, track) => {
const player = await bot.player.join({
- guild: msg.guild.id,
- channel: msg.member.voiceChannelID,
+ guild_id: msg.guild.id,
+ channel_id: msg.member.voiceChannelID,
host: 'localhost',
});
if (!bot.queue.has(msg.guild.id)) {