Skip to content

parseLavalinkConnUrl

function parseLavalinkConnUrl(connectionUrl: string): object

Parses Node Connection Url: “lavalink://:<nodeAuthorization(Password)>@:

Parameters

ParameterTypeDescription
connectionUrlstring

Returns

object

NameTypeDefault valueDefined in
authorizationstringparsed.passwordsrc/structures/Utils.ts:37
hoststringparsed.hostnamesrc/structures/Utils.ts:39
idstringparsed.usernamesrc/structures/Utils.ts:38
portnumber-src/structures/Utils.ts:40

Defined in

src/structures/Utils.ts:33