Q
Q
qwwwwwty2021-11-02 11:53:04
Python
qwwwwwty, 2021-11-02 11:53:04

How can you implement conversational marriages with your Python bot, Aiogram?

how can marriages in conversation be implemented with my python bot, Aiogram? let's say there is person A (with id @personA) and person B (with id @personB), you need to register a marriage with a certain command, example:

!marry a couple of @personA and @personB
bot writes: from now on @personA and @personB are in Marriage

When commanding !marriages, the bot must indicate all marriages that are in the conversation and the time when this marriage was made. for example:

!marriages
bot writes: marriages conversations: @personA and @personB have been married since 02.11.2021

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SHADRIN, 2021-11-02
@shadrin_ss

Add commands to the bot and store everything in the database to display later

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question