This bot needs a Linux system, Node JS version 15 or newer with the packages specified in the package.json
, ffmpeg, Google Chrome or Chromium to work.
- Copy
example.env
to.env
and fill it with your credentials. - Install the required Node JS packages:
npm install
- Run:
npm start
- Build:
docker build -t musicplayer .
- Run:
docker run --env-file .env musicplayer
- You can generate a string session here.
Command | Usage |
---|---|
/play | play the replied audio file |
/pause | pause the audio stream |
/resume | resume the audio stream |
/skip | skip the current audio stream |
/stop | clear the queue and remove the userbot from the call |