parseLavalinkConnUrl
function parseLavalinkConnUrl(connectionUrl: string): object;Defined in: src/structures/Utils.ts:37
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:42 |
host | string | parsed.hostname | src/structures/Utils.ts:45 |
id | string | parsed.username | src/structures/Utils.ts:44 |
nodeType | NodeTypes | - | src/structures/Utils.ts:43 |
port | number | - | src/structures/Utils.ts:46 |