A simple and powerful Discord music bot built with TypeScript and Discord.js.
- Play Music: Play music from YouTube, Spotify, SoundCloud, or any other audio source.
- Queue Management: Manage a queue of songs to play.
- Skip and Pause: Skip to the next song or pause the currently playing song.
- Volume Control: Adjust the volume of the bot in the voice channel.
- Playlist Support: Save and play playlists.
- Easy to Use: User-friendly commands to control the bot.
-
Clone the repository:
git clone https://github.com/vedran77/note-ninja.git cd note-ninja -
Install dependencies:
npm install
-
Configure the bot:
- Create a new application and bot on the Discord Developer Portal.
- Copy your bot token.
- Create a
.envfile in the project root and add the following:DISCORD_TOKEN=YOUR_BOT_TOKEN
-
Run the bot:
npm start
!play <song>: Play a song.!skip: Skip the current song.!pause: Pause the current song.!resume: Resume the paused song.!queue: Display the current queue.!volume <level>: Adjust the volume (0-100).!playlist <playlist_name>: Play a saved playlist.!save <playlist_name>: Save the current queue as a playlist.!help: Display the list of available commands.
Contributions are welcome! Please follow these guidelines:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature/your-feature-name. - Submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.