parseLavalinkConnUrl
function parseLavalinkConnUrl(connectionUrl: string): object;
Defined in: src/structures/Utils.ts:31
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:35 |
host | string | parsed.hostname | src/structures/Utils.ts:37 |
id | string | parsed.username | src/structures/Utils.ts:36 |
port | number | - | src/structures/Utils.ts:38 |