- Get your Necessary Variables
- Update and Upgrade Packages by :
sudo apt update && sudo apt upgrade -y
- Install Some Required Packages by :
sudo apt install python3-pip python3-virtualenv ffmpeg -y
- Install virtualenv by:
virtualenv -p /usr/bin/python3 venv
- Activate Virtualenv by:
. ./venv/bin/activate
- Install pip by :
pip3 install -U pip
- Clone the repository by :
git clone https://github.com/Pranav-Saraswat/Testing-Alpha1 && cd Testing-Alpha1
- Install requirements by :
pip3 install -U -r requirements.txt
- Fill your variables in the env by :
vi sample.env
PressI
on the keyboard for editing env
PressCtrl+C
when you're done with editing env and:wq
to save the env - Rename the env file by :
mv sample.env .env
- Install tmux to keep running your bot when you close the terminal by :
sudo apt install tmux && tmux
- Finally run the bot by :
python3 -m AnonXMusic
- For getting out from tmux session : Press
Ctrl+b
and thend
━━━━━━━━━━━━━━━━━━━━
- sᴩᴇᴄɪᴀʟ ᴛʜᴀɴᴋs ᴛᴏ ᴛᴇᴀᴍ ʏᴜᴋᴋɪ ғᴏʀ ʏᴜᴋᴋɪ ᴍᴜsɪᴄ ʙᴏᴛ