fix uptime

This commit is contained in:
nex 2023-01-19 13:33:52 +00:00
parent debdc18143
commit 026f492579

View file

@ -143,7 +143,7 @@ class UptimeCompetition(commands.Cog):
# If we aren't online, this isn't very fair.
try:
await self.http.get("https://google.co.uk/")
except httpx.ConnectError:
except (httpx.HTTPError, Exception):
return # Offline :pensive:
create_tasks = []