Ever found yourself in a group call on Discord, wishing you could set the mood with some music? Well, you're in luck! Discord provides a handy way to play music right within your server, using a bot. Let's dive into how you can do this.
Before we start, make sure you have the right permissions on your server. You'll need to be an admin or have the 'Use Sticky Voice Features' permission. Once you've checked that, let's get started!
Setting Up a Music Bot
The first step is to invite a music bot to your server. Discord doesn't have a built-in music player, so we'll need a bot to help us out. One popular choice is Rythm, but there are many others like Mee6 or Octave.
To invite Rythm, you can use this link: https://top.gg/bot/rythm. Click on 'Add to Discord', select the server you want to add it to, and give it the necessary permissions.
Giving the Bot Necessary Permissions
For the bot to work correctly, it needs specific permissions. Make sure to give it access to 'Use Voice', 'Read Text Channels and See Voice Channels', and 'Send Messages' in the channel where you want to play the music.
To do this, you can go to the server settings, click on 'Roles', then 'Permission Overwrite', and add the bot to the role with the required permissions.
Joining a Voice Channel
Before you can play music, the bot needs to be in a voice channel. You can invite it to a channel using the command '!join'.
If you want the bot to automatically join a channel when it's invited, you can use '!autojoin #channel-name'. This will make the bot join the specified channel whenever it's invited to the server.
Playing Music
Now that the bot is set up and in a voice channel, you're ready to start playing music! The basic command to play a song is '!play [song name/URL]'.
For example, to play 'Shape of You' by Ed Sheeran, you can use '!play shape of you'. The bot will start playing the song in the channel it's in.
Pausing, Resuming, and Stopping Music
To pause the music, use '!pause'. To resume, use '!resume'. If you want to skip to the next song, use '!skip'. To stop the music entirely, use '!stop'.
You can also see the currently playing song with '!nowplaying' and get a list of recently played songs with '!recent'.
Controlling Music with Your Voice
Some bots also support voice commands. With Rythm, you can say phrases like 'Play [song name]' or 'Pause' when you're connected to the same voice channel as the bot. This can be a handy feature if you're already muted or in a noisy environment.
To enable voice commands, use '!voice on'. You can turn them off with '!voice off'.
And there you have it! You're now ready to liven up your Discord calls with some tunes. So go on, get dancing, and enjoy your music!