Class PlayerConnectedEventArgs
The voice connection of the guild's player became established.
public sealed class PlayerConnectedEventArgs : EventArgs
- Inheritance
-
PlayerConnectedEventArgs
- Inherited Members
Remarks
NodeLink only. The initial establishment races the connect itself, the frame can dispatch before any handler can subscribe to the connection, the reliable signal for the first join is the connect completing (play and filter commands work from that completion). Reconnect cycles raise this while subscribed.
Properties
GuildId
The guild the player plays in.
[JsonPropertyName("guildId")]
[JsonInclude]
[JsonConverter(typeof(TolerantSnowflakeConverter))]
public ulong GuildId { get; }
Property Value
Voice
The voice state the player connected with, null when the server sent none.
[JsonPropertyName("voice")]
[JsonInclude]
public PlayerVoiceState? Voice { get; }