Skip to content
0:00 / 0:00

#discord.js#discordbot#opus

Discord JS - Playing Audio in a Voice Channel (2020) [Episode #50]

Worn Off Keys

22K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

58K views6 years ago1 recommendation

Web developmentProgramming languagesJavaScriptNode.js, Deno and BunHTTP, REST and GraphQL

How to make a Discord bot join a voice channel and play audio using Discord.js.

Learn how your bot can join a voice channel and play audio. 🔥 Source code download ➡ wornoffkeys.com/code?yt=WXohhIJ1-f4 🧠 Learn website dashboards + bot monetization ➡ levelupyourbot.com 🎵 ffmpeg download: ffmpeg.org/ 🙋‍♂️ Need help? Ask in our Discord community: wornoffkeys.com/discord 📺 Watch more Discord.JS videos here: wornoffkeys.com/playlist/djs 💡 Have an idea for a video or course? Request it here: wornoffkeys.com/content-request ------------------------------ 🕒 Timestamps: Introduction Getting our bot to join a voice channel Playing audio Outro #discordjs #discordbots #wornoffkeys FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.

Why it's here

1 person recommends this

What people say. Recommended for resolving the Discord.js Opus module error when playing audio.

Thomas Haireon Stack Overflow • Recommends

On “Error: Cannot find module '@discordjs/opus'”

Try this: npm install discordjs/opus I had the same issue "Error: Cannot find module '@discordjs/opus'" when trying to get my discord js bot to play an .mp3 file when a certain user was speaker Figured this solution out by watching this video. link to this video If you don't want to click on the link, just search "How to play audio in voice channel discord js" on youtube!