- Get your Necessary Variables
- Upgrade and Update by :
sudo apt-get update && sudo apt-get upgrade -y
- Install Ffmpeg by :
sudo apt-get install python3-pip ffmpeg -y
- Install required packages by :
sudo apt-get install python3-pip -y
- Install pip by :
sudo pip3 install -U pip
- Install Node js by :
curl -fssL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install nodejs -y && npm i -g npm
- Clone the repository by :
git clone https://github.com/Noob-Mukesh/Telegram-Music && cd AnonXMusic
- 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 :
bash start
- For getting out from tmux session : Press
Ctrl+b
and thend
━━━━━━━━━━━━━━━━━━━━
- sᴩᴇᴄɪᴀʟ ᴛʜᴀɴᴋs ᴛᴏ ᴛᴇᴀᴍ ʏᴜᴋᴋɪ ғᴏʀ ʏᴜᴋᴋɪ ᴍᴜsɪᴄ ʙᴏᴛ