You may open a issue, and we will be happy to assist.
You have to self-deploy it - instructions down bellow.
Command | Aliases | Action |
---|---|---|
-play | -p | Plays or adds a track to queue from YouTube Music. |
-playYT | -py | Plays or adds a track to queue from YouTube. |
-pause | Pauses playback. | |
-resume | Resumes playback. | |
-togglePlayback | -pp | Switches between pause & play states. |
Command | Aliases | Action |
---|---|---|
-queue | -q | Displays the current queue. |
-next | -n | Jumps to next track in the queue. |
-back | -b | Jumps to previous track in the queue. |
-jump | -j | Jumps to specific track in the queue based on its position. |
-delete | -d | Removes track from the queue from the given position. |
-clear | -c | Clears the queue. |
Command | Aliases | Action |
---|---|---|
-lyrics | -l | Shows lyrics of a track. |
-lyricsSend | -ls | Sends lyrics of a track in a TXT file. |
-changeChannel | -cc | Changes voice channel where music should be played. |
Command | Aliases | Action |
---|---|---|
-status | -s | Displays bot's statistics. |
-about | -a | Displays information about bot. |
You can deploy this bot on Heroku or on a self hosted machine.
Docker is recommended for personal deployment.
If you have Docker installed, you can enter following commands:
sudo docker pull ghcr.io/mytja/harmonoid-music-bot:latest
sudo docker run -d -e DISCORD_TOKEN=<your discord bot token> ghcr.io/mytja/harmonoid-music-bot
You can view your running machines using sudo docker ps
Afterwards, you can see logs using sudo docker logs <your docker container id>
.
Docker container ID can be obtained using sudo docker ps
- Get repository
git clone https://github.com/mytja/harmonoid-music-bot
- Change directory
cd harmonoid-music-bot
- Install Python dependencies
python3 -m pip install -r requirements.txt
- Install ffmpeg
sudo apt install ffmpeg
- Export environment variable
export DISCORD_TOKEN=<your discord bot token>
- Run a program
python3 main.py
- Create an account on Heroku if you don't have it yet
- Create an app
- Create a fork of our repo on GitHub & Deploy it on Heroku
- Get a Discord Bot Token from Discord
- Add a secret key called DISCORD_TOKEN with value of a discord token, you got earlier, to Heroku app
- Flip a toggle switch on main page of your app
- sigmatics for ytmusicapi
- PyTube for PyTube
- Tin TvrtkoviΔ for aiofiles
- alexmercerind for youtube-search-python
- Danny for discord.py