NodeMessage
Defined in: src/structures/Types/Utils.ts:630
Interface for nodeStats from lavalink
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property (defined in) | Type | Description |
|---|---|---|
cpu (src/structures/Types/Node.ts:115) |
CPUStats |
The cpu stats for the node. |
detailedStats? (src/structures/Types/Node.ts:140) |
object |
something from nodeLink https://nodelink.js.org/docs/differences#detailed-statistics |
detailedStats.api (src/structures/Types/Node.ts:141) |
object |
|
detailedStats.api.errors (src/structures/Types/Node.ts:144) |
unknown |
|
detailedStats.api.requests (src/structures/Types/Node.ts:143) |
Record<string, number> |
e.g. { “/v4/loadtracks”: 150, “/v4/info”: 5 } |
detailedStats.playback (src/structures/Types/Node.ts:148) |
object |
|
detailedStats.playback.events (src/structures/Types/Node.ts:150) |
Record<string, number> |
e.g. { “TrackStartEvent”: 150, “TrackEndEvent”: 5 } |
detailedStats.sources (src/structures/Types/Node.ts:147) |
Record<string, number> |
e.g. { “youtube”: 150, “soundcloud”: 5 } |
frameStats (src/structures/Types/Node.ts:138) |
FrameStats |
The frame stats for the node. |
guildId (src/structures/Types/Utils.ts:636) |
string |
The specific guild id for that message |
memory (src/structures/Types/Node.ts:113) |
MemoryStats |
The memory stats for the node. |
op (what ops are applying to that event) |
"playerUpdate" \ |
"stats" \ |
players (src/structures/Types/Node.ts:107) |
number |
The amount of players on the node. |
playingPlayers (src/structures/Types/Node.ts:109) |
number |
The amount of playing players on the node. |
type (src/structures/Types/Utils.ts:632) |
PlayerEventType |
The type of the event |
uptime (src/structures/Types/Node.ts:111) |
number |
The uptime for the node. |