Discord Music Bot created using DisTube and the latest version of discord.js
- Slash Commands
- YouTube, Spotify, and SoundCloud support
- Dynamic Queue System
For more info you can do /help for all available music commands
- Create a new applications here
- Turn the app into a bot in the 'bot' section
- Copy the bot token
- Create a
.envfile in the root directory, containing:
DISCORD_TOKEN = "paste-your-bot-token-here"
clientID = "bot-id"
guildID = "server-id"
-
Open terminal and navigate to the project folder
-
Run this command :
# install missing dependencies
npm install
# run the bot
npm startNote Cannot be hosted on cloud. You have to host it yourself. If you are using a VPN or anything similar on your machine, it's going to return an error. Disabled it before you ran the bot.
Delete registered commands on discord and to avoid confusion of the same commands.
npm run delete:globalnpm run delete:guild