A fork of DisTube!
This fork is mainly used for ChadMusic, but can be used for your project if you like. It adds support for multiple filters with interchangable values during playback. All arguments for each provided filter can be changed at anytime, and static filters will no longer need to be provided when initializing the client.
The following has been changed:
FilterManager
- Live streams are refreshed when filters are applied.
add()
,remove()
, andhas()
have been removed. Instead,set()
manages all filters within the manager.set()
parameters and types are as followed:set(filterName: string | undefined, filterValue: string | undefined) => Filter[]
filterName
is the name of the filter. Providing anull
value removes all active filters.filterValue
is the ffmpeg argument to provide to the filter. Providing anull
value removes the specified filter.
- lodash has been added as a dependency.
Warning
I will only be providing support for the functionality that was altered or added in this fork. For all other issues pertaining to DisTube, please create an issue in the main repository instead.
...and now for something completely different.
A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.
DisTube Support Server - Frequently Asked Questions
- Easy Integration: Built on top of discord.js v14 and @discordjs/voice.
- Voice and Queue Management: Handles voice channel connections, disconnections, and manages music queues efficiently.
- Audio Filters: Offers built-in audio filters (bassboost, echo, karaoke, etc.) and allows for custom filter implementations.
- Plugin System: Supports extensibility through plugins
DisTube does not have built-in support for music sources. You need to use plugins to add support for them.
- Node.js 18.17.0 or higher
- discord.js v14
- @discordjs/voice
- @discordjs/opus
- FFmpeg
- sodium-native
Read DisTube's definitions, properties and events details in the API Documentation page.
Learn how to build a music bot from scratch with DisTube Guide
List of plugins for supporting various sites