Skip to content

1UHD/harmony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

harmony logo

HARMONY

free & open source Discord Music bot using yt-dlp

Install

Make sure to have Python installed. After installing Python, you can clone this repository.

git clone https://github.com/1UHD/harmony.git

This bot is locally hosted, which means that you need to create the bot on your own. To do this, open the Discord Developer Portal and create a new Application. Go to the Bot Tab and change the username, picture and banner to your liking. Our logo and banner can be found in the /bot/assets directory. To add your bot to the server, navigate to the OAuth2 tab and tick "bot" in the OAuth2 URL Generator. Once you have done that, you can pick bot permissions. The Bot needs the following permissions:

  • Read Messages/View Channels
  • Send Messages
  • Embed Links
  • Connect
  • Speak
  • Priority Speaker (If you want the bot to have priority in voice calls)
  • Use External Sounds

If you're lazy just tick Adminstrator ;) At the bottom, you can find a link. Copy it and paste it into your browser to add your bot to your server. Once you've done that, go back to the Bot tab and click on Reset Token. Copy your token and set up your bot.

To set up the bot, you can run the setup script. It will ask you to install FFmpeg and OPUS. It will also ask you to paste your bot token that you've saved earlier.

python setup.py

(If you run into any problems, dm kurtiscool on Discord)

Run the Discord bot

After your setup is done, run the main file and the bot will go online.

python bot/main.py