Open on telegram Β· Report Bug Β· Request Feature
To get a local copy installed and working, follow these steps:
-
Clone this repository
git clone https://github.com/joaroque/MelissaSongs.git -
Enter the project folder
cd melissaSongs
Note: use pip install -r requirements .txt to install all dependencies.
-
Install pyTelegramBotAPI framework
pip install pyTelegramBotAPI -
Install youtube-dl
pip install youtube-dl -
Install youtube-search-python
pip install youtube-search-python -
Install shazamIO
pip install shazamio
The bot messages are in Portuguese, I have not yet implemented an i18n middleware to handle the translations, but if you want to change it, access the
/utils/messages.pyfile.
-
Get the token from @BotFather
-
Insert your token in the
.envfileTOKEN = "INSERT_YOUR_TOKEN_HERE" VOICE_DIR=tg_voices/ AUDIO_DIR=tg_audios/
-
Start the bot
python bot.py
- The
\startcommand
- Search songs with music snippets like in Shazam
- Search songs with title. eg:
\musicAlan Walker -Zombie
I made this banner using saviomartin's Slickr tool.


