Replit python discord bot offline

Hey all,

I was following Beau’s YT tutorial on making a bot and my bot went offline after a few hours. Everything was running great and I was pausing for 20-30 minutes between and checking and the bot was online but I went away for an evening and came back and now the bot is not working. I am getting a gigantic error code and I don’t know how to make sense of it. Has anyone experienced this before and can help me with where I should be looking? Thanks in advance!!!

Here is the error code:

2022-10-24 20:47:57 INFO discord.client logging in using static token

  • Serving Flask app ‘’
  • Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (
  • Running on
  • Running on
    Press CTRL+C to quit
    Traceback (most recent call last):
    File “”, line 50, in
    File “/home/runner/Encourage-Bot/venv/lib/python3.8/site-packages/discord/”, line 828, in run
    File “/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/asyncio/”, line 44, in run
    return loop.run_until_complete(main)
    File “/nix/store/2vm88xw7513h9pyjyafw32cps51b0ia1-python3-3.8.12/lib/python3.8/asyncio/”, line 616, in run_until_complete
    return future.result()
    File “/home/runner/Encourage-Bot/venv/lib/python3.8/site-packages/discord/”, line 817, in runner
    await self.start(token, reconnect=reconnect)
    File “/home/runner/Encourage-Bot/venv/lib/python3.8/site-packages/discord/”, line 745, in start
    await self.login(token)
    File “/home/runner/Encourage-Bot/venv/lib/python3.8/site-packages/discord/”, line 580, in login
    data = await self.http.static_login(token)
    File “/home/runner/Encourage-Bot/venv/lib/python3.8/site-packages/discord/”, line 801, in static_login
    data = await self.request(Route(‘GET’, ‘/users/@me’))
    File “/home/runner/Encourage-Bot/venv/lib/python3.8/site-packages/discord/”, line 680, in request
    raise HTTPException(response, data)
    discord.errors.HTTPException: 429 Too Many Requests (error code: 0):
Access denied | used Cloudflare to restrict access
Please enable cookies.

Error 1015

Ray ID: 75f5920f28ee2abe • 2022-10-24 20:47:57 UTC

You are being rate limited

  <section class="w-240 lg:w-full mx-auto mb-8 lg:px-8">
      <div id="what-happened-section" class="w-1/2 md:w-full">
        <h2 class="text-3xl leading-tight font-normal mb-4 text-black-dark antialiased" data-translate="what_happened">What happened?</h2>
        <p>The owner of this website ( has banned you temporarily from accessing this website.</p>


  <div class="feedback-hidden py-8 text-center" id="error-feedback">
<div id="error-feedback-survey" class="footer-line-wrapper">
    Was this page helpful?
    <button class="border border-solid bg-white cf-button cursor-pointer ml-4 px-4 py-2 rounded" id="feedback-button-yes" type="button">Yes</button>
    <button class="border border-solid bg-white cf-button cursor-pointer ml-4 px-4 py-2 rounded" id="feedback-button-no" type="button">No</button>
<div class="feedback-success feedback-hidden" id="error-feedback-success">
    Thank you for your feedback!
  <div class="cf-error-footer cf-wrapper w-240 lg:w-full py-10 sm:py-4 sm:px-8 mx-auto text-center sm:text-left border-solid border-0 border-t border-gray-300">

Cloudflare Ray ID: 75f5920f28ee2abe Your IP: Click to reveal Performance & security by Cloudflare

</div><!-- /#cf-error-details -->

 - - [24/Oct/2022 20:47:57] “GET / HTTP/1.1” 200 -

Replit uses shared IPs for projects - unfortunately, sometimes bad actors use a repl to spam Discord, and the shared IP gets ratelimited.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.