diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-26 21:49:33 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-26 21:49:33 -0400 |
| commit | 2377206728fc285b1a0867ef5e7081c365e8f450 (patch) | |
| tree | 88a62c986114f049596d1b67be1570443b5aa80d /Plugins | |
| parent | a6cbb54c1d4c125d27958215d9c6531534d4abfb (diff) | |
| download | PokeBot-2377206728fc285b1a0867ef5e7081c365e8f450.tar.gz PokeBot-2377206728fc285b1a0867ef5e7081c365e8f450.tar.bz2 PokeBot-2377206728fc285b1a0867ef5e7081c365e8f450.zip | |
stupid things
Diffstat (limited to 'Plugins')
| -rw-r--r-- | Plugins/Music.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Plugins/Music.js b/Plugins/Music.js index 8b7e77e..25164b7 100644 --- a/Plugins/Music.js +++ b/Plugins/Music.js @@ -30,8 +30,10 @@ exports.resolveTrack = async (term, sc) => { exports.play = async (bot, msg, track) => { const player = await bot.player.join({ - guild_id: msg.guild.id, - channel_id: msg.member.voiceChannelID, + d: { + guild_id: msg.guild.id, + channel_id: msg.member.voiceChannelID, + }, host: 'localhost', }); if (!bot.queue.has(msg.guild.id)) { |
