Chat bot codeDevelopment & Customization

A chat bot for Telegram, Discord or Slack in Python: a menu, answers, forms and requests sent to your chat

Usually ready in 15 minutesRevisions includedQuality check
Packages
Payment protectionDetails
  • Revisions within the package are free.
  • If you do not respond within 3 days of delivery, the work is accepted automatically.

The money is reserved when you pay and released only once you accept the work.

A chat bot for Telegram, Discord or Slack in Python: a menu, answers, forms and requests sent to your chat

Example result

Example for the Standard package

Telegram bot for booking haircuts at a barbershop

The bot in Telegram

Booking a haircut in the bot

A part of the code

async def booking_done(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
    """The last step of the form: thanks the client and passes the request on."""
    request = context.user_data["booking"]
    request["phone"] = update.message.text.strip()
    await update.message.reply_text(TEXTS["booking_thanks"], reply_markup=main_menu())
    await context.bot.send_message(settings.admin_chat_id, format_request(request))
    sheet.append_row([datetime.now().isoformat(timespec="minutes"), *request.values()])
    return ConversationHandler.END

All the answers and buttons are in texts.yaml, so the client changes a price or the hours without touching the code.

Files: a ZIP archive with bot.py, texts.yaml, settings.example.env (where the bot token and the sheet go, filled in by the client), requirements.txt and a README: creating the bot in Telegram, connecting the Google Sheet and running it on a small server or hosting. The bot sends the request but does not check the barbers' calendar: the owner confirms the time.

Client: a barbershop with 3 barbers that took bookings only by phone. Task: a Telegram bot with a menu: prices, address and hours, a booking form (service, day and time, name, phone) that sends each request to the owner's chat and adds it to a Google Sheet.

The client and all details are made up.

About this service

A chat bot for your customers or your community that answers by the script you give it: a menu of buttons, ready answers to common questions (prices, opening hours, address, delivery) and forms that take a request, a booking or an order step by step and send it to you. It is made for Telegram, Discord or Slack and written in Python. Describe what the bot should do and give its texts and answers, and we write the code. You get an archive with the code, a settings file and a README that explains, step by step, how to create the bot on the platform and get its token (for Telegram, with @BotFather) and how to run it on your own computer, server or a hosting that runs Python. The bot answers only by your script: it does not make up answers, take payments or log in to other services. A booking form takes the request and sends it to you; it does not check a calendar. Hosting the bot and keeping it running are on your side; we do not run bots for clients.

What is included

  • What you getA ZIP archive with the Python code, an example settings file and a README with step-by-step instructions; the code is also shown on the order page.
  • Buttons and menusCustomers tap instead of typing
  • Requests come to youTo your chat and a Google Sheet, in Standard and Premium
  • Only your textsAnswers exactly as you give them
  • Runs where you chooseA computer, a server or a hosting that runs Python
  • A plain guideCreating the bot, the token and running it, step by step

How it works

  1. 1
    ScriptYou give the platform, the menu, the answers and the forms
  2. 2
    CodeWe write the bot and the guide to running it
  3. 3
    LaunchYou create the bot, put in its token and run it
  4. 4
    ChangesYou ask for changes within your package

What we need from you

The platform: Telegram, Discord or Slack. What the bot should do, and its texts: the menu buttons, the answers, the questions of each form and where requests should go (your chat, a group or a Google Sheet). Your contacts and links exactly as they should appear. Never send the bot's token or any passwords: the README explains where you put them yourself.

We will ask you:

  • Which platform?
  • What should the bot do?
  • The menu and the answers
  • Forms and where requests go
  • Your contacts and links

Compare packages

PackagesBasicMenu bot with answers$29StandardBot with forms$59PremiumBot with admin tools$99
Deadline1 day2 days3 days
Revisions123
PlatformTelegram, Discord or SlackTelegram, Discord or SlackTelegram, Discord or Slack
Ready answersup to 10up to 25up to 40
Forms (request, booking, order)Noup to 3up to 5
Requests sent to your chat and a Google SheetNoYesYes
Admin commands and broadcastsNoNoYes
Languages of the menu112
Order BasicOrder StandardOrder Premium

Payment protection

You pay when you order, but the money is released only for accepted work.

  • Fixed priceThe package price does not change after you pay.
  • The money is reservedWhen you pay, the amount is only reserved. It is released to the service once you accept the work.
  • Checked before deliveryEvery result goes through a quality check before it reaches you, and you see it on the order page before accepting it.
  • Free revisionsAsk for changes within your brief as many times as the package allows.
  • Acceptance after 3 daysIf within 3 days of delivery you neither accept the work nor ask for changes, it is accepted automatically. If you write in the order chat after delivery, the order waits; once we answer, we may start the 3 days again and will say so in the chat.
  • Redo or a full refundIf the result does not match your brief and the revisions did not fix it, or the work takes more than twice its deadline, write in the order chat: we will redo the work or refund the payment in full.
How it works →

Questions and answers

Where does the bot run?

On a computer, a server or a hosting that runs Python, which you choose and pay for. While the program is running, the bot answers; the README explains how to keep it running on a server. We do not host bots for clients.

What does it do with a question it has no answer to?

It shows the menu again or your contacts, as you choose. It answers only with your texts and never makes up an answer.

Can it take payments?

No. It can give a link to your own payment page or shop, but it does not take payments itself.

Can you make a WhatsApp bot?

Not in this service: a WhatsApp bot needs the WhatsApp Business API and an approved business account. This service makes bots for Telegram, Discord and Slack.

Does the bot keep users' data?

The Basic bot keeps nothing. Forms send each request to you. The Premium bot keeps the chat IDs of subscribers for broadcasts in a small database on your server. Telling users how their data is used is up to you.

How do I change the answers later?

All the texts of the bot sit in one file, separate from the code, and can be changed in any text editor; then restart the bot. Within your package you can also ask us for changes.

Did not find your answer?

Packages