I’m looking for a way for a bot to wait for a reply from a user after a command. For example, you first type "/ask", then the bot waits for a plain message (not a command) from the user and after the user replies is stores his/her reply in a variable
I’m sure this is quite simple, but all the tutorials I’ve seen are in Russian and the documentation for python-telegram-api is very chaotic and I’m not the most advanced
If I’m dumb, sorry, just please help a fellow beginner out
2
Answers
Okay, this was pointless. I thought you couldn't use arguments, but the post I read was 5 years old so... I'm stupid. I just used arguments instead, thanks for the help tho, really appreciate it
here’s the code that takes user’s input and stores it in the "store_user_input" variable.
You can check the value by adding:
after store_user_input line.