🌋VulkavaOptions
The main Vulkava constructor options
Property | Description | Type |
---|---|---|
nodes | The lavalink node array | |
sendWS | Send voice channel connect payloads to main discord gateway | |
defaultSearchSource | The default source to search for tracks (default value: youtube) | SEARCH_SOURCE (optional) |
unresolvedSearchSource | The default source to search for unresolved tracks (default value: youtube music) | SEARCH_SOURCE (optional) |
spotify * | The spotify credentials config | Object (optional) |
spotify.clientId | The spotify client id | |
spotify.clientSecret | The spotify client secret | |
spotify.market | The spotify market (eg. US, PT, BR, IT), used for fetching artist top tracks. Default is US | String (optional) |
disabledSources | Disables spotify, apple music or deezer | Array<ExternalSource> |
* If you don't provide the spotify credentials, vulkava will attempt to get a spotify anonymous token.
NOTE:
sendWS function signature
Last updated