vcpb
vcpb copied to clipboard
[UNMAINTAINED] The first voice chat-related Telegram bot to be open-sourced. Uses MPV and has queue, stream & YouTube support.
π§ VoiceChatPyroBot β The first Telegram voice chat bot to be open-sourced 
π Logic
The only thing VCPB does for you is automating the audio streaming process, it doesnβt directly play audio in group calls. So you have to forward the audio that VCPB plays to a Telegram call manually using Telegram desktop app on your PC or server with a desktop environment.
π Config
Pass CLI args when running or copy config/sample_config.py to config/config.py
βοΈ Install the required packages
sudo apt install mpv libmpv-dev pulseaudio &&
pip3 install -U -r requirements.txt
β¨ Run the bot
python3 main.py
βΉοΈ Commands
π₯ Everyone
- Sending a YouTube video link in private downloads and adds it to the queue if no radio is streaming.
Command | Description |
---|---|
/queue | see the items in the queue if there are any |
π€ Sudo users
Command | Description |
---|---|
/stream | stream the provided radio station if not streaming |
/stop | stop the radio stream if streaming |
/pause | pause the audio stream if not playing |
/resume | resume the audio stream if not paused |
/skip | skip the current audio stream if playing |
/clear | clear the queue if not empty |
/rmd | delete the downloaded files if there are any |
/seekf | seek the playback forward by the provided seconds if playing |
/seekb | seek the playback backward by the provided seconds if playing |