E
E
Emil Samauov2020-05-01 00:59:03
In contact with
Emil Samauov, 2020-05-01 00:59:03

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!")


Help, I've been struggling for 3 days now.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emil Samauov, 2020-05-01
@emil_laynee

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 question

Ask a Question

731 491 924 answers to any question