• Stars
    star
    126
  • Rank 282,935 (Top 6 %)
  • Language
    Python
  • License
    GNU Affero Genera...
  • Created over 3 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[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 Mentioned in Awesome Telegram Calls

๐Ÿ’ญ 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

๐Ÿ“„ License

GNU Affero General Public License v3.0

Read more