Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.86 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.86 KB

cover

genius-lyrics-bot

Telegram bot in inline mode that can search and send songs lyrics from genius.com

wakatime

Aiogram Python

Contents

  1. Install
  1. TODO

Install

Prequisites

  1. Python 3.11 or higher
  2. Systemd (if you want to run bot as service)
  3. Genius client access token

Basic startup

Get your access token for Genius API there: https://genius.com/developers Then clone the repository and install all dependencies by:

pip install -r requirements.txt

Paste your Bot Token and Genius API Token into .env.example and rename it to just .env, then start bot by:

python main.py

Systemd

Replace '.example' from genius-bot.service.example so it's just genius-bot.service. Then just copy service file to /etc/systemd/system/

sudo systemctl start genius-bot.service

TODO

  1. Make endless inline-menu, because now it's limited and only displays 5 songs.
  2. Solve problem with Genius API 403 error on VPS/VDS servers