Skip to content

nightx24/VCPlayerBot

 
 

Repository files navigation

Telegram Voice-Chat Bot [ Pytgcalls ]

Telegram Voice-Chat Bot To Play Music With Pytgcalls From Various Sources In Your Group.

Requirements

  • Telegram API_ID and API_HASH
  • Python 3.7 or higher
  • Userbot Needs To Be Admin In The Chat
  • Install ffmpeg

How To Host

The easiest way to deploy this Bot

Run

Follow this if you are not running on heroku

$ git clone https://github.com/sangramghangale/VCPlayerBot
$ cd Telegram_VC_Bot
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
$ cp sample_config.py config.py

Edit config.py with your own values.

$ python3 main.py

Get STRING_NAME from here:

GenerateString

Mandatory Vars.

  • Some Of The Mandatory Vars Are :-
    • API_ID : Give API_ID of your Alternate Telegram Account. also get from here @APIInfoBot
    • API_HASH : Give API_HASH of your Alternate Telegram Account. also get from here @APIInfoBot
    • STRING_NAME : Make a string session from here
    • BOT_TOKEN : Make a Bot from @Botfather and fill it's bot token.
    • SUDO_USERS : Fill Userid of yhe users whom you want to be able to control the bot. You can add multiple id by giving a space in b/w each id.

Commands

-The commands and there use is explained here-:

  • /saavn To search song on jio saavan and play the first result
  • /ut To search the song on Youtube and play the first matching result.
  • /deezer To search song on deezer and play good quality stream.
  • /play Reply this in response to a link or any telegram audio file it will be played
  • /skip to skip current song
  • /stop to stop the streaming of song
  • /pause to pause the stream
  • /resume to resume the playback.
  • Inline search is also supported.

Requirements

  • FFmpeg
  • Python 3.7+

Note

  1. If you want any help you can ask here

Docker

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.2%
  • Dockerfile 1.4%
  • Shell 1.4%