DisTube
A Discord.js module to simplify your music commands and play songs with audio filters on Discord without any API key.
DisTube Support Server - Frequently Asked Questions
Features
- Build on
@discordjs/voice
- Easy to use and customize
- Support YouTube, SoundCloud, Facebook, and 700 more sites
- Audio filters (bassboost, nightcore, vaporwave,...)
- Autoplay related songs
- Plugin system to support more sites (Plugin List)
Requirement
- Node v12 or higher
- discord.js v12 or v13 (Recommended)
- @discordjs/voice
- FFmpeg
- @discordjs/opus
- sodium or libsodium-wrappers
-
python (Optional - For
youtube-dl
to support 700 more sites.)
Installation
npm install distube@latest
Documentation
Read DisTube's definitions, properties and events details in the Documentation page.
Example Bot
- DisTube Bot - A music bot with reaction controller, filters, DJ mode, user's custom playlist and voting.
- DisTube Example - Example bot with simple command handler.
- DisTube Guide - How to build a music bot from scratch.
Dependencies
- node-ytdl-core: YouTube scraper (DisTube Fork)
- node-ytsr: YouTube search scraper (DisTube Fork)
- node-ytpl: YouTube playlist resolver (DisTube Fork)
-
youtube-dl-exec:
youtube-dl
wrapper