This is a simple Discord bot that allows users to play music from various sources (e.g. YouTube, Spotify, SoundCloud) in a voice channel.
- Play music from YouTube, Spotify, SoundCloud, etc. in a voice channel
- Add songs to a queue to be played in order
/play [input]
: Plays the requested song in the voice channel. Theinput
argument can be a URL or search query for a song on YouTube, Spotify, SoundCloud, etc./queue [song]
: Adds the requested song to the music queue. Thesong
argument can be a URL or search query for a song on YouTube, Spotify, SoundCloud, etc.
- Clone this repository and install the dependencies by running
npm install
. - Create a
.env
file in the root directory of the project and add your bot token and client id as environment variables namedtoken
andclientId
. - Run the bot by running
node index.js
.