28 lines
No EOL
762 B
Markdown
28 lines
No EOL
762 B
Markdown
# discord-nowplaying
|
|
|
|
|
|
|
|
shows the currently playing song using the spotipy lib by sending a webhook to a discord webhook
|
|
|
|
|
|
this script requires the following libraries:
|
|
|
|
|
|
|
|
```
|
|
|
|
dotenv, spotipy.oauth2/SpotifyOAuth, time, spotipy, requests, os
|
|
|
|
```
|
|
|
|
definitely make sure to install `os`
|
|
|
|
in your spotify application in your developer portal, copy and paste your application secrets/variables into the .env file for the python code to run properly. please also create a discord webhook, and copy it into the `DISCORD_WEBHOOK_URL=""` of said file.
|
|
|
|
it should look like something similar to this when you run the code.
|
|
|
|

|
|
|
|
|
|
|
|
im too lazy to format this |