base property

Uri base
final

The URI relative to which the Lavalink API is accessed.

This URI must include the port on which the server is running. It must not include the /v4 version suffix.

Examples:

  • If you are running Lavalink on your local machine: Uri.http('localhost:2333') (assuming the default port 2333 is used).
  • If you are running Lavalink using docker and docker-compose: Uri.http('lavalink:2333') (assuming the Lavalink server is running in the service named lavalink, that the default port 2333 is used and exposed, and that the lavalink service is linked to the current service).

Implementation

final Uri base;