Answer the question
In order to leave comments, you need to log in
How to make python discord bot accept another message after if?
Part of the problematic code:
if message.content.lower() == 'здравствуй':
message.channel.send('я тебя так долго ждал')
if message.content.lower() == 'пока':
message.channel.send('пока')
Answer the question
In order to leave comments, you need to log in
It's not very clear what you want. But you need to decide:
a) Either the sequence of messages is not important for you, then the question is only in formulating the correct conditions.
b) Or the sequence of messages is important for you, then you need to remember for each user where in the sequence he stopped. This information will have to be stored by yourself.
There is, of course, an option with wait_for () (if you have discord.py and not something else), but it is also not easy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question