-
Upgrade & Update:
sudo apt-get update && sudo apt-get upgrade -y
-
Install Required Packages:
sudo apt-get install python3-pip ffmpeg -y
-
Setting up PIP
sudo pip3 install -U pip
-
Installing Node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash && source ~/.bashrc && nvm install v18
-
Clone the Repository
git clone https://github.com/BABY-MUSIC/SPOTIFY_MUSIC && cd SPOTIFY_MUSIC
-
Install Requirements
pip3 install -U -r requirements.txt
-
Create .env with sample.env
cp sample.env .env
- Edit .env with your vars
-
Editing Vars:
vi .env
- Edit .env with your values.
- Press
I
button on keyboard to start editing. - Press
Ctrl + C
once you are done with editing vars and type:wq
to save .env or:qa
to exit editing.
-
Installing tmux
sudo apt install tmux -y && tmux
-
Run the Bot
bash start
The Aviax Music Bot offers a range of commands to enhance your music listening experience on Telegram:
Command | Description |
---|---|
/play <song name> |
Play the requested song. |
/pause |
Pause the currently playing song. |
/resume |
Resume the paused song. |
/skip |
Move to the next song in the queue. |
/stop |
Stop the bot and clear the queue. |
/queue |
Display the list of songs in the queue. |
For a full list of commands, use /help
in telegram.
━━━━━━━━━━━━━━━━━━━━