Skip to content

sudip-mondal-2002/music-bot-whatsapp

Repository files navigation

music-bot-whatsapp

Requirements

Link to tutorial video

Youtube video

Installation

📝 Cloning this repo

> git clone https://github.com/sudip-mondal-2002/music-bot-whatsapp.git
> cd music-bot-whatsapp

🛠️ Installing the FFmpeg

  • Download one of the available versions of FFmpeg by clicking this link.
  • Extract the file to C:\ path.
  • Rename the extracted folder to ffmpeg.
  • Run Command Prompt as Administrator.
  • Run this command:
> setx /m PATH "C:\ffmpeg\bin;%PATH%"

It will give us a callback like SUCCESS: specified value was saved.

  • Now that you've FFmpeg installed, verify that it's working by running this command to see version number (may need to restart Command Prompt):
> ffmpeg -version

🔍 Installing the dependencies

> npm install

🆗 Running the bot

Regular node:

> npm start

Scan the QR code in the terminal using whatsapp web scanner in your whatsapp