/alfa

AnonMusic Repo with New pytgcalls

Primary LanguagePython

──「 ᴀɴᴏɴ ダ ᴍᴜsɪᴄ 」──

Stars License Python

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʜᴇʀᴏᴋᴜ 」─

─「 ᴅᴇᴩʟᴏʏ ᴏɴ ʟᴏᴄᴀʟ ʜᴏsᴛ/ ᴠᴘs 」─

This is Debian Based Distro Commands. If you are using any other distro then google it

  • 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
    Press I on the keyboard for editing env
    Press Ctrl+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 then d
    ━━━━━━━━━━━━━━━━━━━━

─「 sᴜᴩᴩᴏʀᴛ 」─