LavalinkPlugin.usingClient constructor

LavalinkPlugin.usingClient(
  1. LavalinkClient _customClient
)

Create a new LavalinkPlugin that uses a custom LavalinkClient.

Using this constructor means every nyxx client attached to this plugin will use the provided Lavalink client. The Lavalink client will not be closed when nyxx clients are closed.

Implementation

LavalinkPlugin.usingClient(LavalinkClient this._customClient)
    : base = _customClient.base,
      password = _customClient.password;