NEW 📢 Black Friday: our launch offer ends 30 Nov. Up to 70% off your first month on every game!See plans
Black FridayUp to 70% off your first month, ends 30 NovEnds in 9d 02h 53mBlack FridayUp to 70% off your first month, ends 30 NovEnds in 9d 02h 53mBlack FridayUp to 70% off your first month, ends 30 NovEnds in 9d 02h 53m

Discord music bot not playing: fixes

Discord bot hostingUpdated Nov 6, 20266 min read

A music bot that joins but stays silent, or answers but never joins, almost always has one of the problems below. Start with the console: open Console, play a song in Discord, and read the first error that appears after your command, not the last one.

1. The bot joins the voice channel and leaves again

Since 2 March 2026 Discord only accepts voice connections from clients that support its end-to-end encryption, the DAVE protocol, and closes the others with code 4017, E2EE/DAVE protocol required. A bot on an older library joins, is refused, and often tries again in a loop.

  • JMusicBot: 0.4.3, its newest release (August 2024), has no DAVE support, so every JMusicBot does this. There is no setting that fixes it: How to host JMusicBot.
  • Red: Audio supports DAVE from Red 3.5.23. A reinstall puts the newest Red on your server: How to host Red.
  • Your own bot: update the voice library. discord.js needs @discordjs/voice 0.19.1 or newer (0.19.0 added DAVE, 0.19.1 installs its DAVE library automatically), discord.py needs 2.7.0 or newer installed as discord.py[voice], and a Lavalink client needs its DAVE release: How to connect your Discord bot to Lavalink.

2. The bot cannot join or speak in the voice channel

  • The bot needs Connect and Speak in that voice channel. A channel's own permissions can block it even when the bot's role allows it: open the channel's settings, Permissions, and check the bot and its role.
  • A full channel (user limit reached) also keeps the bot out.
  • If you invited the bot without voice permissions, invite it again: on the Bot tab, under Discord, Invite link, press Add to a Discord server. For Red and JMusicBot this link already asks for Connect, Speak and Use Voice Activity.

3. A setting or an intent is missing

  • JMusicBot needs [REQUIRED] Bot Owner ID under Bot, Code, Settings. Without it the bot does not start: the setup card keeps Start bot off and asks for it, and a start from Console stops with a line saying JMusicBot is not set up yet.
  • JMusicBot with a custom prefix such as ! ignores commands until Message Content Intent is on in the Developer Portal. Red needs all three privileged intents.

After changing a setting, press Save and restart the bot. All the fields: How to change a ready-made bot's settings.

4. The song itself cannot be played

What a bot can play depends on the bot and on each site, and sites change what they let bots do. Try another song, and a link from another site, before you change anything else. If one site fails and others play, the problem is that site, not your server.

On SoundCloud, many songs from big record labels are only 30-second previews or protected streams that no bot can play. Uploads by independent artists are not limited this way.

YouTube flags some requests and asks for a sign-in; the YouTube plugin's documentation describes this. On our servers, on 6 November 2026 (a 15-second start test per song, without a voice channel), a Lavalink node that was not signed in found 12 test songs and could start none; signed in with a spare Google account, it started every one of the 10 tests that completed. Red's own node has no sign-in setting and played none of 6 YouTube songs. For YouTube, use a Lavalink node signed in to YouTube: How to play YouTube on Lavalink 4.

5. Your own music bot is missing a voice package

If you wrote the bot yourself, Discord voice needs extra packages besides the main library. ffmpeg is already installed on Node.js and Python bot servers.

LibraryAdd to your packages
discord.js@discordjs/voice (0.19.1 or newer, which brings the DAVE library) and @discordjs/opus. console.log(generateDependencyReport()) from @discordjs/voice prints anything else that is missing.
discord.pydiscord.py[voice], 2.7.0 or newer (it brings PyNaCl and, for DAVE, davey)

Put them in package.json or requirements.txt, or in Packages under Bot, Code. If the panel shows A package your code needs is missing, press Open Packages. For a bot with many listeners, a separate Lavalink node takes the audio work off the bot: How to connect your Discord bot to Lavalink.

6. The bot runs out of memory or CPU

On Overview, the Usage card shows CPU, RAM and Storage against your plan. Music that stutters while CPU sits at the limit, or a bot that stops and shows Your bot ran out of memory, needs fewer listeners at once or a bigger plan: How much RAM does a Discord bot need?

7. It plays, but it sounds bad

Lower the bot's own volume (the volume command with your prefix, on JMusicBot or Red), check the volume you set for the bot in Discord (right-click the bot in the voice channel), and check the channel's bitrate in its settings. A higher bitrate needs a higher server boost level.

Still stuck

Open a ticket with the console lines from the moment you pressed play, the bot type and the song link: How to open a support ticket. We keep the server running; what each music site allows is up to that site.

Guides for each bot: JMusicBot, Red, and both side by side: How to set up a ready-made music bot. Using a Lavalink node? See Lavalink errors and what they mean.

Already hosting your bot somewhere else? Move it to us

OUR LATEST BLOGS