discord-player
discord-player copied to clipboard
[Discussion] How could we simplify AudioFilters api?
I am not quite happy with current implementation AudioFilters api. How can this be improved? Please share your experiences as well as problems with AudioFilters 🙏
I would create a convenient class AudioFilter, that will be containing properties like list, enabled and disabled, methods like set() and remove() (remove will remove any active filters), enable() and disable() (enable and disable methods will update the list, so you can kinda "blacklist" some filters that you don't want to display or use). I think that's not a lot, but quiet enough