Improvements to the Telegram bot
The bot is designed for automatic checking of Reddit account statuses for user bans every N minutes, as well as manually
Already implemented functionality:
Checks have been implemented
The user can add accounts, display the list, clear, and delete specific accounts from the check list.
The user in settings can: change the language, set the check interval, enable/disable notifications about checks when the account is active
It is necessary to implement:
Limits:
- Limit on the number of added accounts
- Maximum: 30 accounts per user.
- Storage: Add the account_limit field to the users table in the database.
- Setting the limit: Set when executing the /start command.
- Behavior when exceeding the limit: When trying to add an account beyond the limit, the bot sends a message:
"You have reached the maximum number of accounts at this time." - Implementation of the check:
- At the database level: Create a trigger that checks the number of accounts before inserting a new one.
- At the application level: In the account addition function, check the current count and account_limit.
- Limit on the number of immediate checks per day
- Maximum: 5 checks per day per user.
- Storage: Create a user_checks table to track the number of checks by each user.
- Behavior when exceeding the limit: The bot sends a message:
"You have reached the daily limit of checks." - Implementation of counter reset: Automatically reset the check counter daily at 00:00.
- Check interval
- Restriction: Prohibit setting the check interval below 20 minutes.
- Behavior when violated: When trying to set an interval of less than 20 minutes, the bot sends a message:
"The minimum check interval is 20 minutes." - Implementation: Validate input data when setting the interval and store check_interval in the users table.
- Add limit output when pressing the help button
-
489 3 1 1 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.
-
814 14 2 Hello.
The categories and tags of your project are slightly different, so it's a bit unclear what the bot is written in, either node.js or python. I am ready to work with both languages.
I am ready to help you. I have worked with both the Reddit part (https://freelancehunt.com/project/reddit-avtoposter-nakrutka-cherez-api/1298090.html) and the Telegram part.
I need to take a look at the code itself, because without it, giving even the most approximate price is unrealistic. Write to me in private messages, I will review it, and we will discuss the details of the work. I am waiting for you!
-
792 9 1 Hello. I am ready to approach the refinement/development from scratch with all seriousness. To start working, it is necessary to know what language your bot is written in, and what modules/libraries are used? Are you considering writing from scratch? I would be happy to collaborate, please contact me!
-
224 5 0 Good afternoon, I have experience in developing telegram bots in Python. I am ready to complete your task. We can discuss the details in private messages.
-
726 9 1 Hello! Your project looks very interesting. I am ready to start working immediately and ensure high quality.
-
2562 19 1 Good afternoon, I have extensive experience in developing bots of various complexity, ready to help in a short time. I will do it quickly and efficiently.
-
2138 22 2 hello
I am working on developing TG bots
Is it in Python?
To evaluate the work, I need to see the code, because everything depends on how well it is written
Current freelance projects in the category Bot Development
Telegram bot for automatic interviewing of veterinarians with OpenAI integration
22 USD
Goal: to maximize the automation of the initial selection of candidates without the involvement of the employer. 1. The candidate follows the link to the Telegram bot and starts the interview with the command /start. 2. The bot sequentially asks 18 pre-set questions. 3. Answers… AI & Machine Learning, Bot Development ∙ 18 hours 36 minutes back ∙ 73 proposals |
Automation setup: Form on the website → WhatsApp bot → CRM (Make + WATI)Project Description: There is a transportation company website. Clients submit requests through a form on the site — the form is sent to email. We need to set up the following automation:Stage 1 — Form → WhatsApp — When a new request comes to the email from the website, the… Web Programming, Bot Development ∙ 2 days 15 hours back ∙ 51 proposals |
Telegram chatbot for a closed club
22 USD
Good day! I need to set up a bot for Telegram. Task: selling access to a closed channel. The bot should accept payments and after successful payment, issue a one-time invitation link. It is also necessary to set up automatic removal of a participant from the channel when their… Bot Development ∙ 5 days 1 hour back ∙ 100 proposals |
Mini apps Telegram. StoreGood afternoon An application is required in Telegram (online store) Example - essentially 1 to 1 like here brandspacebot Your experience is important, the stack you propose to use and why Price and timeframe approximately to start, I will be waiting for questions Web Programming, Bot Development ∙ 5 days 4 hours back ∙ 94 proposals |
Bots"I am looking for a programmer to create a turnkey Telegram bot. The bot should be an intelligent conversationalist based on AI (Gemini or ChatGPT), helping people on any topic and in any language. Payment (Monobank or LiqPay) for subscription needs to be integrated as well. I… Bot Development ∙ 5 days 12 hours back ∙ 65 proposals |