Table of Contents

Property QueueEntryFactory

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Sets a factory function that creates queue entry objects. This allows you to customize the type of queue entry used by the LavalinkGuildPlayer when EnableBuiltInQueueSystem is true. If set to null, the default queue entry type (DefaultQueueEntry) will be used.

public Func<IQueueEntry>? QueueEntryFactory { get; set; }

Property Value

Func<IQueueEntry>