format
This commit is contained in:
parent
a83f72bdb3
commit
9128411d3a
1 changed files with 2 additions and 2 deletions
|
@ -64,12 +64,12 @@ const FilterList = {
|
|||
* @param filterName The filter name
|
||||
* @param value FFmpeg args to use with -af
|
||||
* @example Player.AudioFilters.define("3D", "apulsator=hz=0.125")
|
||||
*
|
||||
*
|
||||
* player.setFilters(message, { "3D": true })
|
||||
*/
|
||||
define(filterName: string, value: string) {
|
||||
/* @ts-ignore */
|
||||
if (typeof this[filterName] && typeof this[filterName] === "function") return;
|
||||
if (typeof this[filterName] && typeof this[filterName] === 'function') return;
|
||||
|
||||
/* @ts-ignore */
|
||||
this[filterName] = value;
|
||||
|
|
Loading…
Reference in a new issue