The SUNO Discord Bot is designed to enhance your Discord server by playing music from SUNO URLs
2.0K
SUNO Discord BotSUNO Discord Bot is a versatile music bot designed to play SUNO music directly in your Discord server. Simply provide a SUNO URL, and the bot will play the music for you. The bot also allows you to manage the music queue with commands to add, remove, skip, pause, resume, and stop music. Additionally, you can search and save local SUNO music. It can also generate lyrics and song if you provide a OPENAI_API_KEY
| Command | Description | Options |
|---|---|---|
profile | Search a SUNO profile by handle | - suno_profile: (Required) Searched profile, with autocomplete based on local profiles already saved. UNUSED IF SHOULD_SAVE_LOCALY IS FALSE |
play | Play a SUNO music | - suno_url: (Required) a SUNO URL |
skip | Skip a sound | None |
pause | Pause sound | None |
resume | Resume sound | None |
stop | Stop sound | None |
generate | Not registered if no OPENAI_API_KEY Generate Lyrics based on your prompt, once reviewed will generate the song and queue it | - suno_prompt: (Required) A song prompt |
To configure the SUNO Discord Bot, you need to set the following environment variables:
| Variable | Description |
|---|---|
LOCALE | The ISO 639 language code of bot default language. |
DISCORD_ID | Your Discord Bot ID |
DISCORD_TOKEN | Your Discord Bot Token |
SUNO_COOKIE_[value] | Your Suno Cookie Check here to see how to retrieve it. You can add multiple, juste replace the [value], one of them will be picked to call the api or generate songs. |
OPENAI_API_KEY | (Optional) API key from Open AI, required if you want the bot to generate lyrics and songs. |
OPENAI_PROMPT | (Optional) Prompt to generate the lyrics, use ${lang} as a variable to add the selected language from OPENAI_API_KEY. |
SHOULD_SAVE_LOCALY | (Optional) Defines if SUNO musics should be saved localy or only remain on the web. |
SAVED_DATA_PATH | (Optional) Defines the path where all suno data will be stored on the server. Default is ./suno. UNUSED IF SHOULD_SAVE_LOCALY IS False |
LOG_LEVEL | (Optional) Defines the logging level of the Bot. Default is warning |
docker run -e DISCORD_ID=<your_discord_id> -e DISCORD_TOKEN=<your_discord_token> -e SUNO_COOKIE=<your_suno_cookie> pekno/sunobot
Replace <your_discord_id>, <your_discord_token>, and <your_suno_cookie> with your actual credentials.
Content type
Image
Digest
sha256:badfcc4b1…
Size
266.6 MB
Last updated
8 days ago
docker pull pekno/sunobot