NovaMusic is a music sharing robot. Users can get music and music lyrics using inline queries.
Users can send music to robot and robot saves the music in the database.
This is how music database grows up.
I used Redis nosql database (postgresql in new version) in this project.
You can create a free Redis online database, use this link.
- Create lyricsfreak.com API Done -> LyricsFk
Create a file named .env
in the directory and add all the variables there. An example of .env
file:
BOT_TOKEN = bot token
SUDO = sudo chat id
BOT_USERNAME = robot username
DB_HOST = db host
DB_DATABASE = db name
DB_USER = db user
DB_PASSWORD = db pass
pip install -r requirements.txt
python bot.py