Telegram Voice-Chat Bot [ Pytgcalls ]
Telegram Voice-Chat Bot To Play Music With Pytgcalls From Various Sources In Your Group.
Support
- 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
$ git clone https://github.com/thehamkercat/Telegram_VC_Bot
$ cd Telegram_VC_Bot
$ sudo apt-get install ffmpeg
$ 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
Fork this repository and change name of sample_config.py
to config.py
Then you will need get a session string, copy it, then press heroku deploy button.
Send commands to bot to play music.
Commands
Command | Description |
---|---|
/help | Show Help Message. |
/skip | Skip Any Playing Music. |
/play youtube/saavn/deezer [SONG_NAME] | To Play A Song. |
/telegram | Play A Song Directly From Telegram File. |
/queue | Check Queue Status. |
/joinvc | Join Voice Chat. |
/leavevc | Leave Voice Chat. |
/volume [1-200] | Adjust Volume. |
/pause | Pause Music. |
/resume | Resume Music. |
/update | Update & Restart. |
Note
- If you want any help you can ask here
Credits
- @MarshalX [For TgCalls]
- Everyone who contributed to the project.