Telegram VCPlayer Bot
Play any song directly into your group voice chat.
Official Bot : VCPlayerBot | Discussion Group : VoiceChat Music Player Support
Requirements
- Telegram Api Id and Hash
- Python 3.6+
- ffmpeg
- Mongo DB
Steps To Setup
- Generate your telegram session string (using pyrogram).
- Rename
.env copyto.envand fill all the required fields in there. - In Mongo DB a database named
sktechhubwill be created with the collectionstgcalls_chats,tgcalls_playbacks,tgcalls_users( if not present then create them manually).
Steps to Run
- After the setup is done.
- Install ffmpeg :
sudo apt-get install ffmpeg - Install the requirements :
pip3 install -U -r requirements.txt - Run the service :
python3 main.py -env prod -service call
Features
| Command | Description |
|---|---|
| /start , /help | Lists the available commands. |
| /play song_name | Starts the song in the voice chat. |
| /skip | Skips the current song. |
| /stop | Stops the playback. |
| /loop off , /loop [2-5] | Loops the song to x times. |
| /info | Shows the info of the playback in the chat. |
| /refreshadmins | Refreshes the admin list in the chat. |
| /auth | Adds the user mentioned in the reply to bot admin list. |
| /unauth | Removes the user mentioned in the reply from bot admin list. |
| /listadmins | Lists all the bot admins. |
| /adminmode [on,off] | Turn on/off the admin mode. |
Developer
For any issues/questions please contact here
Pull Requests are more than welcome.

