Closed mariarogina closed 3 years ago
By the way, I py-linted the code and it went better, except the fact that now I have the same KeyError with updates = updates["result"].
Please Help!
That means, the API doesnt answer, which means you didnt setup up a bot and take care about the token. I changed the code, so this error message is now more precise. See my repo
Uhm could you be more precise please?
I actually solved this one . There was just an extra slash in the url in the video which was not in the source code
That means, the API doesnt answer, which means you didnt setup up a bot and take care about the token. I changed the code, so this error message is now more precise. See my repo
I see, you mean in
url = self.base + "getUpdates?timeout=100"
Hello! My own code written according to the video throws 2 errors:
And in your code downloaded from github there is also an error
Please tell me what can possibly be wrong