Discolink
    Preparing search index...

    Class Player<Context, Plugins>

    Type Parameters

    Hierarchy

    Index

    Constructors

    Properties

    voices: VoiceManager

    Accessors

    Methods

    • Destroys the queue of a guild

      Parameters

      • guildId: string

        Id of the guild

      • Optionalreason: string

        Reason for destroying

      Returns Promise<void>

    • Pauses the queue of a guild

      Parameters

      • guildId: string

        Id of the guild

      Returns Promise<boolean>

    • Resumes the queue of a guild

      Parameters

      • guildId: string

        Id of the guild

      Returns Promise<boolean>

    • Seeks to a position in the current track of a guild

      Parameters

      • guildId: string

        Id of the guild

      • ms: number

        Position in milliseconds

      Returns Promise<number>

    • Enables or disables autoplay for the queue of a guild

      Parameters

      • guildId: string

        Id of the guild

      • Optionalautoplay: boolean

        Whether to enable autoplay

      Returns boolean

    • Sets the volume of the queue of a guild

      Parameters

      • guildId: string

        Id of the guild

      • volume: number

        The volume to set

      Returns Promise<number>

    • Shuffles tracks for the queue of a guild

      Parameters

      • guildId: string

        Id of the guild

      • OptionalincludePrevious: boolean

        Whether to pull previous tracks to current

      Returns Queue<Context>