Skip to content

parseLavalinkConnUrl

function parseLavalinkConnUrl(connectionUrl: string): object;

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

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

ParameterTypeDescription
connectionUrlstring-

object

NameTypeDefault valueDefined in
authorizationstringparsed.passwordsrc/structures/Utils.ts:42
hoststringparsed.hostnamesrc/structures/Utils.ts:45
idstringparsed.usernamesrc/structures/Utils.ts:44
nodeTypeNodeTypes-src/structures/Utils.ts:43
portnumber-src/structures/Utils.ts:46