This project provides a simple, easy-to-understand template for a Discord.js music bot. It's designed as a starting point for developers who want to create their own Discord music bot with basic functionalities. The bot can join voice channels, play music, and handle simple controls like pause, resume, and stop.
- Join and Leave Voice Channels: The bot can join and leave voice channels as commanded.
- Play Music: Play music from YouTube URLs.
- Pause/Resume Playback: Allows pausing and resuming the currently playing track.
- Stop Playback: Stops the music and clears the queue.
- Volume Control: Adjust the volume of the playback.
- Simple Queue System: Add tracks to a queue and play them in sequence.
- Clone the Repository: git clone https://github.com/ArnavD74/Spectra
- Install Dependencies: Run npm install in the project directory.
- Set Up Discord Bot Token: Create a .env file in the root directory and add your Discord bot token as DISCORD_TOKEN=your_token_here.
- Run the Bot: Execute node index.js to start the bot.