Music

Music is a main feature of Discord, allowing the functionality to play, pause and search for songs and make the bot play them in a voice channel.

How does this work?

We use a video/audio encoding/decoding engine called FFmpeg to encode and decode songs searched from the Google search index or from song links on the fly.

We then use the decoded audio and push it to Discord's audio rendering API. This allows Discord to look at the decoded file and play it to a user in a voice channel whilst encoding the audio.

What are the commands for music functionality?

Command Name

Description

play

Play's a song from searching or from a YouTube/Spotify link.

pause

Pause's the song playing.

resume

Resume's the song playing.

stop

Stop's the song and disconnects from the voice channel.

queue

Show's you the queue for the server.

clear-queue

Clear's the queue for the server.

repeat

Repeats the song or queue.

disrepeat

Disable's repeat for the server.

now-playing

Show's you the song that is currently playing.

skip

Skips the song.

volume

Change the volume of the bot.

Last updated