This is my submission for the Telegram Radio Project of Baivaru. Which required a userbot to continiously play random audio files from the famous telegram music channel @mveargasm in a voice chat.
Only members with access to amend/change voice chat options are allowed to use the following commands.
- !vnext - skips the current playing song and play a new one.
- !vpause - pause the current playing song.
- !resume - resume a paused song.
- !restart - restart the current playing song.
git clone https://github.com/eyaadh/mveargasmdj.git
, to clone the repository.cd mveargasmdj
, to enter the directory.pip3 install -r requirements.txt
, to install rest of the dependencies/requirements.- Create a new
config.ini
using the sample available atconfig.ini.sample
. - Insall ffmpeg
apt install ffmpeg
- Run with
python3.8 -m player
, stop with CTRL+C.
It is recommended to use virtual environments while running the app, this is a good practice you can use at any of your python projects as virtualenv creates an isolated Python environment which is specific to your project.