title: Discord.py Error 429 Too Many Requests - How to work with? How to fix? - Someone with little knowledge
body: <p>My bot is being limited with the error code &quot;429 Too Many Requests&quot;.
  I understand that it makes too many requests, but I don't understand how and my knowledge in Python is really limited.
  No one has been running commands on my bot, and the only repetitive command I have running does so once every half hour. Is that really enough to get myself blocked by Discord??</p>
  <p>Here's the code part that runs every half hour.</p>
  <pre><code>async def online_checker():
    await dclient.wait_until_ready()
    channel = dclient.get_channel(id=ID) # Channel ID the Bot will send 30m updates to.
  
    while not dclient.is_closed():
      session = requests.session()
      s = session.get('ADDRESS')
      soup = BeautifulSoup(s.text, 'html.parser')
      jsonString = json.loads(s.text)
      length = len(jsonString)
      keys = db.keys()
      online_list = []
      confirmed_online = []
      for x in range(length):
        online_list.append((jsonString[x]['character_name']))
      for online_compare in online_list:
        for parole_compare in keys:
           if online_compare == parole_compare:
            confirmed_online.append(parole_compare)
            break
      await channel.send('Online: {}'.format(confirmed_online))
      s.close()
      await asyncio.sleep(1800) # How often the bot should check for online
  </code></pre>
  <p>What am I doing wrong here? What's causing my bot to be blocked by Discord's API ?
  And most importantly, how can I check how many more requests my bot can send without being blocked? I looked through the documentation and I just don't have enough understanding in Python to know what to do with it.</p>