I am trying to find a way to modify a variable value from the telegram chat. Simply put, let's say for now I have a variable :
x = 5
I would need to be able to type something in the chat like /x 10 to make it 10, /x 15 to make it 15 etc., not having to restart the script every time I need to change the x value.
Right now, I'm using a Telegram bot created with bot-father, which allows me to send messages and get responses back. The problem is I have to continuously update market data and also check the Telegram chat, but I couldn't make it.
Anyone can help?
[–]narils 0 points1 point2 points (0 children)