Answer the question
In order to leave comments, you need to log in
For some reason VkBotEventType doesn't work?
The bottom line is (I’ll throw off the code later) I have such a problem, like I wrote the code, everything is correct, I want to display messages in print, and it gives out None.
Output like this: print(event.object.text)
And in general, in checks, for example:
if event.object.text == "Привет":
print("Work!")
Answer the question
In order to leave comments, you need to log in
I know about it, but why does event.object.text return None. And in general, the error says that there is no text attribute in event
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question