Nodes for communicating with a Lavalink server.
Using nodes, you can send events to a server and receive events.
This is a bit more low level than using the
Lavalink client because you
will need to provide your own
VoiceUpdate events when your bot joins
channels, meaning you will have to accumulate and combine voice state update
and voice server update events from the Discord gateway to send them to
Additionally, you will have to create and manage your own
and make your own players for guilds when your bot joins voice channels.
This can be a lot of work, and there’s not really much reason to do it
yourself. For that reason, you should almost always use the
client which does all of this for you.
A connection to a single Lavalink server. It receives events and forwards events from players to the server.
The configuration that a
Configuration for a session which can be resumed.
An error occurred while either initializing a connection or while running its event loop.