Skip to content

parseLavalinkConnUrl

function parseLavalinkConnUrl(connectionUrl: string): object;

Defined in: src/structures/Utils.ts:33

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

ParameterTypeDescription
connectionUrlstring-

object

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