mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
fix uptime
This commit is contained in:
parent
debdc18143
commit
026f492579
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue