Exit code 1 Crashing
Posted by niki in discord-bots.
[9:18:10 PM]Server marked as running [9:18:10 PM]File "/usr/local/lib/python3.14/asyncio/base events.py", line 706, in run until complete [9:18:10 PM]self.run forever() [9:18:10 PM]File "/usr/local/lib/python3.14/asyncio/base events.py", line 677, in run forever [9:18:10 PM]self. run once() [9:18:10 PM]File "/usr/local/lib/python3.14/asyncio/base events.py", line 2057, in run once [9:18:10 PM]handle = None Needed to break cycles when an exception occurs. [9:18:10 PM]File "/usr/local/lib/python3.14/asyncio/events.py", line 110, in run [9:18:10 PM]self = None Needed to break cycles when an exception occurs. [9:18:10 PM]2026 07 30 16:30:11 INFO discord.gateway Shard ID None has successfully RESUMED session 9f526494645469fb807c593d1c38b18c. [9:18:10 PM]2026 07 30 17:53:18 WARNING discord.gateway Can't keep up, shard ID None websocket is 11.8s behind. [9:18:10 PM]2026 07 30 18:24:03 INFO discord.gateway Shard ID None has successfully RESUMED session 9f526494645469fb807c593d1c38b18c. [9:18:10 PM]Unclosed connection [9:18:10 PM]client connection: Connection<ConnectionKey(host='gateway us east1 d.discord.gg', port=443, is ssl=True, ssl=True, proxy=None, proxy auth=None, proxy headers hash=None, server hostname=None) [9:18:10 PM]Unhandled slash command error: Command 'announce' raised an exception: HTTPException: 429 Too Many Requests (error code: 0): <!doctype html [9:18:10 PM]<! [if lt IE 7] <html class="no js ie6 oldie" lang="en US" <![endif] [9:18:10 PM]<! [if IE 7] <html class="no js ie7 oldie" lang="en US" <![endif] [9:18:10 PM]<! [if IE 8] <html class="no js ie8 oldie" lang="en US" <![endif] [9:18:10 PM]<! [if gt IE 8] <! [9:18:10 PM]<html class="no js" lang="en US" [9:18:10 PM]<! <![endif] [9:18:10 PM]<head [9:18:10 PM]<title Access denied discord.com used Cloudflare to restrict access discord.com Cloudflare</title [9:18:10 PM]<meta charset="UTF 8" / [9:18:10 PM]<meta http equiv="Content Type" content="text/html; charset=UTF 8" / [9:18:10 PM]<meta http equiv="X UA Compatible" content="IE=Edge" / [9:18:10 PM]<meta name="robots" content="noindex, nofollow" / [9:18:10 PM]<meta name="viewport" content="width=device width,initial scale=1" / [9:18:10 PM]<link rel="stylesheet" id="cf styles css" href="/cdn cgi/styles/main.css" / <script 9:18:10 PM{if(document.addEventListener&&window.XMLHttpRequest&&JSON&&JSON.stringify){var e=function(a){var c=document.getElementById("error feedback survey"),d=document.getElementById("error feedback success"),b=new XMLHttpRequest;a={event:"feedback clicked",properties:{errorCode: 1015 },helpful:a,version: 1 };b.open("POST","https://sparrow.cloudflare.com/api/v1/event");b.setRequestHeader("Content Type","application/json");b.setRequestHeader("Sparrow Source Key","c771f0e4b54944bebf4261d44bd79a1e"); [9:18:10 PM]b.send(JSON.stringify(a));c.classList.add("feedback hidden");d.classList.remove("feedback hidden")};document.addEventListener("DOMContentLoaded",function(){var a=document.getElementById("error feedback"),c=document.getElementById("feedback button yes"),d=document.getElementById("feedback button no");"classList"in a&&(a.classList.remove("feedback hidden"),c.addEventListener("click",function(){e(!0)}),d.addEventListener("click",function(){e(!1)}))})}})(); [9:18:10 PM]</script [9:18:10 PM]<script [9:18:10 PM]defer [9:18:10 PM]src="https://performance.radar.cloudflare.com/beacon.js" [9:18:10 PM] </script [9:18:10 PM]</head [9:18:10 PM]<body [9:18:10 PM]<div id="cf wrapper" [9:18:10 PM]<div [9:18:10 PM]class="cf alert cf alert error cf cookie error hidden" [9:18:10 PM]id="cookie alert" [9:18:10 PM]data translate="enable cookies" [9:18:10 PM] [9:18:10 PM]Please enable cookies. [9:18:10 PM]</div [9:18:10 PM]<div id="cf error details" class="p 0" [9:18:10 PM]<header [9:18:10 PM]class="mx auto pt 10 lg:pt 6 lg:px 8 w 240 lg:w full mb 15 antialiased" [9:18:10 PM] [9:18:10 PM]<h1 [9:18:10 PM]class="inline block md:block mr 2 md:mb 2 font light text 60 md:text 3xl text black dark leading tight" [9:18:10 PM] [9:18:10 PM]<span data translate="error" Error</span [9:18:10 PM]<span 1015</span [9:18:10 PM]</h1 [9:18:10 PM]<span [9:18:10 PM]class="inline block md:block heading ray id font mono text 15 lg:text sm lg:leading relaxed" [9:18:10 PM] Ray ID: a23580d47a50e4b9 •</span [9:18:10 PM] [9:18:11 PM]<span [9:18:11 PM]class="inline block md:block heading ray id font mono text 15 lg:text sm lg:leading relaxed" [9:18:11 PM] 2026 07 30 15:47:40 UTC</span [9:18:11 PM] [9:18:11 PM]<h2 [9:18:11 PM]class="text gray 600 leading 1.3 text 3xl lg:text 2xl font light" [9:18:11 PM] [9:18:11 PM]You are being rate limited [9:18:11 PM]</h2 [9:18:11 PM]</header [9:18:11 PM] [9:18:11 PM] [9:18:11 PM]<section class="w 240 lg:w full mx auto mb 8 lg:px 8" [9:18:11 PM]<div id="what happened section" class="w 1/2 md:w full" [9:18:11 PM]<h2 [9:18:11 PM]class="text 3xl leading tight font normal mb 4 text black dark antialiased" [9:18:11 PM]data translate="what happened" [9:18:11 PM] [9:18:11 PM]What happened? [9:18:11 PM]</h2 [9:18:11 PM] [9:18:11 PM]<p The owner of this website (discord.com) has banned you temporarily from accessing this website.</p [9:18:11 PM] [9:18:11 PM] [9:18:11 PM]<p [9:18:11 PM]Please see [9:18:11 PM]<a [9:18:11 PM]rel="noopener noreferrer" [9:18:11 PM]href="https://developers.cloudflare.com/support/troubleshooting/http status codes/cloudflare 1xxx errors/error 1015/" [9:18:11 PM]target=" blank" [9:18:11 PM] https://developers.cloudflare.com/support/troubleshooting/http status codes/cloudflare 1xxx errors/error 1015/</a [9:18:11 PM] [9:18:11 PM]for more details. [9:18:11 PM]</p [9:18:11 PM] [9:18:11 PM]</div [9:18:11 PM] [9:18:11 PM]</section [9:18:11 PM] [9:18:11 PM]<div class="feedback hidden py 8 text center" id="error feedback" [9:18:11 PM]<div id="error feedback survey" class="footer line wrapper" [9:18:11 PM]Was this page helpful? [9:18:11 PM]<button [9:18:11 PM]class="border border solid bg white cf button cursor pointer ml 4 px 4 py 2 rounded" [9:18:11 PM]id="feedback button yes" [9:18:11 PM]type="button" [9:18:11 PM] [9:18:11 PM]Yes [9:18:11 PM]</button [9:18:11 PM]<button [9:18:11 PM]class="border border solid bg white cf button cursor pointer ml 4 px 4 py 2 rounded" [9:18:11 PM]id="feedback button no" [9:18:11 PM]type="button" [9:18:11 PM] [9:18:11 PM]No [9:18:11 PM]</button [9:18:11 PM]</div [9:18:11 PM]<div class="feedback success feedback hidden" id="error feedback success" [9:18:11 PM]Thank you for your feedback! [9:18:11 PM]</div [9:18:11 PM]</div <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" [9:18:11 PM]<p class="text 13" [9:18:11 PM]<span class="cf footer item sm:block sm:mb 1" Cloudflare Ray ID: <strong class="font semibold" a23580d47a50e4b9</strong </span [9:18:11 PM]<span class="cf footer separator sm:hidden" •</span [9:18:11 PM]<span id="cf footer item ip" class="cf footer item hidden sm:block sm:mb 1" [9:18:11 PM]Your IP: [9:18:11 PM]<button type="button" id="cf footer ip reveal" class="cf footer ip reveal btn" Click to reveal</button [9:18:11 PM]<span class="hidden" id="cf footer ip" 78.154.103.37</span [9:18:11 PM]<span class="cf footer separator sm:hidden" •</span [9:18:11 PM]</span [9:18:11 PM]<span class="cf footer item sm:block sm:mb 1" <span Performance & security by</span <a rel="noopener noreferrer" href="https://www.cloudflare.com/5xx error landing" id="brand link" target=" blank" Cloudflare</a </span [9:18:11 PM] [9:18:11 PM]</p [9:18:11 PM]<script (function(){function d(){var b=a.getElementById("cf footer item ip"),c=a.getElementById("cf footer ip reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf footer ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script [9:18:11 PM]</div <! /.error footer [9:18:11 PM…