I know it’s not directly a python question, but at the same time it is, since the bot is written in python.
So if you could help me to understand why changed states doesn’t trigger handlers or callbacks it would be awesome.
I’ve tried asking ChatGPT but it wasn’t helpful.
My problem is that the handler ‘set_name’ is not executed when WAITING_FOR_NAME state is active and user sends a message. States do change, according to logs and everything works without this ‘state filter’, but I need to use states
here is my Github with code. Ill be happy to provide you with anything you need
submitted by /u/Dzhama_Omarov
[link] [comments]
r/learnpython I know it’s not directly a python question, but at the same time it is, since the bot is written in python. So if you could help me to understand why changed states doesn’t trigger handlers or callbacks it would be awesome. I’ve tried asking ChatGPT but it wasn’t helpful. My problem is that the handler ‘set_name’ is not executed when WAITING_FOR_NAME state is active and user sends a message. States do change, according to logs and everything works without this ‘state filter’, but I need to use states here is my Github with code. Ill be happy to provide you with anything you need submitted by /u/Dzhama_Omarov [link] [comments]
I know it’s not directly a python question, but at the same time it is, since the bot is written in python.
So if you could help me to understand why changed states doesn’t trigger handlers or callbacks it would be awesome.
I’ve tried asking ChatGPT but it wasn’t helpful.
My problem is that the handler ‘set_name’ is not executed when WAITING_FOR_NAME state is active and user sends a message. States do change, according to logs and everything works without this ‘state filter’, but I need to use states
here is my Github with code. Ill be happy to provide you with anything you need
submitted by /u/Dzhama_Omarov
[link] [comments]