hoshimi
    Preparing search index...

    Interface HoshimiQueueOptions

    The queue options.

    interface HoshimiQueueOptions {
        autoPlay?: boolean;
        maxHistory?: number;
        storage?: QueueStorageAdapter<QueueJson>;
        autoplayFn?(
            player: Player,
            lastTrack: TrackResolvableStructure | null,
        ): Awaitable<void>;
    }
    Index

    Properties

    autoPlay?: boolean

    Enable the auto play for the queue. (By default, only supports youtube and spotify, add more with your own function)

    false
    
    maxHistory?: number

    The maximum amount of tracks that can be saved in the queue.

    25
    

    The storage manager to use for the queue.

    {MemoryAdapter}
    

    Methods