A Discord music bot written in TypeScript, originally developed in 2020. It features a comprehensive suite of queue management and playback controls, including audio filtering via FFmpeg.
discord.js v12) is deeply outdated. Discord has since mandated Gateway Intents, shifted to Slash Commands, and entirely overhauled its voice API. Running this out of the box will likely fail due to restricted message content intents and broken voice connection methods. You will need to upgrade to the latest discord.js and @discordjs/voice packages for modern deployment.
Voice Channel Controls
- Join
- Leave
Playback & Transport
- Playfrom (Seek to specific time)
- Pause / Resume
- Next / Previous
- Replay
Queue Management
- Queue (Display current list)
- Now Playing
- Loop (Toggle repeat modes)
- Move (Change track position)
- Remove (Delete specific track)
- Clear (Empty the queue)
Audio Processing
- Filters (FFmpeg-based audio manipulation)
Utility
- Info
To compile and run this legacy codebase, your system needs:
- Node.js (v12 or v14): Modern Node versions (v18+) may throw errors with 2020-era dependencies.
- FFmpeg: Will be installed automatically with then postinstall script.
- TypeScript: Installed globally or locally to compile the
.tsfiles.
-
Clone the repository.
-
Install the legacy dependencies:
npm install
-
Compile the TypeScript code to JavaScript:
npm run build
-
Start the bot:
npm start