Telegram Voice-Chat Bot To Play Music With Pytgcalls From Various Sources In Your Group.
- All linux based os.
- Telegram API_ID and API_HASH
- Python 3.7 or higher
- Userbot Needs To Be Admin In The Chat
- Install ffmpeg
$ 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.pyEdit config.py with your own values.
$ python3 main.pyDownload this file generate_string_session.py
$ pip3 install pyrogram TgCrypto
$ python3 generate_string_session.pyFork 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.
$ git clone https://github.com/thehamkercat/Telegram_VC_Bot && cd Telegram_VC_Bot
$ cp sample.env .envEdit .env with your own values.
$ sudo docker build . -t tgvc-bot
$ sudo docker run tgvc-botTo stop use CTRL+C
| Command | Description |
|---|---|
| /help | Show Help Message. |
| /skip | Skip Any Playing Music. |
| /play [SONG_NAME] | To Play A Song Using YouTube. Service used can be changed in config ( DEFAULT_SERVICE). |
| /play youtube/saavn/deezer [SONG_NAME] | To Play A Song Using Specific Service. |
| /telegram | Play A Song Directly From Telegram File. |
| /queue | Check Queue Status. |
| /joinvc | Join Voice Chat. |
| /leavevc | Leave Voice Chat. |
| /listvc | List Active Voice Chats. |
| /volume [1-200] | Adjust Volume. |
| /pause | Pause Music. |
| /resume | Resume Music. |
| /theme [Theme Name] | Change 'Currently Playing' Theme. |
| /update | Update & Restart. |
- If you want any help you can ask here
- @MarshalX [For TgCalls]
- Everyone who contributed to the project.
