Installation on a Windows computer/server
Prerequisites
Create a Discord Application
- go to the Discord Developer portal
- create a new application + bot
- create a bot invitelink using it's client id here
- save the bot token for later
Install nodejs & npm
follow these instructions
Installation
Configuration
- Git clone the repository by opening command prompt or powershell and doing
git clone -b v5 https://github.com/SudhanPlayz/Discord-MusicBot - Open your text editor and configure config.js there!
lavalink
use public lavalink
Final steps
- Open your preferred terminal (command prompt or powershell) and change the directory to your Music bot folder.
- Deploy your slash commands by doing
npm run deployto deploy globally ornpm run guildif you want to deploy on a specific guild. - Once done, type
npm run startornode index.js
Now your bot is running!