thecsw / memeinvestor_bot

This bot can help you invest in memes and make a fortune out of it!
https://meme.market
GNU General Public License v2.0
135 stars 34 forks source link

The API produces a 400 error with random success #377

Closed hazzakak closed 5 years ago

hazzakak commented 5 years ago

Describe the bug I have a discord script which allows users to see active investments, a summary of their account etc but I have noticed that it produces an error if it's used too many times. The rate is ridiculous it's like 1 command per 10 seconds or it returns an error.

To Reproduce Steps to reproduce the behaviour:

  1. Go to https://meme.market/api/investor/hazzakak_
  2. Reload a few times
  3. See error

Expected behaviour The page to not return an error but to return the investor.

Screenshots https://gyazo.com/37772d4721c17a72b8f3390794842954

Desktop (please complete the following information):

Additional context I'm using requests_async