Closed cgthayer closed 5 years ago
@jeremylow looks like you were the last to touch this line (though it was very long ago)
Context: I was trying to use the Account Activity API, but it looks like there's no direct support. My goal is to write a chatbot that receives (and replies to) Direct Messages, so I wanted to register my webhook. Tried to use api._RequestUrl()
Thanks!
Minor, some cases set
resp = 0
which causes an exception if the rate_limit is setif url and self.rate_limit:
should beif url and self.rate_limit and resp: