Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Telegram Voice Chat Bot Written In Python Using Pytgcalls & Pyrogram.

License

Notifications You must be signed in to change notification settings

TheHamkerCat/Telegram_VC_Bot

Repository files navigation

Telegram Voice-Chat Bot [ Pytgcalls ]

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

Support

  1. All linux based os.

Requirements

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

Run

Follow this if you are not running on heroku

$ git clone https://github.com/thehamkercat/Telegram_VC_Bot
$ 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

Heroku

Generate String session [IMPORTANT]

Download this file generate_string_session.py

$ pip3 install pyrogram TgCrypto
$ python3 generate_string_session.py

You will get a session string, copy it, then press heroku deploy button.

Deploy

Send commads to bot to play music.

Commands

Command Description
/start To Start The bot.
/help To Show This Message.
/ping To Ping All Datacenters Of Telegram.
/skip To Skip Any Playing Music.
/play youtube/saavn/deezer [song_name] To Play A Song.
/telegram To Play A Song Directly From Telegram File.
/queue To Check Queue Status.
/joinvc To Join Voice Chat.
/leavevc To Leave Voice Chat.

Note

  1. If you want any help you can ask here

Credits

  1. @MarshalX [For TgCalls]