Budget: 8700 UAH Deadline: 4 days
Hello!
We are ready to offer our services for the improvement of your bot, including the implementation of the described functionalities. Below is the work plan.
Necessary improvements
Limit on the number of added accounts
Adding a limit of 30 accounts for each user.
Updating the database: adding the account_limit field to the users table.
Implementing checks at the database (trigger) and application level:
When the limit is exceeded, the user receives a message:
"You have reached the maximum number of accounts at this time."
Limit on the number of immediate checks per day
Introducing a limit of 5 checks per day for each user.
Creating a user_checks table to track the number of checks.
Implementing a daily reset of the checks counter at 00:00.
Message upon reaching the limit:
"You have reached the daily limit of checks."
Limiting the interval of checks
Prohibiting the setting of a check interval of less than 20 minutes.
Adding input validation and saving the interval in the database.
Message upon violation of the limit:
"The minimum check interval is 20 minutes."
Displaying limits in the /help command
Adding information about the current limits for the user to the /help command:
Maximum number of accounts.
Daily limit of checks.
Minimum check interval.
Our approach
Code structure: Using Python (for example, the aiogram library for Telegram).
Database: Expanding the current database structure (PostgreSQL, SQLite, or other).
Flexibility: Ability to make changes and improvements based on feedback.
Our experience
Development and improvement of Telegram bots with restrictions and limits.
Working with databases, implementing triggers and complex logic.
Ensuring reliable application performance with scalability.
We are ready to start working as soon as possible. We guarantee quality execution of the task and support after the project is completed.