Replit Discord 机器人已被 Discord 屏蔽

Own*_*nwn 3 discord discord.py

当我在 repl.it 上运行不和谐机器人时,出现错误。在错误中,我看到下面一些 HTML 代码。CloudFlare 似乎阻止了我的机器人访问 Discord。是什么导致了这种情况?

   <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 (discord.com) has banned you temporarily from accessing this website.</p>```

Run Code Online (Sandbox Code Playgroud)

Inf*_*ity 12

你说你\xe2\x80\x99re使用replit\xe2\x80\xa6\nReplit使用共享ip地址,云flare禁令是基于ip地址的。实际上,您\xe2\x80\x99很可能与许多其他人\xe2\x80\x99的机器人共享IP地址,这就是\xe2\x80\x99的原因,即您从服务器受到速率限制和/或暂时禁止侧面,看起来他们\xe2\x80\x99正在从单个IP地址收到垃圾邮件请求。\n您可以kill 1在shell中键入以尝试在不同的IP上重新启动repl,但这可能只是一个临时解决方案。如果您\xe2\x80\x99仍然被禁止,并且您\xe2\x80\x99正在使用处理速率限制的软件包,那么切换主机可能会解决问题。

\n

  • `kill 1` 对我有用,谢谢! (5认同)