Want a Discord music bot for your server without having to run it on your own PC? With a Discord bot server from ZAP-Hosting, you can install the music bot JMusicBot from our Marketplace in just a few clicks. No custom code or manual hosting required. JMusicBot plays music from YouTube, SoundCloud, Bandcamp, Twitch, and internet radio, and is controlled using slash commands such as /play.
EvoBot currently doesn't play music. The EvoBot preset can only play YouTube, and YouTube playback is currently not working with it. Use JMusicBot for music instead.
If you don't have a Discord bot server yet, you can order one through our shop as usual. For details about ordering, see the article Discord Bot Server: Introduction.
For JMusicBot to sign in to Discord, you need your own bot application with a Discord bot token:
- Open the Discord Developer Portal and sign in.
- Create a new application (or select an existing one).
- Go to Bot → Token → Reset Token and copy the token.
- On the same page, enable Message Content Intent under Privileged Gateway Intents, then click Save Changes. Without this intent, Discord will reject the sign-in and the bot won't start.
Never share your bot token with anyone. It works like a password for your bot. If it falls into the wrong hands, someone could take over your bot.
To let your bot join your server, you need to authorize it once using an invite link. Create this link in the Developer Portal under OAuth2 → URL Generator: select the bot scope and at least the permissions to read and send messages, Embed Links, Connect, and Speak. Open the generated link, select your server, and click Authorize.
JMusicBot also needs your Discord User ID so it knows who owns it. As the owner, you can use owner commands and will later receive the code for linking your Google account in a direct message.
- Open User Settings in Discord (the gear icon next to your name).
- Under Advanced (called Developer in newer Discord versions), turn on Developer Mode.
- Click your avatar in the bottom-left corner and select Copy User ID.
Your User ID is a 17- to 20-digit number, not your username.
In your Discord bot server dashboard, open the Marketplace tab, search for JMusicBot, and click Install.
Only one Marketplace preset can be active at a time on each Discord bot server. If you want to use a different preset later, remove JMusicBot first using the Remove button.
The installation runs automatically in the background. The preset sets the runtime environment (Java) and startup file (JMusicBot.jar) for you, so you don't need to configure anything here.
Open the Settings tab on your Discord bot server. Under Bot configuration, enter:
- Discord Bot Token: the token from the Developer Portal
- Owner User ID: your Discord User ID
Then click Save.
Start your bot using the green Start button in the dashboard. After a short while, the status in the top-right corner will show Online.
You can view your bot's live output at any time in the Console tab. For example, this lets you see if the token was entered incorrectly or if the Message Content Intent is missing.
YouTube requires bots on servers to sign in to play most videos. That's why JMusicBot links a Google account once when it first starts:
- Start the bot. Once it's connected to Discord, it will show a code in the Console tab and also send it to you in a Discord direct message.
- Go to google.com/device, enter the code, and sign in with a Google account.
- Confirm access. Your bot can now play YouTube.
We recommend using a secondary account rather than your personal Google account. You only need to link it once, and the connection will remain saved.
SoundCloud, Bandcamp, Twitch, and internet radio also work without a Google account.
Join a voice channel on your Discord server and enter /play followed by a song title or a link. The first time, it may take about a minute for the slash commands to appear in Discord.
