spotdl/README.md
2023-05-22 21:24:49 -05:00

31 lines
600 B
Markdown

# spotdl
An example of librespot-js
## Installation
Clone the repository and run `npm i`.
## Usage
Put a Discord token and your Spotify login in an `.env` file, like this:
```.env
FILES_GAY_USER="example"
FILES_GAY_PASS="secrets"
DISCORD_TOKEN="secrets"
SPOTIFY_USERNAME="lain@example.com"
SPOTIFY_PASSWORD="secrets"
```
(optionally add a LOADING_EMOJI environment variable in the format `<a:loading:1110359925051375636>`)
Invite the bot into a server using the following permission code:
```
277025704000
```
## Todo
- /search command?
- download the song a user is currently listening to?