Skip to content

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!

use public lavalink

or host your own

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 deploy to deploy globally or npm run guild if you want to deploy on a specific guild.
  • Once done, type npm run start or node index.js

Now your bot is running!