This commit is contained in:
Snowflake107 2021-05-13 11:20:07 +05:45
parent 5d0e93fc26
commit f2c458d785

View file

@ -167,7 +167,7 @@ export class Queue extends EventEmitter {
/** /**
* Sets audio filters in this player * Sets audio filters in this player
* @param {QueueFilters} filters Audio filters to set * @param {QueueFilters} filters Audio filters to set
* @type {Promise<void>} * @returns {Promise<void>}
*/ */
setFilters(filters: QueueFilters): Promise<void> { setFilters(filters: QueueFilters): Promise<void> {
return this.player.setFilters(this.firstMessage, filters); return this.player.setFilters(this.firstMessage, filters);
@ -175,7 +175,7 @@ export class Queue extends EventEmitter {
/** /**
* Returns array of all enabled filters * Returns array of all enabled filters
* @type {String[]} * @returns {String[]}
*/ */
getFiltersEnabled(): string[] { getFiltersEnabled(): string[] {
const filters: string[] = []; const filters: string[] = [];
@ -189,7 +189,7 @@ export class Queue extends EventEmitter {
/** /**
* Returns all disabled filters * Returns all disabled filters
* @type {String[]} * @returns {String[]}
*/ */
getFiltersDisabled(): string[] { getFiltersDisabled(): string[] {
const enabled = this.getFiltersEnabled(); const enabled = this.getFiltersEnabled();