Discord Player

AudioFilters

No description provided

AudioFilters

new AudioFilters();

Properties

public static filters: any

public length: any

public names: any

Methods

public static [iterator](): IterableIterator

public static create(filters?): string

Create ffmpeg args from the specified filters name

ParameterTypeOptional
filtersArray<string | K>

public static define(filterName, value): void

Defines audio filter

ParameterTypeOptionalDescription
filterNamestringThe name of the filter
valuestringThe ffmpeg args

public static defineBulk(filtersArray): void

Defines multiple audio filters

ParameterTypeOptionalDescription
filtersArrayArray<{ name: string; value: string}>Array of filters containing the filter name and ffmpeg args

public static get(name): Record<keyof |QueueFilters | string>[K]

ParameterTypeOptional
nameK

public static has(name): boolean

ParameterTypeOptional
nameK

public static toString(): string