🎧 VoiceChatPyroBot

August 4, 2021 Β· View on GitHub

πŸ’­ 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.
CommandDescription
/queuesee the items in the queue if there are any

πŸ‘€ Sudo users

CommandDescription
/streamstream the provided radio station if not streaming
/stopstop the radio stream if streaming
/pausepause the audio stream if not playing
/resumeresume the audio stream if not paused
/skipskip the current audio stream if playing
/clearclear the queue if not empty
/rmddelete the downloaded files if there are any
/seekfseek the playback forward by the provided seconds if playing
/seekbseek the playback backward by the provided seconds if playing

πŸ“„ License

GNU Affero General Public License v3.0

Read more