Fixed ffmpeg/avconv confusions

This commit is contained in:
hydrabolt
2015-11-08 16:40:40 +00:00
parent 36e40d1b35
commit ad536445d9
3 changed files with 6 additions and 4 deletions

View File

@@ -39,8 +39,8 @@ client.on("message", m => {
if (client.internal.voiceConnection) {
var connection = client.internal.voiceConnection;
connection.playFile(rest).then(intent => {
var request = require("request");
connection.playRawStream(request(rest)).then(intent => {
client.reply(m, "playing!").then((msg) => {
intent.on("end", () => {