mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-09 13:07:25 -05:00
8 lines
317 B
JavaScript
8 lines
317 B
JavaScript
import Spotify from './../build/streamers/spotify/main.js'
|
|
|
|
const client = new Spotify({ clientId: '9a8d2f0ce77a4e248bb71fefcb557637' })
|
|
await client.login(process.env.SPOTIFY_USERNAME, process.env.SPOTIFY_PASSWORD)
|
|
|
|
const storedCreds = client.getStoredCredentials()
|
|
console.log('[spotify] New config:', storedCreds)
|