Note
This project is no longer being maintained as music (from Spotify, Soundcloud, YouTube, etc.) on Discord is a continuous race of breaking TOS and with recent updates to YouTube bypassing security is not possible and shouldn't be attempted either.
Remix is a music app designed for personal or private Discord servers. It should not be used in production or starting a business that would literally go nowhere.
It was made to provide features that other bots in production cut off or lock behind premium or more expensive monthly subscriptions.
Most of them usually use lavalink behind the scene that doesn't support many sites, filters, longer playback pause, and also require your attention for maintenance.
With DisTube, you can play from a plenty of sites (almost 1k!) with custom ffmpeg audio filters (upto 100) of your own!
- Node v18 or higher
- Strong internet connection
- 20 - 40 ms
- at most 100ms
- At least 256MB of RAM
- 20% CPU load/tolerance [if you're on a cheap host (generally dockerized)]
Clone this repository
git clone https://github.com/execaman/Remix
Open that directory in a code editor, or just cd
into it
cd Remix
Install dependencies
npm install
Start the bot
npm start
If you get errors related to node-gyp
(@discordjs/opus
or zlib-sync
), your node installation is partial (in terms of features). Go ahead and follow the guide here to fix it and reinstall nodejs.
Most of the settings can be configured from src/utility/config.mts
db
MongoDB *token
Discord Bot Token *./cookie.json
YouTube Cookie *spotifyOptions
Spotify APIsoundCloudOptions
SoundCloud API (Discontinued)
Options marked with asterisk (*) are required to be configured
-
You must enable
MessageContent
intent from the discord application page and add the intent insrc/client.mts
to enable text commands
This way of interacting has never faced any problems over the years + requires no privileged intents at all!
Also because there are a few problems with using commands
You have to make sure prefixes for all bots are unique:
Commands don't appear on specific servers:
Don't worry, you'll get used to the interface over time if you really treat it like an app instead of a bot, here are a few interesting sections worth exploring: