$nodeInfo
$nodeInfo
will return given lavalink node information.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Lavalink node name | true |
type | string | Information to retrieve (see below) | true |
Types
Field | Returns | Description |
---|---|---|
cpu.cores | number | Returns the cpu cores |
cpu.system | number | Returns the cpu system load |
cpu.lavalink | number | Returns the cpu lavalink load |
memory.free | number | Returns the free memory left |
memory.used | number | Returns the used memory |
memory.allocated | number | Returns the allocated memory |
memory.reservable | number | Returns the reservable memory |
player.total | number | Returns the total player |
player.used | number | Returns the used player |
status | string | Returns online or offline |
Example(s)
This will return given lavalink node information
This will return given lavalink node information