mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Fixed ffmpeg/avconv confusions
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user