This is a simple aiogram bot template using PostgreSQL as database
⚠️ Make sure you have a Postgresql database installed
- Rename
bot.ini.example
tobot.ini
- Install requirements using:
pip install -r requirements.txt
- Create database in psql
- Make migrations using Alembic
alembic revision --autogenerate -m "init"
alembic upgrade head
- To add new language - add language key in
tgbot/data/data.py
- Add your logic to own bot