> For the complete documentation index, see [llms.txt](https://docs.bluedev.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bluedev.xyz/premade-bots/music-bot.md).

# Music Bot

## Requirements

### Google API key

A Google API key is required for the searching of videos (-music play \<query>) and for YouTube playlist support (-music play \<Link to a YouTube playlist>).

Information on how to generate one is located [Here](https://developers.google.com/youtube/registering_an_application) (API key)

### Genius API access token

A Genius API access token is needed for the bot to retrieve the lyrics of songs (-music lyrics \[song name).

You may find information on how to generate this token [Here ](https://docs.genius.com/#/getting-started-h1)(Access token)

![](https://2979467842-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M7KaJ2CLD50GK1P7ClS%2F-M9RvILVFmWuDRybT5BT%2F-M9Rx3ZBzNrLlv9ULWii%2Fimage.png?alt=media\&token=dd201c37-c6c5-429a-b7bf-66dc70ba610c)

## Lyrics

In order to use the lyrics command, you'll need to create a Genius API access token. Instructions can be found above.

To get lyrics for a song, run -music lyrics \[song name]. If the song name isn't specified, the bot will attempt to get the lyrics for the currently playing song.
