parseLavalinkConnUrl
function parseLavalinkConnUrl(connectionUrl: string): object;Defined in: src/structures/Utils.ts:33
Parses Node Connection Url: “lavalink://
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
connectionUrl | string | - |
Returns
Section titled “Returns”object
| Name | Type | Default value | Defined in |
|---|---|---|---|
authorization | string | parsed.password | src/structures/Utils.ts:38 |
host | string | parsed.hostname | src/structures/Utils.ts:41 |
id | string | parsed.username | src/structures/Utils.ts:40 |
nodeType | NodeTypes | - | src/structures/Utils.ts:39 |
port | number | - | src/structures/Utils.ts:42 |