diff options
author | Parker <contact@pkrm.dev> | 2024-08-03 02:55:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 02:55:32 +0000 |
commit | 608fad20d4f8cf977c39a47a9e30865bda57adfe (patch) | |
tree | 47b1ad56786f89c36d1c4eb0c67713c6b6a87d62 /code/cogs/play.py | |
parent | 1bffa26776f6c80e2f2513d236f78ce9b7eea39f (diff) | |
parent | 3f23ef4edf5a33c3c184c8b92fc5143789cecbd1 (diff) |
Merge pull request #2 from PacketParker/dev
Update main
Diffstat (limited to 'code/cogs/play.py')
-rw-r--r-- | code/cogs/play.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/code/cogs/play.py b/code/cogs/play.py index db21cf7..fdd0233 100644 --- a/code/cogs/play.py +++ b/code/cogs/play.py @@ -147,6 +147,14 @@ class Play(commands.Cog): ### elif "open.spotify.com" in query: + if not self.bot.spotify_headers: + embed = discord.Embed( + title="Spotify Error", + description="Spotify support seems to be broken at the moment. Please try again and fill out a bug report with </bug:1224840889906499626> if this continues to happen.", + color=BOT_COLOR, + ) + return await interaction.response.send_message(embed=embed, ephemeral=True) + embed = discord.Embed(color=BOT_COLOR) if "open.spotify.com/playlist" in query: |