Telegram bot with integration of local SQLite database
I developed a stable Telegram bot in Python using the telebot library. The main feature of the project is the integration of the built-in sqlite3 module for working with a local relational database. The program can automatically create tables, write, update, and query data using direct SQL queries. This is ideal for projects where long-term storage of user profiles or logging actions is needed without losing speed. I also set up a security architecture, so all configuration API tokens are completely moved to hidden environment variables in a .env file. Database connections are opened and closed correctly, which protects the files from locking under high loads.