Table of Contents

Class SponsorBlockSegmentsLoadedEventArgs

Namespace
Nyra.EventArgs
Assembly
Nyra.dll

The node loaded the SponsorBlock segments of the current track.

public sealed class SponsorBlockSegmentsLoadedEventArgs : EventArgs
Inheritance
SponsorBlockSegmentsLoadedEventArgs
Inherited Members

Remarks

NodeLink only. The server only fetches segments for YouTube and YouTube Music tracks, and only raises this when it found at least one, overriding segments through the REST API never raises it.

Properties

GuildId

The guild the player plays in.

[JsonPropertyName("guildId")]
[JsonInclude]
[JsonConverter(typeof(TolerantSnowflakeConverter))]
public ulong GuildId { get; }

Property Value

ulong

Segments

The segments that were loaded, a null list or a null element reads as empty/absent.

[JsonPropertyName("segments")]
[JsonInclude]
public IReadOnlyList<SponsorBlockSegment> Segments { get; }

Property Value

IReadOnlyList<SponsorBlockSegment>