diff options
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | code/cogs/news.py | 5 | ||||
-rw-r--r-- | docker-compose.yaml | 1 |
3 files changed, 21 insertions, 1 deletions
@@ -27,7 +27,8 @@ Guava is a Discord music bot with support for multiple different music and video streaming platforms. Guava is a part of >200 Discord servers and currently supports these services: -- Spotify (Links) +- Apple Music +- Spotify - SoundCloud - Bandcamp - Deezer @@ -71,11 +72,24 @@ FEEDBACK_CHANNEL_ID | `CHANNEL ID`: Discord channel for feedback messages to be BUG_CHANNEL_ID | `CHANNEL ID`: Discord channel for bug messages to be sent to | **OPTIONAL** SPOTIFY_CLIENT_ID | Client ID from Spotify Developer account | **REQUIRED** SPOTIFY_CLIENT_SECRET | Client Secret from Spotify Developer account | **REQUIRED** +APPLE_MUSIC_KEY | See the `note` below to get a media api key without a developer account | **REQUIRED** OPENAI_API_KEY | API Key from OpenAI for autoplay recommendations | **REQUIRED** HOST | Host address for your Lavalink node | **REQUIRED** PORT | Port for your Lavalink node | **REQUIRED** PASSWORD | Password to authenticate into the Lavalink node | **REQUIRED** +<br> +<details> +<summary><strong>NOTE: Media API Key</strong></summary> + +1. Go to https://music.apple.com +2. Open the debuger tab in dev tools +3. Regex this `"(?<token>(ey[\w-]+)\.([\w-]+)\.([\w-]+))"` +4. Copy the entire token from the JS file + +</details> +<br> + # Lavalink Information As previously state, a Lavalink node running at least `v4` with the LavaSrc plugin is required. Due to the plugin requirement, it is unlikely that you will be able to use a free/public Lavalink node. diff --git a/code/cogs/news.py b/code/cogs/news.py index d7c25d2..5c0c2e7 100644 --- a/code/cogs/news.py +++ b/code/cogs/news.py @@ -19,6 +19,11 @@ class News(commands.Cog): ) embed.add_field( + name="**Apple Music Support!**", + value="> You can now play music through Apple Music links. Just paste the link and the bot will do the rest!", + ) + + embed.add_field( name="**Autoplay Update**", value="> Autoplay is now much more stable after a revamp of the previous system. If you experienced short outages recently, this was due to the update. Thank you for your patience!", inline=False, diff --git a/docker-compose.yaml b/docker-compose.yaml index 69953c1..0446ada 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,6 +10,7 @@ services: - BUG_CHANNEL_ID= - SPOTIFY_CLIENT_ID= - SPOTIFY_CLIENT_SECRET= + - APPLE_MUSIC_KEY= - OPENAI_API_KEY= - LAVALINK_HOST= - LAVALINK_PORT= |