Write a user bot
I will now detail what I need, and I will answer any additional questions. I already have part of the code with the help of GPT.
Task: write a user-bot for Telegram in Python using the Telethon library
🔑 Main requirements
1. Type of bot
- Works as a userbot (through a user session, not Bot API)
- Session is saved to a file (confirmation code is entered once)
2. Working hours
- By default: 08:00–20:00 (WORK_START and WORK_END)
- Outside of this time, new messages are ignored
- The command /worktime HH:MM-HH:MM changes the working hours only for today (in the bot itself)
- The next day or after a restart, it defaults back to 08:00–20:00
3. Searching for the "I take it" button in the channel
- Monitors new messages in the channel CHANNEL
- Processes inline buttons with links and regular buttons
- If the button contains the text "I take it" → clicks it
4. Working with ORDER_BOT
- After clicking "I take it," the bot goes to ORDER_BOT
- Sends a request:
• If there is one text in VARIANTS → send it
• If there are several → choose one randomly
- After the request, clicks the "Send request" button
5. Variables in the code
- WORK_START, WORK_END – default working hours
- VARIANTS – list of request texts
- CHANNEL – username of the channel
- ORDER_BOT – username of the order bot
- TAG_KEYWORDS – list of words that the bot responds to in projects
6. Logging
- All actions are output to the console:
• "Found the I take it button"
• "Sent request" text, it needs to be chosen from several of my specified options, but I should be able to leave one or several options
• "Clicked Send request"
• "Outside working hours — ignoring message"
• Errors are also output to the console
7. Commands
- /worktime HH:MM-HH:MM – set working hours for today
- Ability to set TAG_KEYWORDS:
• /tags set word1,word2,...
• /tags show
• /tags clear
This is to respond, for example, not to all projects, but to specific ones where there is a certain word
📌 What to test
1. Message in the channel with the "I take it" button (including with a link) → the bot finds and clicks it
2. Transition to ORDER_BOT → the bot sends a request
3. If there are several request options → one is taken randomly
4. After the request, the bot clicks "Send request"
5. Outside working hours, the bot ignores messages
6. After the /worktime command, the time changes only for the current day
7. When TAG_KEYWORDS are enabled, the bot only reacts to messages with these words
Additionally
- Ability for remote launch on the server
- The code must be functional, without stubs
Client's review of cooperation with freelancer
Write a user botvery satisfied with the specialist's work, everything was completed and explained how to launch
Freelancer's review of cooperation with Sergey Fedkin
Write a user botPleasant client, always in touch, clearly explained the technical task. I recommend for collaboration.
![]()
-
937 5 0 1 Hello!
I am engaged in the development of Telegram bots using NodeJS.
I am also proficient in the Python programming language, connecting to various API services, databases, and visual tables.
I propose to discuss the details of your project, after which we can agree on a budget and timeline that works for both of us.
My portfolio and ready-made solutions can be found on the website - https://vaysed.me/
Or in the Freelance profile.
I would be happy to work with you!
-
3268 52 0 Good day, Serhiy.
I can write from scratch
.....................
-
2882 26 0 Good day, I am interested in your project. I have developed user-bots on Telethon, aiogram. I am ready to discuss the details.
-
128 Good day, I am ready to take on the project. I have experience in similar tasks, I guarantee quality and timely execution)))
-
9984 117 0 Hello.
I am developing bots for Telegram using NodeJS. I am ready to take on the project. Write to me, and we will discuss.
Current freelance projects in the category Bot Development
Automation bot for playerok.com
89 USD
1. Main Menu and Monitoring Dashboard screen updated in real-time (or by button): Status of key modules (On/Off). Current tasks: number of pending code/email deliveries from buyers, active orders. Financial summary for the current date (Total amount, net profit considering… Engineering, Bot Development ∙ 1 hour 46 minutes back ∙ 18 proposals |
A simple checkpoint bot needs to be created for the GTA5 server.
56 USD
Operating principle: https://www.youtube.com/watch?v=yTTRQfYSfaY In short, there is a large checkpoint, you stand on it and press the letter "E" (English), 6 small checkpoints appear, and the bot just needs to run and press "E" at the checkpoints. I tried using Python and AHK -… Bot Development ∙ 5 hours 44 minutes back ∙ 7 proposals |
Integration of the analytics system with the Database in Tables
112 USD
The current analytics system needs to be brought to a stable working state. Currently, data from CRM, telephony, and advertising accounts is pulled through Supabase via MSP into Google Sheets, but some processes still require manual control. This needs to be eliminated.1.… AI & Machine Learning, Bot Development ∙ 21 hours 29 minutes back ∙ 28 proposals |
Telegram bot for hiring/searching employees. For job searching.
25 USD
1. General Concept Creation of a Telegram bot for automating recruitment and mutual job searching. The system operates on the principle of active response and mutual confirmation of interest (Double Opt-In). The system includes two roles: Employer (Company Owner) and Worker (Job… Python, Bot Development ∙ 23 hours 22 minutes back ∙ 81 proposals |
Two-way messaging exchange between CRM Creatio and Telegram
156 USD
Implement a two-way messaging exchange between CRM Creatio and Telegram according to the specifications https://docs.google.com/document/d/1Y8qL2CJwwmVSrJOXfQipoi27t-wkvDx1UmA2-niTtWs/edit?usp=sharing Web Programming, Bot Development ∙ 1 day 11 hours back ∙ 45 proposals |