hoshimi
    Preparing search index...

    Class LavalinkPluginFilter

    Class representing Lavalink plugin filters. LavalinkPluginFilter

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Set the echo filter with the given settings.

      Parameters

      • Optionalsettings: Partial<NonLengthEchoSettings> = DefaultFilterPreset.PluginEcho

        The settings for the echo filter.

      Returns Promise<LavalinkPluginFilter>

      The instance of the filter manager.

      If the node does not have the required plugin or filter enabled.

      // Set the echo filter with custom settings
      await player.filterManager.lavalinkPlugin.setEcho({ decay: 0.5, delay: 200 });
      // Disable the echo filter
      await player.filterManager.lavalinkPlugin.setEcho();