/callsmusic2-1

Telegram bot + userbot for streaming audio in group calls written in JavaScript.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Calls Music 2 — Telegram bot + userbot for streaming audio in group calls written in JavaScript

Requirements

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.

Deployment

Config

  1. Copy example.env to .env and fill it with your credentials.
  2. Install the required Node JS packages:
    npm install
  3. Run:
    npm start

Docker

  1. Build:
    docker build -t musicplayer .
  2. Run:
    docker run --env-file .env musicplayer

Heroku

Deploy to Heroku

  • You can generate a string session here.

Commands

Command Description
/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

License

GNU Affero General Public License v3.0

Read more

Credits