Answer the question
In order to leave comments, you need to log in
Bot response to a message from a given list?
@dp.message_handler(Text(contains=['Go', 'Gone', 'Go', 'Go']))
async def step1(message: types.Message):
await message.answer("This is an action.")
I don’t understand how to make the bot react to one word and give an answer.
in this code, it only reacts to all words if written in a line.
Tell me please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question