Class PlayerReconnectingEventArgs
The voice connection of the guild's player dropped and is being re-established.
public sealed class PlayerReconnectingEventArgs : EventArgs
- Inheritance
-
PlayerReconnectingEventArgs
- Inherited Members
Remarks
NodeLink only. Raised while the voice connection is being (re-)established, including a first establishment that never succeeded, one raise per retry cycle. Receiving this triggers Nyra to re-send a remembered failed voice forward, its failure surfaces as NodeError.
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 reconnects with, null when the server sent none.
[JsonPropertyName("voice")]
[JsonInclude]
public PlayerVoiceState? Voice { get; }