Skip to content

NodeMessage

Defined in: src/structures/Types/Utils.ts:567

Interface for nodeStats from lavalink

Property (defined in)TypeDescription
cpu
(src/structures/Types/Node.ts:116)
CPUStatsThe cpu stats for the node.
detailedStats?
(src/structures/Types/Node.ts:141)
objectsomething from nodeLink https://nodelink.js.org/docs/differences#detailed-statistics
detailedStats.api
(src/structures/Types/Node.ts:142)
object
detailedStats.api.errors
(src/structures/Types/Node.ts:145)
unknown
detailedStats.api.requests
(src/structures/Types/Node.ts:144)
Record<string, number>e.g. { “/v4/loadtracks”: 150, “/v4/info”: 5 }
detailedStats.playback
(src/structures/Types/Node.ts:149)
object
detailedStats.playback.events
(src/structures/Types/Node.ts:151)
Record<string, number>e.g. { “TrackStartEvent”: 150, “TrackEndEvent”: 5 }
detailedStats.sources
(src/structures/Types/Node.ts:148)
Record<string, number>e.g. { “youtube”: 150, “soundcloud”: 5 }
frameStats
(src/structures/Types/Node.ts:139)
FrameStatsThe frame stats for the node.
guildId
(src/structures/Types/Utils.ts:573)
stringThe specific guild id for that message
memory
(src/structures/Types/Node.ts:114)
MemoryStatsThe memory stats for the node.
op
(what ops are applying to that event)
"playerUpdate" \"event" \
players
(src/structures/Types/Node.ts:108)
numberThe amount of players on the node.
playingPlayers
(src/structures/Types/Node.ts:110)
numberThe amount of playing players on the node.
type
(src/structures/Types/Utils.ts:569)
PlayerEventTypeThe type of the event
uptime
(src/structures/Types/Node.ts:112)
numberThe uptime for the node.