You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varstream=ytdl(url);varvoiceChannel=message.member.voiceChannel;voiceChannel.join().then(connection=>{console.log("joined channel and playing video");constdispatcher=connection.playStream(stream);dispatcher.on("end",end=>{console.log("left channel");voiceChannel.leave();});}).catch(err=>console.log(err));
(url is the user input)
And it runs prefectly on Windows 10 Version 1703 (OS Build 15063.674).
When i try to run it on my Raspberry Pi 3b, however, it joins the channel, and instantly leaves. Here's the output from console i get from the pi:
Bot has started, with 106 users, in 44 channels of 3 guilds.
joined channel and playing video
left channel
Now playing "Ultimate Best of 20Syl / 2011-2015 / HQ Audio quality (1080p)"
The text was updated successfully, but these errors were encountered:
I have all dependencies installed and listen in package.json, and am using the exact same files on my windows machine as on my pi. This issue describes pretty much the same thing.
I have my discord bot with this:
(url is the user input)
And it runs prefectly on Windows 10 Version 1703 (OS Build 15063.674).
When i try to run it on my Raspberry Pi 3b, however, it joins the channel, and instantly leaves. Here's the output from console i get from the pi:
The text was updated successfully, but these errors were encountered: